From 8461d1b4f33d9edea9addb05b67e69a9158eeff4 Mon Sep 17 00:00:00 2001 From: Paul Ferrand Date: Fri, 13 Dec 2019 13:09:51 +0100 Subject: [PATCH] Corrected a stupid assertion... --- src/sfizz/Synth.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sfizz/Synth.cpp b/src/sfizz/Synth.cpp index e0e4a67d..9196f6f9 100644 --- a/src/sfizz/Synth.cpp +++ b/src/sfizz/Synth.cpp @@ -457,7 +457,7 @@ void sfz::Synth::cc(int delay, int channel, int ccNumber, uint8_t ccValue) noexc void sfz::Synth::pitchWheel(int delay, int channel, int pitch) noexcept { ASSERT(pitch <= 8192); - ASSERT(pitch >= 8192); + ASSERT(pitch >= -8192); channel = translateMidiChannelToSfz(channel); midiState.pitchBendEvent(pitch); for (auto& voice: voices) {