sending data to all poly~s

Dec 8, 2010 at 9:47pm

sending data to all poly~s

I have a poly~ object I’m using for granular playback, and have added a patcher to the poly~ patch to apply fades to the beginning and ends of each grain. A number box plugged into the second inlet determines how long the fades are.

When only one voice is used, it works fine. However, it appears that none of the other voices have the fades applied. How can I send the fade lengths to all of the voices?

Best,
-Zach

– Pasted Max Patch, click to expand. –
#53804
Dec 8, 2010 at 9:51pm

havent looked at the patch so maybe it is a dumb answer:

by sending “target 0″ to the poly before you change the parameter?

 -110

#193642
Dec 8, 2010 at 9:57pm

Welp. I haven’t entirely worked it out, but that seems to be working.

Just to make sure I get this: I just send the message “target 0″ into that inlet, and then any values i send after that will go to all the voices?

#193643
Dec 8, 2010 at 10:00pm

yes, “target 0″ means “to all voices”.

“into that inlet”, not.

into _any inlet of your choice (just use the leftmost all the time), and it
will make the poly instances (not just the inlet or what is behind) all
listen to input.

the helpfile is a bit cryptic but eventually check the help for “target” message.

#193644
Dec 8, 2010 at 10:06pm

 
example.

“target 1, note on notenumber 60 with velocity 100″
“target 2, note on notenumber 63 with velocity 100″
“target 1, note off notenumber 60″
“target 0, controller data which changes the filter frequency”
“target 3, note on notenumber 67 with velocity 100″

now if you use automatic voicing in your poly~, you wont need to use “target 1″, but
the “target 0″ message still works the same.
it will not interrupt your automatic voicing, and it has to be sent prior to any new
filter parameter.

-110

#193645
Dec 9, 2010 at 10:46am

Instead of sending the message target 0, followed by the intended message for all the instances of poly, I just use pairs of [send] and [receive] objects.

Put the [send] object in the main patch and a corresponding [receive] object in the poly patch… all instances will receive it.

#193646

You must be logged in to reply to this topic.