Forums > MaxMSP

bang through OSC

Oct 12 2009 | 1:51 pm

Hey all,

I need to send a bang through the OSC protocol. Is there a way to tell max not to evaluate a "bang" message?

let me explain what my small problem is,

sending "/x/y bang" evidently works fine, but what i need is "/x/y $1" and feed it a bang message.

tried converting to string, symbol, etc.. but max always seems to evaluate it as a standard bang.

i have no way to change the receiving patch to convert another kind of input to a bang (which would be more convenient, i agree).

thanks for any help and/or suggestions!


Oct 14 2009 | 8:55 am

posts like these used to get a reply very quickly on the old max list, i guess no one comes to the forum..

well i’ve found my answer somewhere else and i’m posting it in case someone wants to know: there is apparently no way to tell max not to evaluate a bang message..

this is done very easily in PD sending a "foo bang" message, so i guess i’m just gonna translate my patch to PD.


Oct 14 2009 | 7:36 pm

this is actually pretty clever but it isn’t what i need. for many reasons i will not list here, i need $1 to be changed to "bang" inside a preformatted message box (/x/y $1).

thanks for replying though, i feel less alone! ;)


Oct 14 2009 | 8:37 pm

yeah, this is good in most situations but i really need that $1 in that preformatted message! ;)

i could probably use a workaround in the line of what you proposed, but i’m the stubborn kind and like my patches with less boxes.

since PD can do it so effortlessly, why can’t max? i don’t get it.. maybe i’m missing a bigger issue linked to the inward working of PD vs Max?

Oct 15 2009 | 4:55 pm

Use OSC-unroute. It’s a javascript, downloadable from

It does what you want.


Oct 15 2009 | 5:16 pm

brilliant! works like a charm.


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

Forums > MaxMSP