Browse Source

Remove useless light dividers.

tags/v2.6.2
Andrew Belt 2 months ago
parent
commit
7a8d9d7154
2 changed files with 0 additions and 5 deletions
  1. +0
    -2
      src/Merge.cpp
  2. +0
    -3
      src/Split.cpp

+ 0
- 2
src/Merge.cpp View File

@@ -18,7 +18,6 @@ struct Merge : Module {
NUM_LIGHTS NUM_LIGHTS
}; };


dsp::ClockDivider lightDivider;
int channels = -1; int channels = -1;
int automaticChannels = 0; int automaticChannels = 0;


@@ -28,7 +27,6 @@ struct Merge : Module {
configInput(MONO_INPUTS + i, string::f("Channel %d", i + 1)); configInput(MONO_INPUTS + i, string::f("Channel %d", i + 1));
configOutput(POLY_OUTPUT, "Polyphonic"); configOutput(POLY_OUTPUT, "Polyphonic");


lightDivider.setDivision(512);
onReset(); onReset();
} }




+ 0
- 3
src/Split.cpp View File

@@ -19,15 +19,12 @@ struct Split : Module {
}; };


int lastChannels = 0; int lastChannels = 0;
dsp::ClockDivider lightDivider;


Split() { Split() {
config(NUM_PARAMS, NUM_INPUTS, NUM_OUTPUTS, NUM_LIGHTS); config(NUM_PARAMS, NUM_INPUTS, NUM_OUTPUTS, NUM_LIGHTS);
configInput(POLY_INPUT, "Polyphonic"); configInput(POLY_INPUT, "Polyphonic");
for (int i = 0; i < 16; i++) for (int i = 0; i < 16; i++)
configOutput(MONO_OUTPUTS + i, string::f("Channel %d", i + 1)); configOutput(MONO_OUTPUTS + i, string::f("Channel %d", i + 1));

lightDivider.setDivision(512);
} }


void process(const ProcessArgs& args) override { void process(const ProcessArgs& args) override {


Loading…
Cancel
Save