<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 2 Jul 2017, at 23:38, Lucas Cordiviola <<a href="mailto:lucarda27@hotmail.com" class="">lucarda27@hotmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div id="divtagdefaultwrapper" dir="ltr" style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; font-size: 12pt; font-family: Calibri, Helvetica, sans-serif;" class=""><blockquote style="margin: 0px 0px 0px 40px; border: none; padding: 0px;" class=""><p style="margin-top: 0px; margin-bottom: 0px;" class=""></p><div class=""><i class="">>yes, but the array solution is more robust since it takes pitch into account as well, so it works with multiple note ons and offs for the same note (and a mismatch of those).</i></div><p style="margin-top: 0px; margin-bottom: 0px;" class=""></p></blockquote><p style="margin-top: 0px; margin-bottom: 0px;" class=""></p><div class=""><br class=""></div><div class="">?</div><div class="">we are only counting how many are pressed. </div><div class="">Your patch does not tell anything about pitch.</div></div></div></blockquote>well my array based approach sets a boolean value for each pitch, while the other approach just counts note ons and offs regardless of pitch.</div><div>hence in the array solution two note ons of the same pitch will still result in a 1 and in the other approach in a 2.</div><div><blockquote type="cite" class=""><div class=""><div id="divtagdefaultwrapper" dir="ltr" style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; font-size: 12pt; font-family: Calibri, Helvetica, sans-serif;" class=""><div class=""><br class=""></div><p style="margin-top: 0px; margin-bottom: 0px;" class=""></p><blockquote style="margin: 0px 0px 0px 40px; border: none; padding: 0px;" class=""><p style="margin-top: 0px; margin-bottom: 0px;" class=""></p><div class=""><i class="">>i think it is not totally clear if a note off for a given pitch should mute all the notes sounding at that pitch. (can there sound more then one note on the same pitch on the same instrument?) </i></div><p style="margin-top: 0px; margin-bottom: 0px;" class=""></p></blockquote><p style="margin-top: 0px; margin-bottom: 0px;" class=""></p><div class=""><br class=""></div><div class="">Can you put 2 different values on the same array/table index at the same time?</div></div></div></blockquote>no, that is exactly why i use it :-)<br class=""><blockquote type="cite" class=""><div class=""><div id="divtagdefaultwrapper" dir="ltr" style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; font-size: 12pt; font-family: Calibri, Helvetica, sans-serif;" class=""><div class=""><br class=""></div><div class="">For midi-channel 1, note 64, there is *only* one velocity possible, not more than one.</div></div></div></blockquote>yeah but you can send two note ons 64 after each other, and then one note off 64, what should happen? (for example if you merge two midi-streams)<br class=""><blockquote type="cite" class=""><div class=""><div id="divtagdefaultwrapper" dir="ltr" style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; font-size: 12pt; font-family: Calibri, Helvetica, sans-serif;" class=""><br class=""><p style="margin-top: 0px; margin-bottom: 0px;" class=""></p><div style="margin-top: 0px; margin-bottom: 0px;" class=""><br class=""></div><div id="Signature" class=""><font face="Courier New, Courier, Monospace" size="2" class="">Mensaje telepatico asistido por maquinas.</font></div><br class=""><br class=""><div style="" class=""><div class=""><hr tabindex="-1" style="display: inline-block; width: 618.375px;" class=""><div id="x_divRplyFwdMsg" dir="ltr" class=""><font face="Calibri, sans-serif" style="font-size: 11pt;" class=""><b class="">From:</b><span class="Apple-converted-space"> </span>Simon Iten <<a href="mailto:itensimon@gmail.com" class="">itensimon@gmail.com</a>><br class=""><b class="">Sent:</b><span class="Apple-converted-space"> </span>Sunday, July 2, 2017 8:53 PM<br class=""><b class="">To:</b><span class="Apple-converted-space"> </span>Lucas Cordiviola<br class=""><b class="">Cc:</b><span class="Apple-converted-space"> </span>Cyrille Henry; <a href="mailto:pd-list@lists.iem.at" class="">pd-list@lists.iem.at</a><br class=""><b class="">Subject:</b><span class="Apple-converted-space"> </span>Re: [PD] legato portamento</font><div class=""> </div></div></div><font size="2" class=""><span style="font-size: 10pt;" class=""><div class="PlainText">yes, but the array solution is more robust since it takes pitch into account as well, so it works with multiple note ons and offs for the same note (and a mismatch of those).<br class="">i think it is not totally clear if a note off for a given pitch should mute all the notes sounding at that pitch. (can there sound more then one note on the same pitch on the same instrument?)<br class=""><br class="">> On 2 Jul 2017, at 22:21, Lucas Cordiviola <<a href="mailto:lucarda27@hotmail.com" class="">lucarda27@hotmail.com</a>> wrote:<br class="">><span class="Apple-converted-space"> </span><br class="">> <simon-notes-minimal.pd></div></span></font></div></div></div></blockquote></div><br class=""></body></html>