Data routing

Jay Simpson's icon

Hello everyone,

Does anyone know if there is any way to route data in the same way you would signals, when using matrix~ and matrixctrl? I want to be able to route the data from a key object to one of four select objects. But the data needs to be routed to one at a time, with only one select object receiving the data at any given moment.

Can anyone help as i've nearly chewed my teeth out trying to work it out?

Cheers

Jay

Here is what I mean:

Max Patch
Copy patch and select New From Clipboard in Max.

joshua goldberg's icon
roger.carruthers's icon

Router, in the standard distribution, or if your on a Mac, Panaiotis' matrix will also do the job - it's at:
http://members.aol.com/panaiotis/Projects/Max/MaxDocs/index. html

cheers
Roger

Jean-Francois Charles's icon
roger.carruthers's icon

Just noticed that router is NOT part of the standard
distribution, but is in fact a Jitter object.
However, I think it's one of those like jit.cellblock
that you can keep after the trial version of Jitter
runs out.
This info, btw, I gleaned from searching for the word
'matrix' at www.maxobjects com ('cos i couldn't
remember the name of router) - a top tip for any such
query,
cheers
Roger

Jay Simpson's icon

Sorry folks. Does router work in the same way as matrix~?

Edit:

Whoops. Thanks for the info folks. I have router and it does indeed work exactly as matrix~ for my needs. I can be so stupid! I did read the help file but it suggested that it didn't so I gave up.

Thanks again

Jay

Jean-Francois Charles's icon

Sorry guy, see help file and reference (Max reference).

Thijs Koerselman's icon

While you're checking the docs on "router", look for "forward" too. Routing
one source to one destination and having it variable its all you need.

-thijs

Jay Simpson's icon

Thanks for your help, i've got it working just fine for what I wanted. Here is the code if anyone is interested or needs it:

Max Patch
Copy patch and select New From Clipboard in Max.

Falk's icon
Jay Simpson's icon

In reply to the above:

Ermmmmmmm...... yes, yes it is!

barry threw's icon

You know, you can set "only one cell per column" in the inspector for
the matrix object, and then the whole top portion of your patch is
unnecessary.

b

--
barry threw :: sound | (if you would see the stars clearly,
http://www.barrythrew.com | look hard at the surrounding darkness)
bthrew(at)gmail(dot)com |      -Ooka Makoto
857-544-3967 |

Jay Simpson's icon

Thank you all. I have gone with the gate patch, as it's nice and simple and does exactly what I need. Once again thank you.

Jay