Browse Source

Changing individual segment output to be the inverse of the phase, which seems to match up more with the Stages manual

tags/v1.0.1
Jim Tupper 6 years ago
parent
commit
bcc460848a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/Stages.cpp

+ 1
- 1
src/Stages.cpp View File

@@ -261,7 +261,7 @@ struct Stages : Module {
// All outputs also go to the first segment
for (int j = 0; j < BLOCK_SIZE; j++) {
for (int k = 1; k < segment_generator[i].num_segments(); k += 1) {
envelopeBuffer[i + k][j] = k == out[j].segment ? out[j].value : 0.f;
envelopeBuffer[i + k][j] = k == out[j].segment ? 1- out[j].phase : 0.f;
}
envelopeBuffer[i][j] = out[j].value;
}


Loading…
Cancel
Save