|
@@ -223,12 +223,12 @@ SEQ3Widget::SEQ3Widget() { |
|
|
addChild(createScrew<ScrewSilver>(Vec(15, 365))); |
|
|
addChild(createScrew<ScrewSilver>(Vec(15, 365))); |
|
|
addChild(createScrew<ScrewSilver>(Vec(box.size.x-30, 365))); |
|
|
addChild(createScrew<ScrewSilver>(Vec(box.size.x-30, 365))); |
|
|
|
|
|
|
|
|
addParam(createParam<Davies1900hSmallBlackKnob>(Vec(18, 56), module, SEQ3::CLOCK_PARAM, -2.0, 6.0, 2.0)); |
|
|
|
|
|
|
|
|
addParam(createParam<RoundSmallBlackKnob>(Vec(18, 56), module, SEQ3::CLOCK_PARAM, -2.0, 6.0, 2.0)); |
|
|
addParam(createParam<LEDButton>(Vec(60, 61-1), module, SEQ3::RUN_PARAM, 0.0, 1.0, 0.0)); |
|
|
addParam(createParam<LEDButton>(Vec(60, 61-1), module, SEQ3::RUN_PARAM, 0.0, 1.0, 0.0)); |
|
|
addChild(createValueLight<SmallLight<GreenValueLight>>(Vec(65, 65), &module->runningLight)); |
|
|
addChild(createValueLight<SmallLight<GreenValueLight>>(Vec(65, 65), &module->runningLight)); |
|
|
addParam(createParam<LEDButton>(Vec(99, 61-1), module, SEQ3::RESET_PARAM, 0.0, 1.0, 0.0)); |
|
|
addParam(createParam<LEDButton>(Vec(99, 61-1), module, SEQ3::RESET_PARAM, 0.0, 1.0, 0.0)); |
|
|
addChild(createValueLight<SmallLight<GreenValueLight>>(Vec(104, 65), &module->resetLight)); |
|
|
addChild(createValueLight<SmallLight<GreenValueLight>>(Vec(104, 65), &module->resetLight)); |
|
|
addParam(createParam<Davies1900hSmallBlackSnapKnob>(Vec(132, 56), module, SEQ3::STEPS_PARAM, 1.0, 8.0, 8.0)); |
|
|
|
|
|
|
|
|
addParam(createParam<RoundSmallBlackSnapKnob>(Vec(132, 56), module, SEQ3::STEPS_PARAM, 1.0, 8.0, 8.0)); |
|
|
addChild(createValueLight<SmallLight<GreenValueLight>>(Vec(180, 65), &module->gatesLight)); |
|
|
addChild(createValueLight<SmallLight<GreenValueLight>>(Vec(180, 65), &module->gatesLight)); |
|
|
addChild(createValueLight<SmallLight<GreenValueLight>>(Vec(219, 65), &module->rowLights[0])); |
|
|
addChild(createValueLight<SmallLight<GreenValueLight>>(Vec(219, 65), &module->rowLights[0])); |
|
|
addChild(createValueLight<SmallLight<GreenValueLight>>(Vec(257, 65), &module->rowLights[1])); |
|
|
addChild(createValueLight<SmallLight<GreenValueLight>>(Vec(257, 65), &module->rowLights[1])); |
|
@@ -245,9 +245,9 @@ SEQ3Widget::SEQ3Widget() { |
|
|
addOutput(createOutput<PJ301MPort>(Vec(portX[7]-1, 98), module, SEQ3::ROW3_OUTPUT)); |
|
|
addOutput(createOutput<PJ301MPort>(Vec(portX[7]-1, 98), module, SEQ3::ROW3_OUTPUT)); |
|
|
|
|
|
|
|
|
for (int i = 0; i < 8; i++) { |
|
|
for (int i = 0; i < 8; i++) { |
|
|
addParam(createParam<Davies1900hSmallBlackKnob>(Vec(portX[i]-2, 157), module, SEQ3::ROW1_PARAM + i, 0.0, 6.0, 0.0)); |
|
|
|
|
|
addParam(createParam<Davies1900hSmallBlackKnob>(Vec(portX[i]-2, 198), module, SEQ3::ROW2_PARAM + i, 0.0, 6.0, 0.0)); |
|
|
|
|
|
addParam(createParam<Davies1900hSmallBlackKnob>(Vec(portX[i]-2, 240), module, SEQ3::ROW3_PARAM + i, 0.0, 6.0, 0.0)); |
|
|
|
|
|
|
|
|
addParam(createParam<RoundSmallBlackKnob>(Vec(portX[i]-2, 157), module, SEQ3::ROW1_PARAM + i, 0.0, 6.0, 0.0)); |
|
|
|
|
|
addParam(createParam<RoundSmallBlackKnob>(Vec(portX[i]-2, 198), module, SEQ3::ROW2_PARAM + i, 0.0, 6.0, 0.0)); |
|
|
|
|
|
addParam(createParam<RoundSmallBlackKnob>(Vec(portX[i]-2, 240), module, SEQ3::ROW3_PARAM + i, 0.0, 6.0, 0.0)); |
|
|
addParam(createParam<LEDButton>(Vec(portX[i]+2, 278-1), module, SEQ3::GATE_PARAM + i, 0.0, 1.0, 0.0)); |
|
|
addParam(createParam<LEDButton>(Vec(portX[i]+2, 278-1), module, SEQ3::GATE_PARAM + i, 0.0, 1.0, 0.0)); |
|
|
addChild(createValueLight<SmallLight<GreenValueLight>>(Vec(portX[i]+7, 282), &module->gateLights[i])); |
|
|
addChild(createValueLight<SmallLight<GreenValueLight>>(Vec(portX[i]+7, 282), &module->gateLights[i])); |
|
|
addOutput(createOutput<PJ301MPort>(Vec(portX[i]-1, 307), module, SEQ3::GATE_OUTPUT + i)); |
|
|
addOutput(createOutput<PJ301MPort>(Vec(portX[i]-1, 307), module, SEQ3::GATE_OUTPUT + i)); |
|
|