FortySevenEffects / arduino_midi_library

MIDI for Arduino
MIT License
1.56k stars 253 forks source link

Fix sendPitchBend multiplication #157

Closed stfufane closed 4 years ago

stfufane commented 4 years ago

I tried to use this function and noticed that when the inPitchValue was negative, it was multiplied by MIDI_PITCHBEND_MIN which is negative too and it resulted to a positive pitch bend instead of a negative one.

franky47 commented 4 years ago

Good catch, thanks for the fix !