[PD] List with variable number of floats

João de Brito Rocha Reis Vidigal jbvidigal at gmail.com
Tue Aug 17 17:30:00 CEST 2010


Here I am again!!!

This time with a list problem! Or at least I think it's a list problem!

Here's what I wanna do:

I have 18 slot for audio and video to play. There can be one playing, none or even um to the 18.
These slots are to be triggered randomly.
Is there a possibility of storing the ID of the slots already triggered? Like a list? The thing is that if it is a list it would have to have a variable number of floats (wouldn't it?).
Why do I need this? Because after triggering a random slot ON I want to trigger a random slot OFF. So, I have to know what are the slots triggered on in order to trigger one of these OFF and not one 18. Otherwise I could end up triggering off a slot that was never on!
As well I need to know witch ones are OFF to randomly select and turn one on.

I don't know if was very clear!!! I hope so!
Thanks guys!


More information about the Pd-list mailing list