Skip to content

Conversation

@johnblat
Copy link

@johnblat johnblat commented Nov 12, 2025

I'm making a midi player, so have been testing out various midi files.
I came across one that had a pitch bend that was meant to return to center.

One control change it was getting producing was 0x79 (121) for resetting all controls.

On Windows Media Player, it sounded fine but not in the midi player i was writing which was calling tsf_channel_midi_control for this particular event.

After making this change, the midi playback now sounds fine, and the pitch bending heard in windows media player sounded identical to my ears.

Without this change, the pitch would bend, and then stay bent until another pitch bend event.

Let me know if you need any further examples, or a video demo showing the before/after.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant