kslider: dynamic velocity list (so close yet so far)

phiol's icon

Hi all ,

As the title indicates, I'm trying to create a list of velocity values with the kslider.
I can use [bag] in combo with zl.group for storing and erasing key values

But since velocity values are constantly varying , I cannot use [bag] .
So I resorted to good old [coll] <- to try and create a bag equivalent but for velocity values.

As you'll see in my patch , I use the key value as the i.d. for velocity value <- that way I can delete it later.

It almost works , but I run into robustness issues when testing with preset and with a live keyboard and [notein]

(the end goal is to reproduce Logic Pro's arp MIDI FX. It has the velocity as played option)

Here is the patch:

Thank a lot in advance

Max Patch
Copy patch and select New From Clipboard in Max.






phiol's icon

figure it out by hacking away at someone else's patch

Max Patch
Copy patch and select New From Clipboard in Max.