Forums > MaxMSP

kslider: how to limit it ?

January 16, 2011 | 2:31 pm

hi,
does anyone know a trick for the [kslider]: I like to limit the number of polyphonic notes to a maximum of three notes ?

thanks °
bd


January 16, 2011 | 2:43 pm

You’ll have to precede it with a little logic. You can count how many note ons have been received and ignore further note ons until you get some note offs, or you could use a [zl queue] and make the fourth note on "pop" the first one from the buffer, reconstruct it into a note off, and send that message to the kslider. It just depends how you want it to behave.


January 16, 2011 | 4:08 pm

hi EasyMac,

thanks for the hints !
I will go this direction.

bd


Viewing 3 posts - 1 through 3 (of 3 total)