Browse Source

VCA Mix: Don't copy monophonic signals to all polyphonic channels.

tags/v2.1.0
Andrew Belt 2 years ago
parent
commit
ba4c516f95
2 changed files with 6 additions and 11 deletions
  1. +4
    -0
      CHANGELOG.md
  2. +2
    -11
      src/VCMixer.cpp

+ 4
- 0
CHANGELOG.md View File

@@ -1,5 +1,9 @@
# Fundamental changelog

### 2.1.0 (in development)
- VCA Mix
- When mixing polyphonic and monophonic signals, don't copy monophonic signals to all polyphonic channels. Simply mix them to polyphonic channel 1.

### 2.0.3 (2021-12-31)
- Wavetable VCO and LFO
- Make wavetable loading lock-free, fixing hiccups and increasing performance.


+ 2
- 11
src/VCMixer.cpp View File

@@ -83,17 +83,8 @@ struct VCMixer : Module {
}

// Add to mix
if (channels == 1) {
// Copy the mono signal to all mix channels
for (int c = 0; c < mixChannels; c++) {
mix[c] += in[0];
}
}
else {
// Copy each poly channel to the corresponding mix channel
for (int c = 0; c < channels; c++) {
mix[c] += in[c];
}
for (int c = 0; c < channels; c++) {
mix[c] += in[c];
}

// Sum channel for VU meter


Loading…
Cancel
Save