I'm sure that most of us have wished for a tool like this before, so I tried my hand at patching it. My aim was to create a single object that can hold an arbitrary number of sliders, defined by the right inlet, which are all sent to output as a list.
Unfortunately, it's not perfect: there are two flaws which prevent [multisl] from functioning like a proper abstraction.
- You can't use more than one [multisl] object at the same time. I wasn't able to get the $0's working correctly here, and I don't think that it's possible with this design. I can explain why below if anyone is interested. --edit: fixed!!
- You can re-size [multisl] using creation arguments, but it gets ugly. PD asks if you want to save the multisl.pd file, and I don't know how to get around this one. I'm using [donecanvasdialog( to re-size the GOP window, but this trips the save query. Additionally, moving a resized [multisl] sometimes pulls the canvases apart (I don't know why!) --edit: fixed!!
These problems aside, [multisl] works well, and might be useful to someone who wants to build a sampler.
Here, [multisl] is placed behind the array, to define four (or any) number of points along it.
multisl-1.2.zip edit: v 1.2 incorporates the two fixes mentioned above.