Ticket #7581: softsynth.diff

File softsynth.diff, 527 bytes (added by Pete, 9 years ago)

Fix for Synth Pitchbend range

  • src/kits/midi/SoftSynth.cpp

     
    356356    if (InitCheck()) {
    357357        snooze_until(MAKE_BIGTIME(time), B_SYSTEM_TIMEBASE);
    358358        // fluid_synth only accepts an int
    359         fluid_synth_pitch_bend(fSynth, channel - 1, ((uint32)(msb & 0x7f) << 8) | (lsb & 0x7f));
     359        fluid_synth_pitch_bend(fSynth, channel - 1, ((uint32)(msb & 0x7f) << 7) | (lsb & 0x7f));
    360360    }
    361361}
    362362