diff --git a/res/additive.svg b/res/additive.svg
index 00d3425..59eaed9 100644
--- a/res/additive.svg
+++ b/res/additive.svg
@@ -24,15 +24,15 @@
inkscape:deskcolor="#d1d1d1"
inkscape:document-units="mm"
showgrid="false"
- inkscape:zoom="2.1089996"
- inkscape:cx="37.221439"
- inkscape:cy="151.96779"
+ inkscape:zoom="2.9825758"
+ inkscape:cx="29.839979"
+ inkscape:cy="167.13741"
inkscape:window-width="1920"
inkscape:window-height="1017"
inkscape:window-x="-8"
inkscape:window-y="-8"
inkscape:window-maximized="1"
- inkscape:current-layer="layer1"
+ inkscape:current-layer="layer2"
showguides="true">
+
+
+ id="defs2">
+
+
+
+
+ style="display:inline">
diff --git a/src/additive.cpp b/src/additive.cpp
index 053da67..d624ee5 100644
--- a/src/additive.cpp
+++ b/src/additive.cpp
@@ -7,7 +7,7 @@ struct Additive : Module {
};
enum InputId {
POS1_INPUT,
- PATH120_INPUT,
+ POS5_INPUT,
CLKIN_INPUT,
NEG1_INPUT,
NEG5_INPUT,
@@ -24,7 +24,7 @@ struct Additive : Module {
Additive() {
config(PARAMS_LEN, INPUTS_LEN, OUTPUTS_LEN, LIGHTS_LEN);
configInput(POS1_INPUT, "");
- configInput(PATH120_INPUT, "");
+ configInput(POS5_INPUT, "");
configInput(CLKIN_INPUT, "");
configOutput(VOCT_OUTPUT, "");
}
@@ -64,7 +64,7 @@ struct Additive : Module {
notecount += 1;
onest = false;
}
- value = inputs[PATH120_INPUT].getVoltage();
+ value = inputs[POS5_INPUT].getVoltage();
if (fivest and value > 0.f) {
/* DEBUG("+5 %f", value); */
pitch = pitch + 5.f/12;
@@ -125,11 +125,11 @@ struct AdditiveWidget : 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(10.598, 29.168)), module, Additive::POS1_INPUT));
- addInput(createInputCentered(mm2px(Vec(10.598, 39.267)), module, Additive::PATH120_INPUT));
- addInput(createInputCentered(mm2px(Vec(10.598, 69.25)), module, Additive::CLKIN_INPUT));
- addInput(createInputCentered(mm2px(Vec(20.598, 48.819)), module, Additive::NEG1_INPUT));
+ addInput(createInputCentered(mm2px(Vec(8.25, 29.168)), module, Additive::POS1_INPUT));
+ addInput(createInputCentered(mm2px(Vec(17.75, 29.168)), module, Additive::NEG1_INPUT));
+ addInput(createInputCentered(mm2px(Vec(10.598, 39.267)), module, Additive::POS5_INPUT));
addInput(createInputCentered(mm2px(Vec(20.598, 58.932)), module, Additive::NEG5_INPUT));
+ addInput(createInputCentered(mm2px(Vec(10.598, 69.25)), module, Additive::CLKIN_INPUT));
addOutput(createOutputCentered(mm2px(Vec(10.598, 18.065)), module, Additive::VOCT_OUTPUT));
}