Why didn't anybody tell me....

Learn about building and using Max for Live devices.
Post Reply
charlybeck
Posts: 114
Joined: Sat Sep 18, 2010 1:42 pm

Why didn't anybody tell me....

Post by charlybeck » Fri Aug 02, 2013 3:55 pm

that send and receive work globally - over all devices....

Thought they only send to receivers in the current patch.... guess what happened, when i added two instances of my device ;-)

btw. here are some sound examples of my device i'm currently building...

https://soundcloud.com/charly-beck/char ... er-fx-demo

https://soundcloud.com/charly-beck/charlynator-betatest

S4racen
Posts: 5987
Joined: Fri Aug 24, 2007 4:08 pm
Location: Dunstable
Contact:

Re: Why didn't anybody tell me....

Post by S4racen » Fri Aug 02, 2013 4:40 pm

try r ---aname and s ---aname to have the send and receive only communicate within the device they reside!

Cheers
D

greaterthanzero
Posts: 105
Joined: Tue Apr 09, 2013 5:48 pm

Re: Why didn't anybody tell me....

Post by greaterthanzero » Fri Aug 02, 2013 8:27 pm

S4racen wrote:try r ---aname and s ---aname to have the send and receive only communicate within the device they reside!
More than try; do that religiously. The only time you should ever have a send/receive pair without the '---' prefix is when you explicitly want to send across devices.

(the constraint on scope imposed by '---' reduces a ton of latency)

charlybeck
Posts: 114
Joined: Sat Sep 18, 2010 1:42 pm

Re: Why didn't anybody tell me....

Post by charlybeck » Sat Aug 03, 2013 10:44 pm

ah ok. i allready changed all to 'prepend' and 'route' to communicate over cables. each patcher has a msg.in inlet and a msg.out outlet and they are all connected to each other through a bus. that works too.

anstahc
Posts: 15
Joined: Sat Mar 09, 2013 7:04 pm

Re: Why didn't anybody tell me....

Post by anstahc » Sun Aug 04, 2013 1:04 am

With the --- prefix the message is still being sent across devices over here. What gives?

anstahc
Posts: 15
Joined: Sat Mar 09, 2013 7:04 pm

Re: Why didn't anybody tell me....

Post by anstahc » Sun Aug 04, 2013 1:12 am

Nevermind -- save the patches first. Durr

jrs1
Posts: 37
Joined: Wed Mar 17, 2010 9:46 pm

Re: Why didn't anybody tell me....

Post by jrs1 » Wed Aug 07, 2013 10:48 pm

Yes I recommend this to everyone. I just updated a monster patch where I did not follow this rule (because I only learnt it half way through building).

But if you have a monster patch, you can kind of automatically convert all Send/ Receive to have '---' prepended to them.

Save your patch as a text file.

Open the text file ina text editor (PC notepad, Mac TextEdit)

Do a search + replace function (CTRL F probably) and search for the name of your send box. Replace the text with ---NAME. Replace All.

Now select all of the edited text and go to Max - File New from Clipboard. Voila! Now you can save the device.

Maybe double check the results using the built in Search tool in Max.

Post Reply