Skip to content
This repository has been archived by the owner on Jun 23, 2023. It is now read-only.

Commit

Permalink
Fix pitch bend typo for PortMidi (#529)
Browse files Browse the repository at this point in the history
  • Loading branch information
ceski-1 authored Sep 12, 2022
1 parent 6940a95 commit 42759b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prboom2/src/MUSIC/portmidiplayer.c
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ static void init_reset_buffer (void)
// reset expression to 127 (max)
event[5].message = Pm_Message(MIDI_EVENT_CONTROLLER | i, 0x0b, 0x7f);
// reset pitch bend to 64 (center)
event[6].message = Pm_Message(MIDI_EVENT_PITCH_BEND | i, 0x40, 0x00);
event[6].message = Pm_Message(MIDI_EVENT_PITCH_BEND | i, 0x00, 0x40);
// RPN sequence to adjust pitch bend range (RPN value 0x0000)
event[7].message = Pm_Message(MIDI_EVENT_CONTROLLER | i, 0x65, 0x00);
event[8].message = Pm_Message(MIDI_EVENT_CONTROLLER | i, 0x64, 0x00);
Expand Down

0 comments on commit 42759b9

Please sign in to comment.