Forums > MaxMSP

send~ receive~ problems

January 16, 2013 | 10:42 am

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]

  1. audioreceive.JPG

January 16, 2013 | 3:55 pm

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.

January 16, 2013 | 10:12 pm

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

January 17, 2013 | 6:20 am

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

January 17, 2013 | 5:38 pm

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]

January 18, 2013 | 2:13 pm

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.

Viewing 6 posts - 1 through 6 (of 6 total)