diff --git a/plugin/tonewheel.cpp b/plugin/tonewheel.cpp index ec61c0c..dd2414c 100644 --- a/plugin/tonewheel.cpp +++ b/plugin/tonewheel.cpp @@ -55,12 +55,17 @@ void Tonewheel::deactivate() { void Tonewheel::run(const float**, float** outputs, uint32_t frames, const MidiEvent* ev, uint32_t evCount) { - for (uint32_t i = 0; i < evCount; i++) { assigner->handleMidi((MidiEvent*)&ev[i]); } generator->run(outputs[0], frames); + + // scale the final output and copy to right channel + for(uint32_t i=0; i