[PD-dev] [pure-data:patches] #576 ALSA_MIDI_NOTE_ON_FIX
Philip Stolz
philst at users.sf.net
Sun Apr 24 21:28:28 CEST 2016
---
** [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:**
- [0001-FIXED-Behavior-for-note_on-velocity-0-note_off-in-al.patch](https://sourceforge.net/p/pure-data/patches/576/attachment/0001-FIXED-Behavior-for-note_on-velocity-0-note_off-in-al.patch) (1.5 kB; text/x-patch)
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 at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-dev/attachments/20160424/76a8cc95/attachment-0001.html>
More information about the Pd-dev
mailing list