hello all
noob question. I'm working in Pd-ceammc_2021 on an audio patch. I want to make or find an object that receives a bang and then outputs a bang randomly to 1 of 5 different outlets. So that it bangs different messages randomly. What am I looking for?
thanks much,
jjr
-
random gates ??
-
@WEIRD1 Pd-ceammc is still based on Pd vanilla I think so all standard objects should be available.
[random] is the object you need..... and [random 5] ...... five is its "argument".... will output numbers (floats) 0 - 4
[select] is a router........ that outputs a bang on an outlet determined by the float it receives.
It can do the same for symbols too..... but that is for another day. [sel] is the same... less to type.Pd objects are generally really well named (for English speakers).
As you see in the screenshot....... you probably would have guessed the correct objects immediately.The screenshot will look strange to you..... [select 0 1 2 3] has 5 outlets and I didn't put "4".... why?
Right-click any object for help with how to use it.
David. -
@whale-av wow! thanks a lot, exactly what I was looking for.