diff --git a/src/SEQ3.cpp b/src/SEQ3.cpp index ce7187e..033ad80 100644 --- a/src/SEQ3.cpp +++ b/src/SEQ3.cpp @@ -223,12 +223,12 @@ SEQ3Widget::SEQ3Widget() { addChild(createScrew(Vec(15, 365))); addChild(createScrew(Vec(box.size.x-30, 365))); - addParam(createParam(Vec(18, 56), module, SEQ3::CLOCK_PARAM, -2.0, 6.0, 2.0)); + addParam(createParam(Vec(18, 56), module, SEQ3::CLOCK_PARAM, -2.0, 6.0, 2.0)); addParam(createParam(Vec(60, 61-1), module, SEQ3::RUN_PARAM, 0.0, 1.0, 0.0)); addChild(createValueLight>(Vec(65, 65), &module->runningLight)); addParam(createParam(Vec(99, 61-1), module, SEQ3::RESET_PARAM, 0.0, 1.0, 0.0)); addChild(createValueLight>(Vec(104, 65), &module->resetLight)); - addParam(createParam(Vec(132, 56), module, SEQ3::STEPS_PARAM, 1.0, 8.0, 8.0)); + addParam(createParam(Vec(132, 56), module, SEQ3::STEPS_PARAM, 1.0, 8.0, 8.0)); addChild(createValueLight>(Vec(180, 65), &module->gatesLight)); addChild(createValueLight>(Vec(219, 65), &module->rowLights[0])); addChild(createValueLight>(Vec(257, 65), &module->rowLights[1])); @@ -245,9 +245,9 @@ SEQ3Widget::SEQ3Widget() { addOutput(createOutput(Vec(portX[7]-1, 98), module, SEQ3::ROW3_OUTPUT)); for (int i = 0; i < 8; i++) { - addParam(createParam(Vec(portX[i]-2, 157), module, SEQ3::ROW1_PARAM + i, 0.0, 6.0, 0.0)); - addParam(createParam(Vec(portX[i]-2, 198), module, SEQ3::ROW2_PARAM + i, 0.0, 6.0, 0.0)); - addParam(createParam(Vec(portX[i]-2, 240), module, SEQ3::ROW3_PARAM + i, 0.0, 6.0, 0.0)); + addParam(createParam(Vec(portX[i]-2, 157), module, SEQ3::ROW1_PARAM + i, 0.0, 6.0, 0.0)); + addParam(createParam(Vec(portX[i]-2, 198), module, SEQ3::ROW2_PARAM + i, 0.0, 6.0, 0.0)); + addParam(createParam(Vec(portX[i]-2, 240), module, SEQ3::ROW3_PARAM + i, 0.0, 6.0, 0.0)); addParam(createParam(Vec(portX[i]+2, 278-1), module, SEQ3::GATE_PARAM + i, 0.0, 1.0, 0.0)); addChild(createValueLight>(Vec(portX[i]+7, 282), &module->gateLights[i])); addOutput(createOutput(Vec(portX[i]-1, 307), module, SEQ3::GATE_OUTPUT + i)); diff --git a/src/Scope.cpp b/src/Scope.cpp index f04aff6..f21c470 100644 --- a/src/Scope.cpp +++ b/src/Scope.cpp @@ -319,13 +319,13 @@ ScopeWidget::ScopeWidget() { addChild(display); } - addParam(createParam(Vec(15, 209), module, Scope::X_SCALE_PARAM, -2.0, 8.0, 0.0)); - addParam(createParam(Vec(15, 263), module, Scope::X_POS_PARAM, -10.0, 10.0, 0.0)); - addParam(createParam(Vec(61, 209), module, Scope::Y_SCALE_PARAM, -2.0, 8.0, 0.0)); - addParam(createParam(Vec(61, 263), module, Scope::Y_POS_PARAM, -10.0, 10.0, 0.0)); - addParam(createParam(Vec(107, 209), module, Scope::TIME_PARAM, -6.0, -16.0, -14.0)); + addParam(createParam(Vec(15, 209), module, Scope::X_SCALE_PARAM, -2.0, 8.0, 0.0)); + addParam(createParam(Vec(15, 263), module, Scope::X_POS_PARAM, -10.0, 10.0, 0.0)); + addParam(createParam(Vec(61, 209), module, Scope::Y_SCALE_PARAM, -2.0, 8.0, 0.0)); + addParam(createParam(Vec(61, 263), module, Scope::Y_POS_PARAM, -10.0, 10.0, 0.0)); + addParam(createParam(Vec(107, 209), module, Scope::TIME_PARAM, -6.0, -16.0, -14.0)); addParam(createParam(Vec(106, 262), module, Scope::LISSAJOUS_PARAM, 0.0, 1.0, 0.0)); - addParam(createParam(Vec(153, 209), module, Scope::TRIG_PARAM, -10.0, 10.0, 0.0)); + addParam(createParam(Vec(153, 209), module, Scope::TRIG_PARAM, -10.0, 10.0, 0.0)); addParam(createParam(Vec(152, 262), module, Scope::EXTERNAL_PARAM, 0.0, 1.0, 0.0)); addInput(createInput(Vec(17, 319), module, Scope::X_INPUT));