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.On 2 Jul 2017, at 23:38, Lucas Cordiviola <lucarda27@hotmail.com> wrote:>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).?we are only counting how many are pressed.Your patch does not tell anything about pitch.
no, that is exactly why i use it :-)>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?)Can you put 2 different values on the same array/table index at the same time?
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)For midi-channel 1, note 64, there is *only* one velocity possible, not more than one.
Mensaje telepatico asistido por maquinas.From: Simon Iten <itensimon@gmail.com>
Sent: Sunday, July 2, 2017 8:53 PM
To: Lucas Cordiviola
Cc: Cyrille Henry; pd-list@lists.iem.at
Subject: Re: [PD] legato portamentoyes, 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 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?)
> On 2 Jul 2017, at 22:21, Lucas Cordiviola <lucarda27@hotmail.com> wrote:
>
> <simon-notes-minimal.pd>