Sending OSC message from Javascript
I am trying to send an OSC message using javascript but I am not sure how to get this to work. I have a patch with an [udpsend] object and if I manually send it a message using a message box it works fine. Example [/test TEST2.wav]. However if I try to code this in Javascript I cannot get it working. Any suggestions on how the syntax should be for the message?function sendOSCMessage(){
this.patcher.getnamed("sn_udpsend1").message( "/test " + "TEST2.wav );
}
You need a closing quote (") after TEST2.wav