Corrected a stupid assertion...
This commit is contained in:
parent
90d267c895
commit
8461d1b4f3
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
void sfz::Synth::pitchWheel(int delay, int channel, int pitch) noexcept
|
||||||
{
|
{
|
||||||
ASSERT(pitch <= 8192);
|
ASSERT(pitch <= 8192);
|
||||||
ASSERT(pitch >= 8192);
|
ASSERT(pitch >= -8192);
|
||||||
channel = translateMidiChannelToSfz(channel);
|
channel = translateMidiChannelToSfz(channel);
|
||||||
midiState.pitchBendEvent(pitch);
|
midiState.pitchBendEvent(pitch);
|
||||||
for (auto& voice: voices) {
|
for (auto& voice: voices) {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue