<div dir="ltr">Hi all,<div>i'm trying to build a polyphonic voice allocation patch that include sustain pedal (MIDI CC(64) ).</div><div>Is there any abstraction that i can look into?</div><div>My problems are :</div><div><br></div><div>1. How to deal with [poly] when the same note number is received (i.e, three C4 in a row)</div><div>[poly] always assign a new voice slot to the incoming notes.</div><div>I'm trying to make it assign the same voice slot when the same note number is received consecutively. I guess that i should mess with some arrays keeping track of note numbers and voice slots.</div><div><br></div><div>2. How to deal with sustain pedal.</div><div>In the "real" world as with keyboard instruments like piano, rhodes etc. the sustain pedal is used in different ways but the most common one is to press the pedal immediately after a chord or note is played and then release it when a new chord is played.</div><div>It can be used in more "effect" oriented ways.</div><div>Is there any patch or abstraction that i can look into? I guess i should use a combination of [stripnote] and arrays/table/list to keep track of the notes on and off events.</div><div>How this can be integrated with a polyphonic voice management with stealing algorithm etc. etc.?</div><div><br></div><div>thanks and all the best<br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><a href="https://elgallorojorecords.bandcamp.com/" target="_blank">www.elgallorojorecords.bandcamp.com/</a><br><div><a href="http://soundcloud.com/alfonsosantimone" target="_blank">soundcloud.com/alfonsosantimone</a></div><div><a href="http://www.facebook.com/alfonsosantimone" target="_blank">www.facebook.com/alfonsosantimone</a><br></div></div></div></div></div></div></div></div>