Alternatives to 'route'

Jan 24, 2009 at 6:57pm

Alternatives to 'route'

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

#41916
Jan 24, 2009 at 7:26pm

Hi Joel,

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

best,
Zachary

#149655
Jan 24, 2009 at 11:20pm

#149656
Jan 24, 2009 at 11:24pm

#149657
Jan 25, 2009 at 2:01am

I prefer this…

#149658
Jan 25, 2009 at 3:48am

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

http://tinyurl.com/d99vl5

lh

#149659
Jan 25, 2009 at 3:51am

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

#149660
Jan 26, 2009 at 1:56pm

Hi guys!

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

Hugely appreciated,
Joel

#149661

You must be logged in to reply to this topic.