Limit [kslider] polyphony

Jan 31, 2014 at 9:07am

Limit [kslider] polyphony

Is there a way to limit the polyphony of a [kslider] in polyphonic mode? In essence, a way to incorporate a kind of cycling function, so that only n number of notes can be held at a time.

I’m using a [kslider] as a UI object to set a range. I would like the [kslider] to display the last two notes clicked and no more, while outputting them into a list.

Here’s what I have so far, but it’s pretty clunky. And the output is a cycle behind…Is there a better way to do this?

<code>

– Pasted Max Patch, click to expand. –

</code>

#279695
Jan 31, 2014 at 9:28am

An improvement….

<code>

– Pasted Max Patch, click to expand. –

</code>

#279697
Jan 31, 2014 at 2:34pm

Take a look at the poly object (not poly~).

#279732

You must be logged in to reply to this topic.