Forums > MaxMSP

Triggering buttons 1 to 8 randomly

Feb 03 2013 | 8:46 pm

Hi, i have put a patch together that triggers various chords when you press buttons. i have been trying unsuccesfully to get the 8 buttons to trigger randomly and automatically. i have managed to use metro to trigger the buttons, but what i have been unsuccessful with is trying to get the 8 buttons to trigger randomly one at a time to automatically play the chords. is there an object similat to selector~ that could be used for this purpose along with metro. I have also been using the random not really sure what to do with it, sorry if ive not explained it properly any advice would be very apreciated.

Thanks :)

Feb 03 2013 | 10:07 pm

Wouldn’t something like [random 8]->[sel 0 1 2 3 4 5 6 7] do the trick? Then just connect the eight outlet from the [sel] to your eight buttons.

Feb 06 2013 | 1:23 pm

ill Give it a try thanks for the response :)

Viewing 3 posts - 1 through 3 (of 3 total)

Forums > MaxMSP