Browse Source

Octave: Fix output when no cable is patched.

tags/v1.0.1
Andrew Belt 3 years ago
parent
commit
b28ebf4029
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/Octave.cpp

+ 1
- 1
src/Octave.cpp View File

@@ -32,7 +32,7 @@ struct Octave : Module {
}

void process(const ProcessArgs &args) override {
int channels = inputs[CV_INPUT].getChannels();
int channels = std::max(inputs[CV_INPUT].getChannels(), 1);
for (int c = 0; c < channels; c++) {
float cv = inputs[CV_INPUT].getVoltage(c);
cv += octave;


Loading…
Cancel
Save