Corrected a stupid assertion...

This commit is contained in:
Paul Ferrand 2019-12-13 13:09:51 +01:00
parent 90d267c895
commit 8461d1b4f3

View file

@ -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) {