diff --git a/res/ComponentLibrary/PJ301M-dark.svg b/res/ComponentLibrary/PJ301M-dark.svg index a042c300..c403ed90 100644 --- a/res/ComponentLibrary/PJ301M-dark.svg +++ b/res/ComponentLibrary/PJ301M-dark.svg @@ -1,24 +1,9 @@ - + - + id="svg15246" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:svg="http://www.w3.org/2000/svg" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="23.7px" height="23.7px" + viewBox="0 0 23.7 23.7" enable-background="new 0 0 23.7 23.7" xml:space="preserve"> @@ -27,60 +12,61 @@ - + - + - - + + - - + + - + - + - + - - - + + + - - + + - - - - - - + + + + + + - + - + - + - - diff --git a/src/core/Audio.cpp b/src/core/Audio.cpp index 083226db..3e64b7b1 100644 --- a/src/core/Audio.cpp +++ b/src/core/Audio.cpp @@ -460,23 +460,23 @@ struct AudioWidget : ModuleWidget { addChild(createWidget(Vec(RACK_GRID_WIDTH, RACK_GRID_HEIGHT - RACK_GRID_WIDTH))); addChild(createWidget(Vec(box.size.x - 2 * RACK_GRID_WIDTH, RACK_GRID_HEIGHT - RACK_GRID_WIDTH))); - addInput(createInputCentered(mm2px(Vec(7.81, 57.929)), module, TAudio::AUDIO_INPUTS + 0)); - addInput(createInputCentered(mm2px(Vec(19.359, 57.929)), module, TAudio::AUDIO_INPUTS + 1)); - addInput(createInputCentered(mm2px(Vec(30.909, 57.929)), module, TAudio::AUDIO_INPUTS + 2)); - addInput(createInputCentered(mm2px(Vec(42.459, 57.929)), module, TAudio::AUDIO_INPUTS + 3)); - addInput(createInputCentered(mm2px(Vec(7.81, 74.286)), module, TAudio::AUDIO_INPUTS + 4)); - addInput(createInputCentered(mm2px(Vec(19.359, 74.286)), module, TAudio::AUDIO_INPUTS + 5)); - addInput(createInputCentered(mm2px(Vec(30.909, 74.286)), module, TAudio::AUDIO_INPUTS + 6)); - addInput(createInputCentered(mm2px(Vec(42.459, 74.286)), module, TAudio::AUDIO_INPUTS + 7)); - - addOutput(createOutputCentered(mm2px(Vec(7.81, 96.859)), module, TAudio::AUDIO_OUTPUTS + 0)); - addOutput(createOutputCentered(mm2px(Vec(19.359, 96.859)), module, TAudio::AUDIO_OUTPUTS + 1)); - addOutput(createOutputCentered(mm2px(Vec(30.909, 96.859)), module, TAudio::AUDIO_OUTPUTS + 2)); - addOutput(createOutputCentered(mm2px(Vec(42.459, 96.859)), module, TAudio::AUDIO_OUTPUTS + 3)); - addOutput(createOutputCentered(mm2px(Vec(7.81, 113.115)), module, TAudio::AUDIO_OUTPUTS + 4)); - addOutput(createOutputCentered(mm2px(Vec(19.359, 113.115)), module, TAudio::AUDIO_OUTPUTS + 5)); - addOutput(createOutputCentered(mm2px(Vec(30.909, 113.115)), module, TAudio::AUDIO_OUTPUTS + 6)); - addOutput(createOutputCentered(mm2px(Vec(42.459, 113.115)), module, TAudio::AUDIO_OUTPUTS + 7)); + addInput(createInputCentered(mm2px(Vec(7.81, 57.929)), module, TAudio::AUDIO_INPUTS + 0)); + addInput(createInputCentered(mm2px(Vec(19.359, 57.929)), module, TAudio::AUDIO_INPUTS + 1)); + addInput(createInputCentered(mm2px(Vec(30.909, 57.929)), module, TAudio::AUDIO_INPUTS + 2)); + addInput(createInputCentered(mm2px(Vec(42.459, 57.929)), module, TAudio::AUDIO_INPUTS + 3)); + addInput(createInputCentered(mm2px(Vec(7.81, 74.286)), module, TAudio::AUDIO_INPUTS + 4)); + addInput(createInputCentered(mm2px(Vec(19.359, 74.286)), module, TAudio::AUDIO_INPUTS + 5)); + addInput(createInputCentered(mm2px(Vec(30.909, 74.286)), module, TAudio::AUDIO_INPUTS + 6)); + addInput(createInputCentered(mm2px(Vec(42.459, 74.286)), module, TAudio::AUDIO_INPUTS + 7)); + + addOutput(createOutputCentered(mm2px(Vec(7.81, 96.859)), module, TAudio::AUDIO_OUTPUTS + 0)); + addOutput(createOutputCentered(mm2px(Vec(19.359, 96.859)), module, TAudio::AUDIO_OUTPUTS + 1)); + addOutput(createOutputCentered(mm2px(Vec(30.909, 96.859)), module, TAudio::AUDIO_OUTPUTS + 2)); + addOutput(createOutputCentered(mm2px(Vec(42.459, 96.859)), module, TAudio::AUDIO_OUTPUTS + 3)); + addOutput(createOutputCentered(mm2px(Vec(7.81, 113.115)), module, TAudio::AUDIO_OUTPUTS + 4)); + addOutput(createOutputCentered(mm2px(Vec(19.359, 113.115)), module, TAudio::AUDIO_OUTPUTS + 5)); + addOutput(createOutputCentered(mm2px(Vec(30.909, 113.115)), module, TAudio::AUDIO_OUTPUTS + 6)); + addOutput(createOutputCentered(mm2px(Vec(42.459, 113.115)), module, TAudio::AUDIO_OUTPUTS + 7)); addChild(createLightCentered>(mm2px(Vec(13.54, 52.168)), module, TAudio::INPUT_LIGHTS + 2 * 0)); addChild(createLightCentered>(mm2px(Vec(36.774, 52.168)), module, TAudio::INPUT_LIGHTS + 2 * 1)); @@ -501,39 +501,39 @@ struct AudioWidget : ModuleWidget { addChild(createWidget(Vec(RACK_GRID_WIDTH, RACK_GRID_HEIGHT - RACK_GRID_WIDTH))); addChild(createWidget(Vec(box.size.x - 2 * RACK_GRID_WIDTH, RACK_GRID_HEIGHT - RACK_GRID_WIDTH))); - addInput(createInputCentered(mm2px(Vec(7.815, 57.929)), module, TAudio::AUDIO_INPUTS + 0)); - addInput(createInputCentered(mm2px(Vec(19.364, 57.929)), module, TAudio::AUDIO_INPUTS + 1)); - addInput(createInputCentered(mm2px(Vec(30.914, 57.929)), module, TAudio::AUDIO_INPUTS + 2)); - addInput(createInputCentered(mm2px(Vec(42.464, 57.929)), module, TAudio::AUDIO_INPUTS + 3)); - addInput(createInputCentered(mm2px(Vec(54.015, 57.929)), module, TAudio::AUDIO_INPUTS + 4)); - addInput(createInputCentered(mm2px(Vec(65.565, 57.914)), module, TAudio::AUDIO_INPUTS + 5)); - addInput(createInputCentered(mm2px(Vec(77.114, 57.914)), module, TAudio::AUDIO_INPUTS + 6)); - addInput(createInputCentered(mm2px(Vec(88.664, 57.914)), module, TAudio::AUDIO_INPUTS + 7)); - addInput(createInputCentered(mm2px(Vec(7.815, 74.276)), module, TAudio::AUDIO_INPUTS + 8)); - addInput(createInputCentered(mm2px(Vec(19.364, 74.276)), module, TAudio::AUDIO_INPUTS + 9)); - addInput(createInputCentered(mm2px(Vec(30.914, 74.276)), module, TAudio::AUDIO_INPUTS + 10)); - addInput(createInputCentered(mm2px(Vec(42.464, 74.276)), module, TAudio::AUDIO_INPUTS + 11)); - addInput(createInputCentered(mm2px(Vec(54.015, 74.291)), module, TAudio::AUDIO_INPUTS + 12)); - addInput(createInputCentered(mm2px(Vec(65.565, 74.276)), module, TAudio::AUDIO_INPUTS + 13)); - addInput(createInputCentered(mm2px(Vec(77.114, 74.276)), module, TAudio::AUDIO_INPUTS + 14)); - addInput(createInputCentered(mm2px(Vec(88.664, 74.276)), module, TAudio::AUDIO_INPUTS + 15)); - - addOutput(createOutputCentered(mm2px(Vec(7.815, 96.859)), module, TAudio::AUDIO_OUTPUTS + 0)); - addOutput(createOutputCentered(mm2px(Vec(19.364, 96.859)), module, TAudio::AUDIO_OUTPUTS + 1)); - addOutput(createOutputCentered(mm2px(Vec(30.914, 96.859)), module, TAudio::AUDIO_OUTPUTS + 2)); - addOutput(createOutputCentered(mm2px(Vec(42.464, 96.859)), module, TAudio::AUDIO_OUTPUTS + 3)); - addOutput(createOutputCentered(mm2px(Vec(54.015, 96.859)), module, TAudio::AUDIO_OUTPUTS + 4)); - addOutput(createOutputCentered(mm2px(Vec(65.565, 96.859)), module, TAudio::AUDIO_OUTPUTS + 5)); - addOutput(createOutputCentered(mm2px(Vec(77.114, 96.859)), module, TAudio::AUDIO_OUTPUTS + 6)); - addOutput(createOutputCentered(mm2px(Vec(88.664, 96.859)), module, TAudio::AUDIO_OUTPUTS + 7)); - addOutput(createOutputCentered(mm2px(Vec(7.815, 113.115)), module, TAudio::AUDIO_OUTPUTS + 8)); - addOutput(createOutputCentered(mm2px(Vec(19.364, 113.115)), module, TAudio::AUDIO_OUTPUTS + 9)); - addOutput(createOutputCentered(mm2px(Vec(30.914, 113.115)), module, TAudio::AUDIO_OUTPUTS + 10)); - addOutput(createOutputCentered(mm2px(Vec(42.464, 113.115)), module, TAudio::AUDIO_OUTPUTS + 11)); - addOutput(createOutputCentered(mm2px(Vec(54.015, 113.115)), module, TAudio::AUDIO_OUTPUTS + 12)); - addOutput(createOutputCentered(mm2px(Vec(65.565, 113.115)), module, TAudio::AUDIO_OUTPUTS + 13)); - addOutput(createOutputCentered(mm2px(Vec(77.114, 113.115)), module, TAudio::AUDIO_OUTPUTS + 14)); - addOutput(createOutputCentered(mm2px(Vec(88.664, 113.115)), module, TAudio::AUDIO_OUTPUTS + 15)); + addInput(createInputCentered(mm2px(Vec(7.815, 57.929)), module, TAudio::AUDIO_INPUTS + 0)); + addInput(createInputCentered(mm2px(Vec(19.364, 57.929)), module, TAudio::AUDIO_INPUTS + 1)); + addInput(createInputCentered(mm2px(Vec(30.914, 57.929)), module, TAudio::AUDIO_INPUTS + 2)); + addInput(createInputCentered(mm2px(Vec(42.464, 57.929)), module, TAudio::AUDIO_INPUTS + 3)); + addInput(createInputCentered(mm2px(Vec(54.015, 57.929)), module, TAudio::AUDIO_INPUTS + 4)); + addInput(createInputCentered(mm2px(Vec(65.565, 57.914)), module, TAudio::AUDIO_INPUTS + 5)); + addInput(createInputCentered(mm2px(Vec(77.114, 57.914)), module, TAudio::AUDIO_INPUTS + 6)); + addInput(createInputCentered(mm2px(Vec(88.664, 57.914)), module, TAudio::AUDIO_INPUTS + 7)); + addInput(createInputCentered(mm2px(Vec(7.815, 74.276)), module, TAudio::AUDIO_INPUTS + 8)); + addInput(createInputCentered(mm2px(Vec(19.364, 74.276)), module, TAudio::AUDIO_INPUTS + 9)); + addInput(createInputCentered(mm2px(Vec(30.914, 74.276)), module, TAudio::AUDIO_INPUTS + 10)); + addInput(createInputCentered(mm2px(Vec(42.464, 74.276)), module, TAudio::AUDIO_INPUTS + 11)); + addInput(createInputCentered(mm2px(Vec(54.015, 74.291)), module, TAudio::AUDIO_INPUTS + 12)); + addInput(createInputCentered(mm2px(Vec(65.565, 74.276)), module, TAudio::AUDIO_INPUTS + 13)); + addInput(createInputCentered(mm2px(Vec(77.114, 74.276)), module, TAudio::AUDIO_INPUTS + 14)); + addInput(createInputCentered(mm2px(Vec(88.664, 74.276)), module, TAudio::AUDIO_INPUTS + 15)); + + addOutput(createOutputCentered(mm2px(Vec(7.815, 96.859)), module, TAudio::AUDIO_OUTPUTS + 0)); + addOutput(createOutputCentered(mm2px(Vec(19.364, 96.859)), module, TAudio::AUDIO_OUTPUTS + 1)); + addOutput(createOutputCentered(mm2px(Vec(30.914, 96.859)), module, TAudio::AUDIO_OUTPUTS + 2)); + addOutput(createOutputCentered(mm2px(Vec(42.464, 96.859)), module, TAudio::AUDIO_OUTPUTS + 3)); + addOutput(createOutputCentered(mm2px(Vec(54.015, 96.859)), module, TAudio::AUDIO_OUTPUTS + 4)); + addOutput(createOutputCentered(mm2px(Vec(65.565, 96.859)), module, TAudio::AUDIO_OUTPUTS + 5)); + addOutput(createOutputCentered(mm2px(Vec(77.114, 96.859)), module, TAudio::AUDIO_OUTPUTS + 6)); + addOutput(createOutputCentered(mm2px(Vec(88.664, 96.859)), module, TAudio::AUDIO_OUTPUTS + 7)); + addOutput(createOutputCentered(mm2px(Vec(7.815, 113.115)), module, TAudio::AUDIO_OUTPUTS + 8)); + addOutput(createOutputCentered(mm2px(Vec(19.364, 113.115)), module, TAudio::AUDIO_OUTPUTS + 9)); + addOutput(createOutputCentered(mm2px(Vec(30.914, 113.115)), module, TAudio::AUDIO_OUTPUTS + 10)); + addOutput(createOutputCentered(mm2px(Vec(42.464, 113.115)), module, TAudio::AUDIO_OUTPUTS + 11)); + addOutput(createOutputCentered(mm2px(Vec(54.015, 113.115)), module, TAudio::AUDIO_OUTPUTS + 12)); + addOutput(createOutputCentered(mm2px(Vec(65.565, 113.115)), module, TAudio::AUDIO_OUTPUTS + 13)); + addOutput(createOutputCentered(mm2px(Vec(77.114, 113.115)), module, TAudio::AUDIO_OUTPUTS + 14)); + addOutput(createOutputCentered(mm2px(Vec(88.664, 113.115)), module, TAudio::AUDIO_OUTPUTS + 15)); addChild(createLightCentered>(mm2px(Vec(13.545, 52.168)), module, TAudio::INPUT_LIGHTS + 2 * 0)); addChild(createLightCentered>(mm2px(Vec(36.779, 52.168)), module, TAudio::INPUT_LIGHTS + 2 * 1)); @@ -568,11 +568,11 @@ struct AudioWidget : ModuleWidget { addParam(createParamCentered(mm2px(Vec(12.869, 77.362)), module, TAudio::LEVEL_PARAM)); - addInput(createInputCentered(mm2px(Vec(7.285, 96.859)), module, TAudio::AUDIO_INPUTS + 0)); - addInput(createInputCentered(mm2px(Vec(18.122, 96.859)), module, TAudio::AUDIO_INPUTS + 1)); + addInput(createInputCentered(mm2px(Vec(7.285, 96.859)), module, TAudio::AUDIO_INPUTS + 0)); + addInput(createInputCentered(mm2px(Vec(18.122, 96.859)), module, TAudio::AUDIO_INPUTS + 1)); - addOutput(createOutputCentered(mm2px(Vec(7.285, 113.115)), module, TAudio::AUDIO_OUTPUTS + 0)); - addOutput(createOutputCentered(mm2px(Vec(18.122, 113.115)), module, TAudio::AUDIO_OUTPUTS + 1)); + addOutput(createOutputCentered(mm2px(Vec(7.285, 113.115)), module, TAudio::AUDIO_OUTPUTS + 0)); + addOutput(createOutputCentered(mm2px(Vec(18.122, 113.115)), module, TAudio::AUDIO_OUTPUTS + 1)); Audio2Display* display = createWidget(mm2px(Vec(0.0, 13.039))); display->box.size = mm2px(Vec(25.4, 47.726)); diff --git a/src/core/CV_MIDI.cpp b/src/core/CV_MIDI.cpp index 8c67dbf2..0dc503d0 100644 --- a/src/core/CV_MIDI.cpp +++ b/src/core/CV_MIDI.cpp @@ -156,18 +156,18 @@ struct CV_MIDIWidget : ModuleWidget { addChild(createWidget(Vec(RACK_GRID_WIDTH, RACK_GRID_HEIGHT - RACK_GRID_WIDTH))); addChild(createWidget(Vec(box.size.x - 2 * RACK_GRID_WIDTH, RACK_GRID_HEIGHT - RACK_GRID_WIDTH))); - addInput(createInputCentered(mm2px(Vec(7.906, 64.347)), module, CV_MIDI::PITCH_INPUT)); - addInput(createInputCentered(mm2px(Vec(20.249, 64.347)), module, CV_MIDI::GATE_INPUT)); - addInput(createInputCentered(mm2px(Vec(32.591, 64.347)), module, CV_MIDI::VEL_INPUT)); - addInput(createInputCentered(mm2px(Vec(7.906, 80.603)), module, CV_MIDI::AFT_INPUT)); - addInput(createInputCentered(mm2px(Vec(20.249, 80.603)), module, CV_MIDI::PW_INPUT)); - addInput(createInputCentered(mm2px(Vec(32.591, 80.603)), module, CV_MIDI::MW_INPUT)); - addInput(createInputCentered(mm2px(Vec(7.906, 96.859)), module, CV_MIDI::CLK_INPUT)); - addInput(createInputCentered(mm2px(Vec(20.249, 96.707)), module, CV_MIDI::VOL_INPUT)); - addInput(createInputCentered(mm2px(Vec(32.591, 96.859)), module, CV_MIDI::PAN_INPUT)); - addInput(createInputCentered(mm2px(Vec(7.906, 113.115)), module, CV_MIDI::START_INPUT)); - addInput(createInputCentered(mm2px(Vec(20.249, 113.115)), module, CV_MIDI::STOP_INPUT)); - addInput(createInputCentered(mm2px(Vec(32.591, 112.975)), module, CV_MIDI::CONTINUE_INPUT)); + addInput(createInputCentered(mm2px(Vec(7.906, 64.347)), module, CV_MIDI::PITCH_INPUT)); + addInput(createInputCentered(mm2px(Vec(20.249, 64.347)), module, CV_MIDI::GATE_INPUT)); + addInput(createInputCentered(mm2px(Vec(32.591, 64.347)), module, CV_MIDI::VEL_INPUT)); + addInput(createInputCentered(mm2px(Vec(7.906, 80.603)), module, CV_MIDI::AFT_INPUT)); + addInput(createInputCentered(mm2px(Vec(20.249, 80.603)), module, CV_MIDI::PW_INPUT)); + addInput(createInputCentered(mm2px(Vec(32.591, 80.603)), module, CV_MIDI::MW_INPUT)); + addInput(createInputCentered(mm2px(Vec(7.906, 96.859)), module, CV_MIDI::CLK_INPUT)); + addInput(createInputCentered(mm2px(Vec(20.249, 96.707)), module, CV_MIDI::VOL_INPUT)); + addInput(createInputCentered(mm2px(Vec(32.591, 96.859)), module, CV_MIDI::PAN_INPUT)); + addInput(createInputCentered(mm2px(Vec(7.906, 113.115)), module, CV_MIDI::START_INPUT)); + addInput(createInputCentered(mm2px(Vec(20.249, 113.115)), module, CV_MIDI::STOP_INPUT)); + addInput(createInputCentered(mm2px(Vec(32.591, 112.975)), module, CV_MIDI::CONTINUE_INPUT)); MidiDisplay* display = createWidget(mm2px(Vec(0.0, 13.039))); display->box.size = mm2px(Vec(40.64, 29.021)); diff --git a/src/core/CV_MIDICC.cpp b/src/core/CV_MIDICC.cpp index c96ad7ce..f84eafcf 100644 --- a/src/core/CV_MIDICC.cpp +++ b/src/core/CV_MIDICC.cpp @@ -145,22 +145,22 @@ struct CV_MIDICCWidget : ModuleWidget { addChild(createWidget(Vec(RACK_GRID_WIDTH, RACK_GRID_HEIGHT - RACK_GRID_WIDTH))); addChild(createWidget(Vec(box.size.x - 2 * RACK_GRID_WIDTH, RACK_GRID_HEIGHT - RACK_GRID_WIDTH))); - addInput(createInputCentered(mm2px(Vec(8.189, 78.431)), module, CV_MIDICC::CC_INPUTS + 0)); - addInput(createInputCentered(mm2px(Vec(19.739, 78.431)), module, CV_MIDICC::CC_INPUTS + 1)); - addInput(createInputCentered(mm2px(Vec(31.289, 78.431)), module, CV_MIDICC::CC_INPUTS + 2)); - addInput(createInputCentered(mm2px(Vec(42.838, 78.431)), module, CV_MIDICC::CC_INPUTS + 3)); - addInput(createInputCentered(mm2px(Vec(8.189, 89.946)), module, CV_MIDICC::CC_INPUTS + 4)); - addInput(createInputCentered(mm2px(Vec(19.739, 89.946)), module, CV_MIDICC::CC_INPUTS + 5)); - addInput(createInputCentered(mm2px(Vec(31.289, 89.946)), module, CV_MIDICC::CC_INPUTS + 6)); - addInput(createInputCentered(mm2px(Vec(42.838, 89.946)), module, CV_MIDICC::CC_INPUTS + 7)); - addInput(createInputCentered(mm2px(Vec(8.189, 101.466)), module, CV_MIDICC::CC_INPUTS + 8)); - addInput(createInputCentered(mm2px(Vec(19.739, 101.466)), module, CV_MIDICC::CC_INPUTS + 9)); - addInput(createInputCentered(mm2px(Vec(31.289, 101.466)), module, CV_MIDICC::CC_INPUTS + 10)); - addInput(createInputCentered(mm2px(Vec(42.838, 101.466)), module, CV_MIDICC::CC_INPUTS + 11)); - addInput(createInputCentered(mm2px(Vec(8.189, 112.998)), module, CV_MIDICC::CC_INPUTS + 12)); - addInput(createInputCentered(mm2px(Vec(19.739, 112.984)), module, CV_MIDICC::CC_INPUTS + 13)); - addInput(createInputCentered(mm2px(Vec(31.289, 112.984)), module, CV_MIDICC::CC_INPUTS + 14)); - addInput(createInputCentered(mm2px(Vec(42.838, 112.984)), module, CV_MIDICC::CC_INPUTS + 15)); + addInput(createInputCentered(mm2px(Vec(8.189, 78.431)), module, CV_MIDICC::CC_INPUTS + 0)); + addInput(createInputCentered(mm2px(Vec(19.739, 78.431)), module, CV_MIDICC::CC_INPUTS + 1)); + addInput(createInputCentered(mm2px(Vec(31.289, 78.431)), module, CV_MIDICC::CC_INPUTS + 2)); + addInput(createInputCentered(mm2px(Vec(42.838, 78.431)), module, CV_MIDICC::CC_INPUTS + 3)); + addInput(createInputCentered(mm2px(Vec(8.189, 89.946)), module, CV_MIDICC::CC_INPUTS + 4)); + addInput(createInputCentered(mm2px(Vec(19.739, 89.946)), module, CV_MIDICC::CC_INPUTS + 5)); + addInput(createInputCentered(mm2px(Vec(31.289, 89.946)), module, CV_MIDICC::CC_INPUTS + 6)); + addInput(createInputCentered(mm2px(Vec(42.838, 89.946)), module, CV_MIDICC::CC_INPUTS + 7)); + addInput(createInputCentered(mm2px(Vec(8.189, 101.466)), module, CV_MIDICC::CC_INPUTS + 8)); + addInput(createInputCentered(mm2px(Vec(19.739, 101.466)), module, CV_MIDICC::CC_INPUTS + 9)); + addInput(createInputCentered(mm2px(Vec(31.289, 101.466)), module, CV_MIDICC::CC_INPUTS + 10)); + addInput(createInputCentered(mm2px(Vec(42.838, 101.466)), module, CV_MIDICC::CC_INPUTS + 11)); + addInput(createInputCentered(mm2px(Vec(8.189, 112.998)), module, CV_MIDICC::CC_INPUTS + 12)); + addInput(createInputCentered(mm2px(Vec(19.739, 112.984)), module, CV_MIDICC::CC_INPUTS + 13)); + addInput(createInputCentered(mm2px(Vec(31.289, 112.984)), module, CV_MIDICC::CC_INPUTS + 14)); + addInput(createInputCentered(mm2px(Vec(42.838, 112.984)), module, CV_MIDICC::CC_INPUTS + 15)); typedef Grid16MidiDisplay> TMidiDisplay; TMidiDisplay* display = createWidget(mm2px(Vec(0.0, 13.039))); diff --git a/src/core/Gate_MIDI.cpp b/src/core/Gate_MIDI.cpp index 4f8a881b..4c0c045c 100644 --- a/src/core/Gate_MIDI.cpp +++ b/src/core/Gate_MIDI.cpp @@ -186,22 +186,22 @@ struct Gate_MIDIWidget : ModuleWidget { addChild(createWidget(Vec(RACK_GRID_WIDTH, RACK_GRID_HEIGHT - RACK_GRID_WIDTH))); addChild(createWidget(Vec(box.size.x - 2 * RACK_GRID_WIDTH, RACK_GRID_HEIGHT - RACK_GRID_WIDTH))); - addInput(createInputCentered(mm2px(Vec(8.189, 78.431)), module, Gate_MIDI::GATE_INPUTS + 0)); - addInput(createInputCentered(mm2px(Vec(19.739, 78.431)), module, Gate_MIDI::GATE_INPUTS + 1)); - addInput(createInputCentered(mm2px(Vec(31.289, 78.431)), module, Gate_MIDI::GATE_INPUTS + 2)); - addInput(createInputCentered(mm2px(Vec(42.838, 78.431)), module, Gate_MIDI::GATE_INPUTS + 3)); - addInput(createInputCentered(mm2px(Vec(8.189, 89.946)), module, Gate_MIDI::GATE_INPUTS + 4)); - addInput(createInputCentered(mm2px(Vec(19.739, 89.946)), module, Gate_MIDI::GATE_INPUTS + 5)); - addInput(createInputCentered(mm2px(Vec(31.289, 89.946)), module, Gate_MIDI::GATE_INPUTS + 6)); - addInput(createInputCentered(mm2px(Vec(42.838, 89.946)), module, Gate_MIDI::GATE_INPUTS + 7)); - addInput(createInputCentered(mm2px(Vec(8.189, 101.466)), module, Gate_MIDI::GATE_INPUTS + 8)); - addInput(createInputCentered(mm2px(Vec(19.739, 101.466)), module, Gate_MIDI::GATE_INPUTS + 9)); - addInput(createInputCentered(mm2px(Vec(31.289, 101.466)), module, Gate_MIDI::GATE_INPUTS + 10)); - addInput(createInputCentered(mm2px(Vec(42.838, 101.466)), module, Gate_MIDI::GATE_INPUTS + 11)); - addInput(createInputCentered(mm2px(Vec(8.189, 112.998)), module, Gate_MIDI::GATE_INPUTS + 12)); - addInput(createInputCentered(mm2px(Vec(19.739, 112.984)), module, Gate_MIDI::GATE_INPUTS + 13)); - addInput(createInputCentered(mm2px(Vec(31.289, 112.984)), module, Gate_MIDI::GATE_INPUTS + 14)); - addInput(createInputCentered(mm2px(Vec(42.838, 112.984)), module, Gate_MIDI::GATE_INPUTS + 15)); + addInput(createInputCentered(mm2px(Vec(8.189, 78.431)), module, Gate_MIDI::GATE_INPUTS + 0)); + addInput(createInputCentered(mm2px(Vec(19.739, 78.431)), module, Gate_MIDI::GATE_INPUTS + 1)); + addInput(createInputCentered(mm2px(Vec(31.289, 78.431)), module, Gate_MIDI::GATE_INPUTS + 2)); + addInput(createInputCentered(mm2px(Vec(42.838, 78.431)), module, Gate_MIDI::GATE_INPUTS + 3)); + addInput(createInputCentered(mm2px(Vec(8.189, 89.946)), module, Gate_MIDI::GATE_INPUTS + 4)); + addInput(createInputCentered(mm2px(Vec(19.739, 89.946)), module, Gate_MIDI::GATE_INPUTS + 5)); + addInput(createInputCentered(mm2px(Vec(31.289, 89.946)), module, Gate_MIDI::GATE_INPUTS + 6)); + addInput(createInputCentered(mm2px(Vec(42.838, 89.946)), module, Gate_MIDI::GATE_INPUTS + 7)); + addInput(createInputCentered(mm2px(Vec(8.189, 101.466)), module, Gate_MIDI::GATE_INPUTS + 8)); + addInput(createInputCentered(mm2px(Vec(19.739, 101.466)), module, Gate_MIDI::GATE_INPUTS + 9)); + addInput(createInputCentered(mm2px(Vec(31.289, 101.466)), module, Gate_MIDI::GATE_INPUTS + 10)); + addInput(createInputCentered(mm2px(Vec(42.838, 101.466)), module, Gate_MIDI::GATE_INPUTS + 11)); + addInput(createInputCentered(mm2px(Vec(8.189, 112.998)), module, Gate_MIDI::GATE_INPUTS + 12)); + addInput(createInputCentered(mm2px(Vec(19.739, 112.984)), module, Gate_MIDI::GATE_INPUTS + 13)); + addInput(createInputCentered(mm2px(Vec(31.289, 112.984)), module, Gate_MIDI::GATE_INPUTS + 14)); + addInput(createInputCentered(mm2px(Vec(42.838, 112.984)), module, Gate_MIDI::GATE_INPUTS + 15)); typedef Grid16MidiDisplay> TMidiDisplay; TMidiDisplay* display = createWidget(mm2px(Vec(0.0, 13.039))); diff --git a/src/core/MIDICC_CV.cpp b/src/core/MIDICC_CV.cpp index 97d1db32..84302c94 100644 --- a/src/core/MIDICC_CV.cpp +++ b/src/core/MIDICC_CV.cpp @@ -236,22 +236,22 @@ struct MIDICC_CVWidget : ModuleWidget { addChild(createWidget(Vec(RACK_GRID_WIDTH, RACK_GRID_HEIGHT - RACK_GRID_WIDTH))); addChild(createWidget(Vec(box.size.x - 2 * RACK_GRID_WIDTH, RACK_GRID_HEIGHT - RACK_GRID_WIDTH))); - addOutput(createOutputCentered(mm2px(Vec(8.189, 78.431)), module, MIDICC_CV::CC_OUTPUT + 0)); - addOutput(createOutputCentered(mm2px(Vec(19.739, 78.431)), module, MIDICC_CV::CC_OUTPUT + 1)); - addOutput(createOutputCentered(mm2px(Vec(31.289, 78.431)), module, MIDICC_CV::CC_OUTPUT + 2)); - addOutput(createOutputCentered(mm2px(Vec(42.838, 78.431)), module, MIDICC_CV::CC_OUTPUT + 3)); - addOutput(createOutputCentered(mm2px(Vec(8.189, 89.946)), module, MIDICC_CV::CC_OUTPUT + 4)); - addOutput(createOutputCentered(mm2px(Vec(19.739, 89.946)), module, MIDICC_CV::CC_OUTPUT + 5)); - addOutput(createOutputCentered(mm2px(Vec(31.289, 89.946)), module, MIDICC_CV::CC_OUTPUT + 6)); - addOutput(createOutputCentered(mm2px(Vec(42.838, 89.946)), module, MIDICC_CV::CC_OUTPUT + 7)); - addOutput(createOutputCentered(mm2px(Vec(8.189, 101.466)), module, MIDICC_CV::CC_OUTPUT + 8)); - addOutput(createOutputCentered(mm2px(Vec(19.739, 101.466)), module, MIDICC_CV::CC_OUTPUT + 9)); - addOutput(createOutputCentered(mm2px(Vec(31.289, 101.466)), module, MIDICC_CV::CC_OUTPUT + 10)); - addOutput(createOutputCentered(mm2px(Vec(42.838, 101.466)), module, MIDICC_CV::CC_OUTPUT + 11)); - addOutput(createOutputCentered(mm2px(Vec(8.19, 112.998)), module, MIDICC_CV::CC_OUTPUT + 12)); - addOutput(createOutputCentered(mm2px(Vec(19.739, 112.984)), module, MIDICC_CV::CC_OUTPUT + 13)); - addOutput(createOutputCentered(mm2px(Vec(31.289, 112.984)), module, MIDICC_CV::CC_OUTPUT + 14)); - addOutput(createOutputCentered(mm2px(Vec(42.839, 112.984)), module, MIDICC_CV::CC_OUTPUT + 15)); + addOutput(createOutputCentered(mm2px(Vec(8.189, 78.431)), module, MIDICC_CV::CC_OUTPUT + 0)); + addOutput(createOutputCentered(mm2px(Vec(19.739, 78.431)), module, MIDICC_CV::CC_OUTPUT + 1)); + addOutput(createOutputCentered(mm2px(Vec(31.289, 78.431)), module, MIDICC_CV::CC_OUTPUT + 2)); + addOutput(createOutputCentered(mm2px(Vec(42.838, 78.431)), module, MIDICC_CV::CC_OUTPUT + 3)); + addOutput(createOutputCentered(mm2px(Vec(8.189, 89.946)), module, MIDICC_CV::CC_OUTPUT + 4)); + addOutput(createOutputCentered(mm2px(Vec(19.739, 89.946)), module, MIDICC_CV::CC_OUTPUT + 5)); + addOutput(createOutputCentered(mm2px(Vec(31.289, 89.946)), module, MIDICC_CV::CC_OUTPUT + 6)); + addOutput(createOutputCentered(mm2px(Vec(42.838, 89.946)), module, MIDICC_CV::CC_OUTPUT + 7)); + addOutput(createOutputCentered(mm2px(Vec(8.189, 101.466)), module, MIDICC_CV::CC_OUTPUT + 8)); + addOutput(createOutputCentered(mm2px(Vec(19.739, 101.466)), module, MIDICC_CV::CC_OUTPUT + 9)); + addOutput(createOutputCentered(mm2px(Vec(31.289, 101.466)), module, MIDICC_CV::CC_OUTPUT + 10)); + addOutput(createOutputCentered(mm2px(Vec(42.838, 101.466)), module, MIDICC_CV::CC_OUTPUT + 11)); + addOutput(createOutputCentered(mm2px(Vec(8.19, 112.998)), module, MIDICC_CV::CC_OUTPUT + 12)); + addOutput(createOutputCentered(mm2px(Vec(19.739, 112.984)), module, MIDICC_CV::CC_OUTPUT + 13)); + addOutput(createOutputCentered(mm2px(Vec(31.289, 112.984)), module, MIDICC_CV::CC_OUTPUT + 14)); + addOutput(createOutputCentered(mm2px(Vec(42.839, 112.984)), module, MIDICC_CV::CC_OUTPUT + 15)); typedef Grid16MidiDisplay> TMidiDisplay; TMidiDisplay* display = createWidget(mm2px(Vec(0.0, 13.039))); diff --git a/src/core/MIDI_CV.cpp b/src/core/MIDI_CV.cpp index d716b567..193d334d 100644 --- a/src/core/MIDI_CV.cpp +++ b/src/core/MIDI_CV.cpp @@ -498,18 +498,18 @@ struct MIDI_CVWidget : ModuleWidget { addChild(createWidget(Vec(RACK_GRID_WIDTH, RACK_GRID_HEIGHT - RACK_GRID_WIDTH))); addChild(createWidget(Vec(box.size.x - 2 * RACK_GRID_WIDTH, RACK_GRID_HEIGHT - RACK_GRID_WIDTH))); - addOutput(createOutputCentered(mm2px(Vec(7.905, 64.347)), module, MIDI_CV::PITCH_OUTPUT)); - addOutput(createOutputCentered(mm2px(Vec(20.248, 64.347)), module, MIDI_CV::GATE_OUTPUT)); - addOutput(createOutputCentered(mm2px(Vec(32.591, 64.347)), module, MIDI_CV::VELOCITY_OUTPUT)); - addOutput(createOutputCentered(mm2px(Vec(7.905, 80.603)), module, MIDI_CV::AFTERTOUCH_OUTPUT)); - addOutput(createOutputCentered(mm2px(Vec(20.248, 80.603)), module, MIDI_CV::PW_OUTPUT)); - addOutput(createOutputCentered(mm2px(Vec(32.591, 80.603)), module, MIDI_CV::MOD_OUTPUT)); - addOutput(createOutputCentered(mm2px(Vec(7.905, 96.859)), module, MIDI_CV::CLOCK_OUTPUT)); - addOutput(createOutputCentered(mm2px(Vec(20.248, 96.707)), module, MIDI_CV::CLOCK_DIV_OUTPUT)); - addOutput(createOutputCentered(mm2px(Vec(32.591, 96.859)), module, MIDI_CV::RETRIGGER_OUTPUT)); - addOutput(createOutputCentered(mm2px(Vec(7.905, 113.115)), module, MIDI_CV::START_OUTPUT)); - addOutput(createOutputCentered(mm2px(Vec(20.248, 113.115)), module, MIDI_CV::STOP_OUTPUT)); - addOutput(createOutputCentered(mm2px(Vec(32.591, 112.975)), module, MIDI_CV::CONTINUE_OUTPUT)); + addOutput(createOutputCentered(mm2px(Vec(7.905, 64.347)), module, MIDI_CV::PITCH_OUTPUT)); + addOutput(createOutputCentered(mm2px(Vec(20.248, 64.347)), module, MIDI_CV::GATE_OUTPUT)); + addOutput(createOutputCentered(mm2px(Vec(32.591, 64.347)), module, MIDI_CV::VELOCITY_OUTPUT)); + addOutput(createOutputCentered(mm2px(Vec(7.905, 80.603)), module, MIDI_CV::AFTERTOUCH_OUTPUT)); + addOutput(createOutputCentered(mm2px(Vec(20.248, 80.603)), module, MIDI_CV::PW_OUTPUT)); + addOutput(createOutputCentered(mm2px(Vec(32.591, 80.603)), module, MIDI_CV::MOD_OUTPUT)); + addOutput(createOutputCentered(mm2px(Vec(7.905, 96.859)), module, MIDI_CV::CLOCK_OUTPUT)); + addOutput(createOutputCentered(mm2px(Vec(20.248, 96.707)), module, MIDI_CV::CLOCK_DIV_OUTPUT)); + addOutput(createOutputCentered(mm2px(Vec(32.591, 96.859)), module, MIDI_CV::RETRIGGER_OUTPUT)); + addOutput(createOutputCentered(mm2px(Vec(7.905, 113.115)), module, MIDI_CV::START_OUTPUT)); + addOutput(createOutputCentered(mm2px(Vec(20.248, 113.115)), module, MIDI_CV::STOP_OUTPUT)); + addOutput(createOutputCentered(mm2px(Vec(32.591, 112.975)), module, MIDI_CV::CONTINUE_OUTPUT)); MidiDisplay* display = createWidget(mm2px(Vec(0.0, 13.048))); display->box.size = mm2px(Vec(40.64, 29.012)); diff --git a/src/core/MIDI_Gate.cpp b/src/core/MIDI_Gate.cpp index cbcd0fd6..b90fe5f4 100644 --- a/src/core/MIDI_Gate.cpp +++ b/src/core/MIDI_Gate.cpp @@ -200,22 +200,22 @@ struct MIDI_GateWidget : ModuleWidget { addChild(createWidget(Vec(RACK_GRID_WIDTH, RACK_GRID_HEIGHT - RACK_GRID_WIDTH))); addChild(createWidget(Vec(box.size.x - 2 * RACK_GRID_WIDTH, RACK_GRID_HEIGHT - RACK_GRID_WIDTH))); - addOutput(createOutputCentered(mm2px(Vec(8.189, 78.431)), module, MIDI_Gate::GATE_OUTPUTS + 0)); - addOutput(createOutputCentered(mm2px(Vec(19.739, 78.431)), module, MIDI_Gate::GATE_OUTPUTS + 1)); - addOutput(createOutputCentered(mm2px(Vec(31.289, 78.431)), module, MIDI_Gate::GATE_OUTPUTS + 2)); - addOutput(createOutputCentered(mm2px(Vec(42.838, 78.431)), module, MIDI_Gate::GATE_OUTPUTS + 3)); - addOutput(createOutputCentered(mm2px(Vec(8.189, 89.946)), module, MIDI_Gate::GATE_OUTPUTS + 4)); - addOutput(createOutputCentered(mm2px(Vec(19.739, 89.946)), module, MIDI_Gate::GATE_OUTPUTS + 5)); - addOutput(createOutputCentered(mm2px(Vec(31.289, 89.946)), module, MIDI_Gate::GATE_OUTPUTS + 6)); - addOutput(createOutputCentered(mm2px(Vec(42.838, 89.946)), module, MIDI_Gate::GATE_OUTPUTS + 7)); - addOutput(createOutputCentered(mm2px(Vec(8.189, 101.466)), module, MIDI_Gate::GATE_OUTPUTS + 8)); - addOutput(createOutputCentered(mm2px(Vec(19.739, 101.466)), module, MIDI_Gate::GATE_OUTPUTS + 9)); - addOutput(createOutputCentered(mm2px(Vec(31.289, 101.466)), module, MIDI_Gate::GATE_OUTPUTS + 10)); - addOutput(createOutputCentered(mm2px(Vec(42.838, 101.466)), module, MIDI_Gate::GATE_OUTPUTS + 11)); - addOutput(createOutputCentered(mm2px(Vec(8.189, 112.998)), module, MIDI_Gate::GATE_OUTPUTS + 12)); - addOutput(createOutputCentered(mm2px(Vec(19.739, 112.984)), module, MIDI_Gate::GATE_OUTPUTS + 13)); - addOutput(createOutputCentered(mm2px(Vec(31.289, 112.984)), module, MIDI_Gate::GATE_OUTPUTS + 14)); - addOutput(createOutputCentered(mm2px(Vec(42.838, 112.984)), module, MIDI_Gate::GATE_OUTPUTS + 15)); + addOutput(createOutputCentered(mm2px(Vec(8.189, 78.431)), module, MIDI_Gate::GATE_OUTPUTS + 0)); + addOutput(createOutputCentered(mm2px(Vec(19.739, 78.431)), module, MIDI_Gate::GATE_OUTPUTS + 1)); + addOutput(createOutputCentered(mm2px(Vec(31.289, 78.431)), module, MIDI_Gate::GATE_OUTPUTS + 2)); + addOutput(createOutputCentered(mm2px(Vec(42.838, 78.431)), module, MIDI_Gate::GATE_OUTPUTS + 3)); + addOutput(createOutputCentered(mm2px(Vec(8.189, 89.946)), module, MIDI_Gate::GATE_OUTPUTS + 4)); + addOutput(createOutputCentered(mm2px(Vec(19.739, 89.946)), module, MIDI_Gate::GATE_OUTPUTS + 5)); + addOutput(createOutputCentered(mm2px(Vec(31.289, 89.946)), module, MIDI_Gate::GATE_OUTPUTS + 6)); + addOutput(createOutputCentered(mm2px(Vec(42.838, 89.946)), module, MIDI_Gate::GATE_OUTPUTS + 7)); + addOutput(createOutputCentered(mm2px(Vec(8.189, 101.466)), module, MIDI_Gate::GATE_OUTPUTS + 8)); + addOutput(createOutputCentered(mm2px(Vec(19.739, 101.466)), module, MIDI_Gate::GATE_OUTPUTS + 9)); + addOutput(createOutputCentered(mm2px(Vec(31.289, 101.466)), module, MIDI_Gate::GATE_OUTPUTS + 10)); + addOutput(createOutputCentered(mm2px(Vec(42.838, 101.466)), module, MIDI_Gate::GATE_OUTPUTS + 11)); + addOutput(createOutputCentered(mm2px(Vec(8.189, 112.998)), module, MIDI_Gate::GATE_OUTPUTS + 12)); + addOutput(createOutputCentered(mm2px(Vec(19.739, 112.984)), module, MIDI_Gate::GATE_OUTPUTS + 13)); + addOutput(createOutputCentered(mm2px(Vec(31.289, 112.984)), module, MIDI_Gate::GATE_OUTPUTS + 14)); + addOutput(createOutputCentered(mm2px(Vec(42.838, 112.984)), module, MIDI_Gate::GATE_OUTPUTS + 15)); typedef Grid16MidiDisplay> TMidiDisplay; TMidiDisplay* display = createWidget(mm2px(Vec(0.0, 13.039)));