diff --git a/src/sfizz/Voice.cpp b/src/sfizz/Voice.cpp index 560266c1..2818ed01 100644 --- a/src/sfizz/Voice.cpp +++ b/src/sfizz/Voice.cpp @@ -192,7 +192,7 @@ void sfz::Voice::registerCC(int delay, int channel [[maybe_unused]], int ccNumbe void sfz::Voice::registerPitchWheel(int delay, int channel, int pitch) noexcept { - if (!channel == triggerChannel) + if (channel != triggerChannel) return; if (state == State::idle)