send~ receive~ problems

Jan 16, 2013 at 10:42am

send~ receive~ problems

Hi i am a new user (lame duck) and this is my first post. I am trying to implement a listening test interface for multichannel systems using different amounts of outputs. I have eight buttons which a person can press to play eight different surround systems, these trigger the playback corresponding to the different sfplay output objects. Each of the systems output is connected to the dac object using the send~ receive~ however when i test to see if the right amount of outputs are appearing in my audio interface this is not the case. I have tried connecting the sf play directly to the dac using a patch cord and this then gives the correct number of outputs corrsponding to the system, however doing this for eight different systems would be unmanagable as i was also hoping to include a subpatch to tidy up the different system outputs.

Does anyone know why using the send~ and receive~ is causing the wrong amout of outputs?

Thank you in advance!

Some pics are included to help show what i mean….

[attachment=212568,4900] [attachment=212568,4901]

Attachments:
  1. audioreceive.JPG
#66084
Jan 16, 2013 at 3:55pm

Not sure I understand exactly your issue. However, the send~ and receive~ objects take only one argument. When you say [send~ Left Back D] it would be the same as [send~ Left]; the rest is ignored.

#237936
Jan 16, 2013 at 10:12pm

Thanks for the info, i have used different names because i have to route different channels to different speakers, but infact the wrong naming convention could have been the problem…….. i will correct and see where that takes me.

Thanks again

#237937
Jan 17, 2013 at 6:20am

you must definetly not use the space character in names :)

#237938
Jan 17, 2013 at 5:38pm

As opposed to suggesting what you should NOT do since that doesn’t actually answer the question (Sorry, Roman) let me suggest what you actually might want to do.

Replace those spaces with underline characters so you get such names as

[Receive~ Left_Front_D]

That way you will maintain readability and still have meaningful names. Alternatively, you could just use camel cap names without the underlines, e.g.

[Receive~ LeftFrontD]

#237939
Jan 18, 2013 at 2:13pm

Alternately, you can use spaces you use quotation marks: [receive~ "Left Front D"].

Max 101: a space *separates* different symbols. Writing something like [receive~ Left Front D] is initializing the object with three symbol arguments (as jvkr pointed out). Not only would receive~ ignore the last two, you would have been getting warning messages in your Max window. Ignore warnings at your own peril.

This is all covered in the Tutorials. You’ll save yourself a lot of trouble if you give these some quality time.

#237940

You must be logged in to reply to this topic.