Setting the number of sliders in "Multislider"

Giuseppe's icon

Hello everybody, I am wondering if it's possible to set in realtime the number of sliders in a Multislider. For instance, I would like the number of sliders to be set from the output of a Kslider, according to the number of notes I play in poliphonic mode. Thank you

tyler mazaika's icon

From the documentation for multislider:

list

Arguments

input [list]

Sets each slider to a corresponding value in the list from left to right, with the first value in the list setting the first slider. If the multislider has a different number of sliders than is present in the list, the number of sliders is changed to the number of items in the list. In such a case, the outside dimensions of the multislider will not change, only the width or height of the sliders.

Source Audio's icon

You can also resize multislider width according to number of held notes in real time.
But you have to create list of currently held notes
(and velocities ?) in first place.

Giuseppe's icon

Thank, you, now it's clear