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

Fix pitch bend typo for PortMidi #529

Merged
merged 1 commit into from
Sep 12, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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