[patches:#576] ALSA_MIDI_NOTE_ON_FIX
Status: open
Group: bugfix
Created: Sun Apr 24, 2016 07:28 PM UTC by Philip Stolz
Last Updated: Sun Apr 24, 2016 07:28 PM UTC
Owner: nobody
Attachments:
The ALSA implementation of putmidimess replaced "note on" messages with "note off" messages if their velocity=0.
This behavior isn't consistent with the OSS implementation.
This patch has removed the special treatment of "note_on",vel=0 messages from the ALSA implementation in s_midi_alsa.c. The patch also generates "note off" messages if they were in the output queue.
REMARK: Currently there is no way to put "note off" messages to the output queue from a pd-patch. I would sugest to implement the special treatment of "note on" messages with vel=0 as an optional behavior of [noteout]. I could imagine two different modes of noteout: mode 1: vel=0 => "note on", vel=0; mode 2: vel=0 => "note off".
Sent from sourceforge.net because pd-dev@lists.iem.at is subscribed to https://sourceforge.net/p/pure-data/patches/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/pure-data/admin/patches/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.