sending same message to different [receive] objects

Apr 30, 2010 at 5:40pm

sending same message to different [receive] objects

…one by one – a [forward] task?

cheers!

-jonas

– Pasted Max Patch, click to expand. –
#50098
Apr 30, 2010 at 8:51pm

pattrforward may be a better approach – no receive objects, clearly defined hierarchical namespace.

#179865
Apr 30, 2010 at 8:58pm

Or use a single receive object name combined with route.

#179866
Apr 30, 2010 at 10:07pm

thanks for the replies! but I guess both approaches won’t do – at least not fully (for the [route] method simply loses in its looks, hehe).

I guess I’ll stick to my [sprintf] [forward] combination. thank you anyways!

all the best

-j

– Pasted Max Patch, click to expand. –
#179867
Apr 30, 2010 at 11:31pm

To be clear, I meant putting one route object in each subpatch. I often use a code style like that to simulate a “namespace hierarchy”.

I usually avoid the pattr objects as I believe they have some fundamental design mistakes.

For example:

– Pasted Max Patch, click to expand. –

I might add that generating symbol names through sprint is necessary in other circumstances, for instance generating unique names for colls and buffers inside abstractions.

I still believe that you should minimize the number of global symbols you use though, especially for receive objects.

#179868

You must be logged in to reply to this topic.