<div class="markdown_content"><hr/>
<p><strong> <a class="alink" href="https://sourceforge.net/p/pure-data/patches/576/">[patches:#576]</a> ALSA_MIDI_NOTE_ON_FIX</strong></p>
<p><strong>Status:</strong> open<br/>
<strong>Group:</strong> bugfix<br/>
<strong>Created:</strong> Sun Apr 24, 2016 07:28 PM UTC by Philip Stolz<br/>
<strong>Last Updated:</strong> Sun Apr 24, 2016 07:28 PM UTC<br/>
<strong>Owner:</strong> nobody<br/>
<strong>Attachments:</strong></p>
<ul>
<li><a class="" href="https://sourceforge.net/p/pure-data/patches/576/attachment/0001-FIXED-Behavior-for-note_on-velocity-0-note_off-in-al.patch">0001-FIXED-Behavior-for-note_on-velocity-0-note_off-in-al.patch</a> (1.5 kB; text/x-patch)</li>
</ul>
<p>The ALSA implementation of putmidimess replaced "note on" messages with "note off" messages if their velocity=0.<br/>
This behavior isn't consistent with the OSS implementation.</p>
<p>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. </p>
<p>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 <span>[noteout]</span>. I could imagine two different modes of noteout: mode 1: vel=0 => "note on", vel=0; mode 2: vel=0 => "note off".</p>
<hr/>
<p>Sent from sourceforge.net because pd-dev@lists.iem.at is subscribed to <a href="https://sourceforge.net/p/pure-data/patches/">https://sourceforge.net/p/pure-data/patches/</a></p>
<p>To unsubscribe from further messages, a project admin can change settings at <a href="https://sourceforge.net/p/pure-data/admin/patches/options.">https://sourceforge.net/p/pure-data/admin/patches/options.</a>  Or, if this is a mailing list, you can unsubscribe from the mailing list.</p></div>