hi
I'm using netreceive and try to use a single subpatch that could receive certain messages on different machines...
I wonder if one of you did modify the ROUTE object in order to dynamically change the routing arguments... for example by sending a message like this :
set 1 symbol ( to define the first argument)
I'm not very friendly with object programming... so...
If anyone did this trick please share your new route object !
thanks a lot.
fabrice gallis
slow schrieb:
I wonder if one of you did modify the ROUTE object in order to dynamically change the routing arguments...
You could mis-use 'nroute' from maxlib. [nroute foo 1] is identical to [route foo] with the difference that you can change 'foo' dynamically via massage in second inlet. But then you would need seperate nroute objects for every argument you want to route since it only supports one...
Olaf
hi,
perhaps an abstraction with a [route $1 $2...] in it would be a more straightforward choice?
If not, a [coll] or similar driving a [gate <nouts>] seems like a router flexible enough in most cases.
Krzysztof
slow wrote:
hi
I'm using netreceive and try to use a single subpatch that could receive certain messages on different machines...
I wonder if one of you did modify the ROUTE object in order to dynamically change the routing arguments...