diff --git a/src/8vert.cpp b/src/8vert.cpp index 68beb81..3b1e94f 100644 --- a/src/8vert.cpp +++ b/src/8vert.cpp @@ -43,14 +43,14 @@ _8vertWidget::_8vertWidget(_8vert *module) : ModuleWidget(module) { addChild(Widget::create(Vec(15, 365))); addChild(Widget::create(Vec(box.size.x - 30, 365))); - addParam(ParamWidget::create(Vec(45.308, 47.753), module, 0, -1.0f, 1.0f, 0.0f)); - addParam(ParamWidget::create(Vec(45.308, 86.198), module, 1, -1.0f, 1.0f, 0.0f)); - addParam(ParamWidget::create(Vec(45.308, 124.639), module, 2, -1.0f, 1.0f, 0.0f)); - addParam(ParamWidget::create(Vec(45.308, 163.084), module, 3, -1.0f, 1.0f, 0.0f)); - addParam(ParamWidget::create(Vec(45.308, 201.529), module, 4, -1.0f, 1.0f, 0.0f)); - addParam(ParamWidget::create(Vec(45.308, 239.974), module, 5, -1.0f, 1.0f, 0.0f)); - addParam(ParamWidget::create(Vec(45.308, 278.415), module, 6, -1.0f, 1.0f, 0.0f)); - addParam(ParamWidget::create(Vec(45.308, 316.86), module, 7, -1.0f, 1.0f, 0.0f)); + addParam(ParamWidget::create(Vec(45.308, 47.753), module, 0, -1.0f, 1.0f, 0.0f)); + addParam(ParamWidget::create(Vec(45.308, 86.198), module, 1, -1.0f, 1.0f, 0.0f)); + addParam(ParamWidget::create(Vec(45.308, 124.639), module, 2, -1.0f, 1.0f, 0.0f)); + addParam(ParamWidget::create(Vec(45.308, 163.084), module, 3, -1.0f, 1.0f, 0.0f)); + addParam(ParamWidget::create(Vec(45.308, 201.529), module, 4, -1.0f, 1.0f, 0.0f)); + addParam(ParamWidget::create(Vec(45.308, 239.974), module, 5, -1.0f, 1.0f, 0.0f)); + addParam(ParamWidget::create(Vec(45.308, 278.415), module, 6, -1.0f, 1.0f, 0.0f)); + addParam(ParamWidget::create(Vec(45.308, 316.86), module, 7, -1.0f, 1.0f, 0.0f)); addInput(Port::create(Vec(9.507, 50.397), Port::INPUT, module, 0)); addInput(Port::create(Vec(9.507, 88.842), Port::INPUT, module, 1)); diff --git a/src/ADSR.cpp b/src/ADSR.cpp index 4508721..8403e44 100644 --- a/src/ADSR.cpp +++ b/src/ADSR.cpp @@ -114,10 +114,10 @@ ADSRWidget::ADSRWidget(ADSR *module) : ModuleWidget(module) { addChild(Widget::create(Vec(15, 365))); addChild(Widget::create(Vec(box.size.x-30, 365))); - addParam(ParamWidget::create(Vec(62, 57), module, ADSR::ATTACK_PARAM, 0.0f, 1.0f, 0.5f)); - addParam(ParamWidget::create(Vec(62, 124), module, ADSR::DECAY_PARAM, 0.0f, 1.0f, 0.5f)); - addParam(ParamWidget::create(Vec(62, 191), module, ADSR::SUSTAIN_PARAM, 0.0f, 1.0f, 0.5f)); - addParam(ParamWidget::create(Vec(62, 257), module, ADSR::RELEASE_PARAM, 0.0f, 1.0f, 0.5f)); + addParam(ParamWidget::create(Vec(62, 57), module, ADSR::ATTACK_PARAM, 0.0f, 1.0f, 0.5f)); + addParam(ParamWidget::create(Vec(62, 124), module, ADSR::DECAY_PARAM, 0.0f, 1.0f, 0.5f)); + addParam(ParamWidget::create(Vec(62, 191), module, ADSR::SUSTAIN_PARAM, 0.0f, 1.0f, 0.5f)); + addParam(ParamWidget::create(Vec(62, 257), module, ADSR::RELEASE_PARAM, 0.0f, 1.0f, 0.5f)); addInput(Port::create(Vec(9, 63), Port::INPUT, module, ADSR::ATTACK_INPUT)); addInput(Port::create(Vec(9, 129), Port::INPUT, module, ADSR::DECAY_INPUT)); diff --git a/src/Delay.cpp b/src/Delay.cpp index 89a81bf..0d97e32 100644 --- a/src/Delay.cpp +++ b/src/Delay.cpp @@ -119,10 +119,10 @@ DelayWidget::DelayWidget(Delay *module) : ModuleWidget(module) { addChild(Widget::create(Vec(15, 365))); addChild(Widget::create(Vec(box.size.x-30, 365))); - addParam(ParamWidget::create(Vec(67, 57), module, Delay::TIME_PARAM, 0.0f, 1.0f, 0.5f)); - addParam(ParamWidget::create(Vec(67, 123), module, Delay::FEEDBACK_PARAM, 0.0f, 1.0f, 0.5f)); - addParam(ParamWidget::create(Vec(67, 190), module, Delay::COLOR_PARAM, 0.0f, 1.0f, 0.5f)); - addParam(ParamWidget::create(Vec(67, 257), module, Delay::MIX_PARAM, 0.0f, 1.0f, 0.5f)); + addParam(ParamWidget::create(Vec(67, 57), module, Delay::TIME_PARAM, 0.0f, 1.0f, 0.5f)); + addParam(ParamWidget::create(Vec(67, 123), module, Delay::FEEDBACK_PARAM, 0.0f, 1.0f, 0.5f)); + addParam(ParamWidget::create(Vec(67, 190), module, Delay::COLOR_PARAM, 0.0f, 1.0f, 0.5f)); + addParam(ParamWidget::create(Vec(67, 257), module, Delay::MIX_PARAM, 0.0f, 1.0f, 0.5f)); addInput(Port::create(Vec(14, 63), Port::INPUT, module, Delay::TIME_INPUT)); addInput(Port::create(Vec(14, 129), Port::INPUT, module, Delay::FEEDBACK_INPUT)); diff --git a/src/LFO.cpp b/src/LFO.cpp index b15d233..771b568 100644 --- a/src/LFO.cpp +++ b/src/LFO.cpp @@ -136,10 +136,10 @@ LFOWidget::LFOWidget(LFO *module) : ModuleWidget(module) { addParam(ParamWidget::create(Vec(119, 77), module, LFO::INVERT_PARAM, 0.0f, 1.0f, 1.0f)); addParam(ParamWidget::create(Vec(47, 61), module, LFO::FREQ_PARAM, -8.0f, 6.0f, -1.0f)); - addParam(ParamWidget::create(Vec(23, 143), module, LFO::FM1_PARAM, 0.0f, 1.0f, 0.0f)); - addParam(ParamWidget::create(Vec(91, 143), module, LFO::PW_PARAM, 0.0f, 1.0f, 0.5f)); - addParam(ParamWidget::create(Vec(23, 208), module, LFO::FM2_PARAM, 0.0f, 1.0f, 0.0f)); - addParam(ParamWidget::create(Vec(91, 208), module, LFO::PWM_PARAM, 0.0f, 1.0f, 0.0f)); + addParam(ParamWidget::create(Vec(23, 143), module, LFO::FM1_PARAM, 0.0f, 1.0f, 0.0f)); + addParam(ParamWidget::create(Vec(91, 143), module, LFO::PW_PARAM, 0.0f, 1.0f, 0.5f)); + addParam(ParamWidget::create(Vec(23, 208), module, LFO::FM2_PARAM, 0.0f, 1.0f, 0.0f)); + addParam(ParamWidget::create(Vec(91, 208), module, LFO::PWM_PARAM, 0.0f, 1.0f, 0.0f)); addInput(Port::create(Vec(11, 276), Port::INPUT, module, LFO::FM1_INPUT)); addInput(Port::create(Vec(45, 276), Port::INPUT, module, LFO::FM2_INPUT)); @@ -229,8 +229,8 @@ LFO2Widget::LFO2Widget(LFO2 *module) : ModuleWidget(module) { addParam(ParamWidget::create(Vec(62, 215), module, LFO2::INVERT_PARAM, 0.0f, 1.0f, 1.0f)); addParam(ParamWidget::create(Vec(18, 60), module, LFO2::FREQ_PARAM, -8.0f, 6.0f, -1.0f)); - addParam(ParamWidget::create(Vec(11, 142), module, LFO2::WAVE_PARAM, 0.0f, 3.0f, 1.5f)); - addParam(ParamWidget::create(Vec(11, 207), module, LFO2::FM_PARAM, 0.0f, 1.0f, 0.5f)); + addParam(ParamWidget::create(Vec(11, 142), module, LFO2::WAVE_PARAM, 0.0f, 3.0f, 1.5f)); + addParam(ParamWidget::create(Vec(11, 207), module, LFO2::FM_PARAM, 0.0f, 1.0f, 0.5f)); addInput(Port::create(Vec(11, 276), Port::INPUT, module, LFO2::FM_INPUT)); addInput(Port::create(Vec(54, 276), Port::INPUT, module, LFO2::RESET_INPUT)); diff --git a/src/SEQ3.cpp b/src/SEQ3.cpp index 051aee9..31b2576 100644 --- a/src/SEQ3.cpp +++ b/src/SEQ3.cpp @@ -169,12 +169,12 @@ struct SEQ3Widget : ModuleWidget { addChild(Widget::create(Vec(15, 365))); addChild(Widget::create(Vec(box.size.x-30, 365))); - addParam(ParamWidget::create(Vec(18, 56), module, SEQ3::CLOCK_PARAM, -2.0f, 6.0f, 2.0f)); + addParam(ParamWidget::create(Vec(18, 56), module, SEQ3::CLOCK_PARAM, -2.0f, 6.0f, 2.0f)); addParam(ParamWidget::create(Vec(60, 61-1), module, SEQ3::RUN_PARAM, 0.0f, 1.0f, 0.0f)); addChild(ModuleLightWidget::create>(Vec(64.4f, 64.4f), module, SEQ3::RUNNING_LIGHT)); addParam(ParamWidget::create(Vec(99, 61-1), module, SEQ3::RESET_PARAM, 0.0f, 1.0f, 0.0f)); addChild(ModuleLightWidget::create>(Vec(103.4f, 64.4f), module, SEQ3::RESET_LIGHT)); - addParam(ParamWidget::create(Vec(132, 56), module, SEQ3::STEPS_PARAM, 1.0f, 8.0f, 8.0f)); + addParam(ParamWidget::create(Vec(132, 56), module, SEQ3::STEPS_PARAM, 1.0f, 8.0f, 8.0f)); addChild(ModuleLightWidget::create>(Vec(179.4f, 64.4f), module, SEQ3::GATES_LIGHT)); addChild(ModuleLightWidget::create>(Vec(218.4f, 64.4f), module, SEQ3::ROW_LIGHTS)); addChild(ModuleLightWidget::create>(Vec(256.4f, 64.4f), module, SEQ3::ROW_LIGHTS + 1)); @@ -191,9 +191,9 @@ struct SEQ3Widget : ModuleWidget { addOutput(Port::create(Vec(portX[7]-1, 98), Port::OUTPUT, module, SEQ3::ROW3_OUTPUT)); for (int i = 0; i < 8; i++) { - addParam(ParamWidget::create(Vec(portX[i]-2, 157), module, SEQ3::ROW1_PARAM + i, 0.0f, 10.0f, 0.0f)); - addParam(ParamWidget::create(Vec(portX[i]-2, 198), module, SEQ3::ROW2_PARAM + i, 0.0f, 10.0f, 0.0f)); - addParam(ParamWidget::create(Vec(portX[i]-2, 240), module, SEQ3::ROW3_PARAM + i, 0.0f, 10.0f, 0.0f)); + addParam(ParamWidget::create(Vec(portX[i]-2, 157), module, SEQ3::ROW1_PARAM + i, 0.0f, 10.0f, 0.0f)); + addParam(ParamWidget::create(Vec(portX[i]-2, 198), module, SEQ3::ROW2_PARAM + i, 0.0f, 10.0f, 0.0f)); + addParam(ParamWidget::create(Vec(portX[i]-2, 240), module, SEQ3::ROW3_PARAM + i, 0.0f, 10.0f, 0.0f)); addParam(ParamWidget::create(Vec(portX[i]+2, 278-1), module, SEQ3::GATE_PARAM + i, 0.0f, 1.0f, 0.0f)); addChild(ModuleLightWidget::create>(Vec(portX[i]+6.4f, 281.4f), module, SEQ3::GATE_LIGHTS + i)); addOutput(Port::create(Vec(portX[i]-1, 307), Port::OUTPUT, module, SEQ3::GATE_OUTPUT + i)); diff --git a/src/Scope.cpp b/src/Scope.cpp index d6d5163..3bbfb05 100644 --- a/src/Scope.cpp +++ b/src/Scope.cpp @@ -319,13 +319,13 @@ ScopeWidget::ScopeWidget(Scope *module) : ModuleWidget(module) { addChild(display); } - addParam(ParamWidget::create(Vec(15, 209), module, Scope::X_SCALE_PARAM, -2.0f, 8.0f, 0.0f)); - addParam(ParamWidget::create(Vec(15, 263), module, Scope::X_POS_PARAM, -10.0f, 10.0f, 0.0f)); - addParam(ParamWidget::create(Vec(61, 209), module, Scope::Y_SCALE_PARAM, -2.0f, 8.0f, 0.0f)); - addParam(ParamWidget::create(Vec(61, 263), module, Scope::Y_POS_PARAM, -10.0f, 10.0f, 0.0f)); - addParam(ParamWidget::create(Vec(107, 209), module, Scope::TIME_PARAM, -6.0f, -16.0f, -14.0f)); + addParam(ParamWidget::create(Vec(15, 209), module, Scope::X_SCALE_PARAM, -2.0f, 8.0f, 0.0f)); + addParam(ParamWidget::create(Vec(15, 263), module, Scope::X_POS_PARAM, -10.0f, 10.0f, 0.0f)); + addParam(ParamWidget::create(Vec(61, 209), module, Scope::Y_SCALE_PARAM, -2.0f, 8.0f, 0.0f)); + addParam(ParamWidget::create(Vec(61, 263), module, Scope::Y_POS_PARAM, -10.0f, 10.0f, 0.0f)); + addParam(ParamWidget::create(Vec(107, 209), module, Scope::TIME_PARAM, -6.0f, -16.0f, -14.0f)); addParam(ParamWidget::create(Vec(106, 262), module, Scope::LISSAJOUS_PARAM, 0.0f, 1.0f, 0.0f)); - addParam(ParamWidget::create(Vec(153, 209), module, Scope::TRIG_PARAM, -10.0f, 10.0f, 0.0f)); + addParam(ParamWidget::create(Vec(153, 209), module, Scope::TRIG_PARAM, -10.0f, 10.0f, 0.0f)); addParam(ParamWidget::create(Vec(152, 262), module, Scope::EXTERNAL_PARAM, 0.0f, 1.0f, 0.0f)); addInput(Port::create(Vec(17, 319), Port::INPUT, module, Scope::X_INPUT)); diff --git a/src/VCA.cpp b/src/VCA.cpp index 7eeca7a..dfa4648 100644 --- a/src/VCA.cpp +++ b/src/VCA.cpp @@ -55,8 +55,8 @@ VCAWidget::VCAWidget(VCA *module) : ModuleWidget(module) { addChild(Widget::create(Vec(15, 365))); addChild(Widget::create(Vec(box.size.x-30, 365))); - addParam(ParamWidget::create(Vec(27, 57), module, VCA::LEVEL1_PARAM, 0.0f, 1.0f, 0.5f)); - addParam(ParamWidget::create(Vec(27, 222), module, VCA::LEVEL2_PARAM, 0.0f, 1.0f, 0.5f)); + addParam(ParamWidget::create(Vec(27, 57), module, VCA::LEVEL1_PARAM, 0.0f, 1.0f, 0.5f)); + addParam(ParamWidget::create(Vec(27, 222), module, VCA::LEVEL2_PARAM, 0.0f, 1.0f, 0.5f)); addInput(Port::create(Vec(11, 113), Port::INPUT, module, VCA::EXP1_INPUT)); addInput(Port::create(Vec(54, 113), Port::INPUT, module, VCA::LIN1_INPUT)); diff --git a/src/VCF.cpp b/src/VCF.cpp index 59170ba..195d8b4 100644 --- a/src/VCF.cpp +++ b/src/VCF.cpp @@ -157,10 +157,10 @@ VCFWidget::VCFWidget(VCF *module) : ModuleWidget(module) { addChild(Widget::create(Vec(box.size.x-30, 365))); addParam(ParamWidget::create(Vec(33, 61), module, VCF::FREQ_PARAM, 0.0f, 1.0f, 0.5f)); - addParam(ParamWidget::create(Vec(12, 143), module, VCF::FINE_PARAM, 0.0f, 1.0f, 0.5f)); - addParam(ParamWidget::create(Vec(71, 143), module, VCF::RES_PARAM, 0.0f, 1.0f, 0.0f)); - addParam(ParamWidget::create(Vec(12, 208), module, VCF::FREQ_CV_PARAM, -1.0f, 1.0f, 0.0f)); - addParam(ParamWidget::create(Vec(71, 208), module, VCF::DRIVE_PARAM, 0.0f, 1.0f, 0.0f)); + addParam(ParamWidget::create(Vec(12, 143), module, VCF::FINE_PARAM, 0.0f, 1.0f, 0.5f)); + addParam(ParamWidget::create(Vec(71, 143), module, VCF::RES_PARAM, 0.0f, 1.0f, 0.0f)); + addParam(ParamWidget::create(Vec(12, 208), module, VCF::FREQ_CV_PARAM, -1.0f, 1.0f, 0.0f)); + addParam(ParamWidget::create(Vec(71, 208), module, VCF::DRIVE_PARAM, 0.0f, 1.0f, 0.0f)); addInput(Port::create(Vec(10, 276), Port::INPUT, module, VCF::FREQ_INPUT)); addInput(Port::create(Vec(48, 276), Port::INPUT, module, VCF::RES_INPUT)); diff --git a/src/VCO.cpp b/src/VCO.cpp index 93a9bf3..692134a 100644 --- a/src/VCO.cpp +++ b/src/VCO.cpp @@ -246,10 +246,10 @@ VCOWidget::VCOWidget(VCO *module) : ModuleWidget(module) { addParam(ParamWidget::create(Vec(119, 77), module, VCO::SYNC_PARAM, 0.0f, 1.0f, 1.0f)); addParam(ParamWidget::create(Vec(47, 61), module, VCO::FREQ_PARAM, -54.0f, 54.0f, 0.0f)); - addParam(ParamWidget::create(Vec(23, 143), module, VCO::FINE_PARAM, -1.0f, 1.0f, 0.0f)); - addParam(ParamWidget::create(Vec(91, 143), module, VCO::PW_PARAM, 0.0f, 1.0f, 0.5f)); - addParam(ParamWidget::create(Vec(23, 208), module, VCO::FM_PARAM, 0.0f, 1.0f, 0.0f)); - addParam(ParamWidget::create(Vec(91, 208), module, VCO::PWM_PARAM, 0.0f, 1.0f, 0.0f)); + addParam(ParamWidget::create(Vec(23, 143), module, VCO::FINE_PARAM, -1.0f, 1.0f, 0.0f)); + addParam(ParamWidget::create(Vec(91, 143), module, VCO::PW_PARAM, 0.0f, 1.0f, 0.5f)); + addParam(ParamWidget::create(Vec(23, 208), module, VCO::FM_PARAM, 0.0f, 1.0f, 0.0f)); + addParam(ParamWidget::create(Vec(91, 208), module, VCO::PWM_PARAM, 0.0f, 1.0f, 0.0f)); addInput(Port::create(Vec(11, 276), Port::INPUT, module, VCO::PITCH_INPUT)); addInput(Port::create(Vec(45, 276), Port::INPUT, module, VCO::FM_INPUT)); @@ -342,8 +342,8 @@ VCO2Widget::VCO2Widget(VCO2 *module) : ModuleWidget(module) { addParam(ParamWidget::create(Vec(62, 215), module, VCO2::SYNC_PARAM, 0.0f, 1.0f, 1.0f)); addParam(ParamWidget::create(Vec(17, 60), module, VCO2::FREQ_PARAM, -54.0f, 54.0f, 0.0f)); - addParam(ParamWidget::create(Vec(12, 143), module, VCO2::WAVE_PARAM, 0.0f, 3.0f, 1.5f)); - addParam(ParamWidget::create(Vec(12, 208), module, VCO2::FM_PARAM, 0.0f, 1.0f, 0.0f)); + addParam(ParamWidget::create(Vec(12, 143), module, VCO2::WAVE_PARAM, 0.0f, 3.0f, 1.5f)); + addParam(ParamWidget::create(Vec(12, 208), module, VCO2::FM_PARAM, 0.0f, 1.0f, 0.0f)); addInput(Port::create(Vec(11, 276), Port::INPUT, module, VCO2::FM_INPUT)); addInput(Port::create(Vec(54, 276), Port::INPUT, module, VCO2::SYNC_INPUT));