I've made several different abstractions that were variations on the original MAX gate. Most of them use either a network of spigot-select pairs, or the route object. The route version is a little more efficient, I think. You have to pack the data to be routed and the data controlling the routing into a single stream using |pack|, and then |route| sends the second half of the message to the output designated by first half. This is admittedly very ad hoc and not particularly efficient. Can anyone suggest a better solution?
Greg NYU
Sergey wrote:
Hi, in Max there is an object called gate, where you can specify the number of "gated channels". is there something in PD, or is there a way to create an abstraction with variable amount of inputs? Thanks for any help... Serge
-- Greg Rippin, Graduate Assistant Music Technology Program New York University 35 West 4th Street, Suite 777 New York, NY 10012
phone 212-998-5422 fax 212-995-4043 musictechgrad.info@nyu.edu www.nyu.edu