<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Tracking MIDI notes on multiple channels to handle note offs]]></title><description><![CDATA[<p>I'm working on a MIDI guitar project for disabled musicians that can apply chord changes to a stream of played MIDI notes that correspond to the 6 open strings on a guitar.  So, from my Bela based guitar I get only 6 notes (64 59 55 50 45 40) on 6 channels (2 to 7) along with the velocities, and those notes get transposed to the correct values based on a selected chord. When the string vibration drops below a threshold on the Bela based guitar, it sends the corresponding note with a zero velocity.</p>
<p>This all works fine, but I get stuck notes if a note is playing and there is a chord change before the notes are finished. I need to somehow track the notes that are playing so that when a new note comes in to a particular channel, it will send a zero velocity note to the previous value for that channel.  I've been hammering away trying to figure this out all day and getting nowhere.  I'm not the poly object helps here because I need to keep track of the notes by channel number rather than the arbitrary voice number of poly.</p>
<p>I've been trying to build up and tear down lists on the fly but it is messy and glitchy.</p>
<p>Any recommendations on tracking notes/channels so I can handle the notes off properly?</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/15897/tracking-midi-notes-on-multiple-channels-to-handle-note-offs</link><generator>RSS for Node</generator><lastBuildDate>Wed, 27 May 2026 19:52:29 GMT</lastBuildDate><atom:link href="http://forum.pdpatchrepo.info/topic/15897.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 26 May 2026 22:55:22 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Tracking MIDI notes on multiple channels to handle note offs on Tue, 26 May 2026 22:55:22 GMT]]></title><description><![CDATA[<p>I'm working on a MIDI guitar project for disabled musicians that can apply chord changes to a stream of played MIDI notes that correspond to the 6 open strings on a guitar.  So, from my Bela based guitar I get only 6 notes (64 59 55 50 45 40) on 6 channels (2 to 7) along with the velocities, and those notes get transposed to the correct values based on a selected chord. When the string vibration drops below a threshold on the Bela based guitar, it sends the corresponding note with a zero velocity.</p>
<p>This all works fine, but I get stuck notes if a note is playing and there is a chord change before the notes are finished. I need to somehow track the notes that are playing so that when a new note comes in to a particular channel, it will send a zero velocity note to the previous value for that channel.  I've been hammering away trying to figure this out all day and getting nowhere.  I'm not the poly object helps here because I need to keep track of the notes by channel number rather than the arbitrary voice number of poly.</p>
<p>I've been trying to build up and tear down lists on the fly but it is messy and glitchy.</p>
<p>Any recommendations on tracking notes/channels so I can handle the notes off properly?</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/15897/tracking-midi-notes-on-multiple-channels-to-handle-note-offs</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/15897/tracking-midi-notes-on-multiple-channels-to-handle-note-offs</guid><dc:creator><![CDATA[duchamp]]></dc:creator><pubDate>Tue, 26 May 2026 22:55:22 GMT</pubDate></item><item><title><![CDATA[Reply to Tracking MIDI notes on multiple channels to handle note offs on Tue, 26 May 2026 23:43:36 GMT]]></title><description><![CDATA[<p>Hi,<br />
have a look a this [poly] <a href="https://forum.pdpatchrepo.info/topic/5311/polyphonic-voice-management-using-poly" rel="nofollow">tutorial topic</a>.<br />
Nau</p>
]]></description><link>http://forum.pdpatchrepo.info/topic/15897/tracking-midi-notes-on-multiple-channels-to-handle-note-offs/2</link><guid isPermaLink="true">http://forum.pdpatchrepo.info/topic/15897/tracking-midi-notes-on-multiple-channels-to-handle-note-offs/2</guid><dc:creator><![CDATA[nau]]></dc:creator><pubDate>Tue, 26 May 2026 23:43:36 GMT</pubDate></item></channel></rss>