Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix broken sys_alsa_putmidibyte() in order to make midiout work on Linux. #36

Merged
merged 1 commit into from Jun 14, 2016
Merged

Conversation

agraef
Copy link
Collaborator

@agraef agraef commented Jun 13, 2016

This fixes a long-standing bug with midiout on ALSA, which would just output malformed 1-byte "sysex" messages for each byte that goes into midiout. The bug affects all Linux versions of Pd, in all flavors. For a test witness, run the cyclone/seq-help.pd patch and hook it up to kmidimon or qmidiroute to see the MIDI output. The new implementation proposed here does the necessary buffering and parsing using the appropriate ALSA routines to emit proper MIDI messages. It also works fine with system realtime and exclusive messages.

@pd-l2ork pd-l2ork merged commit 339ef53 into pd-l2ork:master Jun 14, 2016
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.

None yet

2 participants