ZynAddSubFX: made MIDI pitch bend work

Always send MIDI pitch bend events to MIDI channel 0 for the time being.
Makes MIDI pitch wheel work with ZynAddSubFX.
This commit is contained in:
Tobias Doerffel
2009-04-18 12:47:02 +02:00
parent 7a176c8fbb
commit 9873b880e2

View File

@@ -169,7 +169,7 @@ public:
}
break;
case MidiPitchBend:
master->SetController( _e.m_channel,
master->SetController( 0,
C_pitchwheel,
_e.m_data.m_param[0] +
_e.m_data.m_param[1]*128-8192 );