Forums > MaxMSP

Alternatives to 'route'

January 24, 2009 | 6:57 pm

Hi all,

I’m trying to come up with a patch, and I’ve created a stumbling block. Maybe someone can point me in the right direction?

I’m looking for an object that can perform the same function as ‘route’, but can accept a ‘set’ message? I’ve already considered ‘forward’, but it doesn’t quite do what I need it do do.

To be more specific, I’m creating a patch for working with OSC messages and my Lemur. I’m essentially trying to build a ‘Midi-learn’ feature, but for an OSC device, so that while I’m using the object called ‘/Interface/Container1/Multiball’ (for example), I can press a button, and have MAX automatically create 3 objects, which would, ideally, be:

1. ‘route /Interface/Container1/Multiball/x’
2. ‘route /Interface/Container1/Multiball/y’
3. ‘route /Interface/Container1/Multiball/z’

Unfortunately, it would appear that route can’t receive a ‘set’ message. For awhile, I thought of using ‘forward’, but this also creates problems, as the destinations aren’t changeable.

Any ideas? To rephrase, I’m looking for the equivalent of ‘route’, but with the ability to receive ‘set’ messages.

Cheers,
Joel


January 24, 2009 | 7:26 pm

Hi Joel,

If you’re using OSC, use OSC-route (part of the CNMAT package). You can set it dynamically.

best,
Zachary


January 24, 2009 | 11:20 pm


January 24, 2009 | 11:24 pm



pm
January 25, 2009 | 2:01 am

I prefer this…


January 25, 2009 | 3:48 am

Here’s a [route] wrapper that lets you dynamically recreate it with new (and multiple) arguments:

http://tinyurl.com/d99vl5

lh


January 25, 2009 | 3:51 am

osc-route from CNMAT

p

joelsquare wrote:
> Hi all,
>
> I’m trying to come up with a patch, and I’ve created a stumbling block. Maybe someone can point me in the right direction?
>
> I’m looking for an object that can perform the same function as ‘route’, but can accept a ‘set’ message? I’ve already considered ‘forward’, but it doesn’t quite do what I need it do do.
>
> To be more specific, I’m creating a patch for working with OSC messages and my Lemur. I’m essentially trying to build a ‘Midi-learn’ feature, but for an OSC device, so that while I’m using the object called ‘/Interface/Container1/Multiball’ (for example), I can press a button, and have MAX automatically create 3 objects, which would, ideally, be:
>
> 1. ‘route /Interface/Container1/Multiball/x’
> 2. ‘route /Interface/Container1/Multiball/y’
> 3. ‘route /Interface/Container1/Multiball/z’
>
> Unfortunately, it would appear that route can’t receive a ‘set’ message. For awhile, I thought of using ‘forward’, but this also creates problems, as the destinations aren’t changeable.
>
> Any ideas? To rephrase, I’m looking for the equivalent of ‘route’, but with the ability to receive ‘set’ messages.
>
> Cheers,
> Joel
>
>
>

http://pure.test.at
http://www.myspace.com/pvre
http://www.heartchamberorchestra.org

http://www.trblnc.org


January 26, 2009 | 1:56 pm

Hi guys!

Thanks so much for your insight and suggestions. I will check these out.

Hugely appreciated,
Joel


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