Hi John,
> 1) Does the scserver print to the std out when it has recieved a connection
> request?
I don't think so. The client (SCLang) doesn't "connect" directly to the server (scsynth). It writes to the socket where scsynth listens.
> 2) Does it barf and tell you there's an error when you send a malformed
> request?
If you start scsynth yourself from the terminal, yes.
> 3) What is the proper format to send messages in?
I'm not sure what format Perl's Net::OpenSoundControl module wants. You can download and install sendOSC (and dumpOSC) from CNMAT:
http://www.cnmat.berkeley.edu/OpenSoundControl/and run the following from the terminal:
%cd path/to/scsynth
%./scsynth -u 57110
in a separate terminal:
%sendOSC -h localhost 57110 /dumpOSC,1
%sendOSC -h localhost 57110 /g_new,1000
%sendOSC -h localhost 57110 /n_free,1000
%sendOSC -h localhost 57110 /n_free,1000
%sendOSC -h localhost 57110 /dumpOSC,0
%sendOSC -h localhost 57110 /quit
and review the results in the first window.
N.B. the use of commas for sendOSC is different that in SuperCollider (which uses space to separate the elements of and OSC message). Again, I'm not sure about the format for Perl's library.
In SCLang, see the documentation for Server Command Reference for more details about supported commands in SC.
-Brian
> ----- Original Message -----
> From: "mr.proxxxy" <
mr.proxxxy@...>
> To:
sc-users@...
> Subject: [sc-users] OSC tutorial?
> Date: Sun, 14 Oct 2007 16:46:00 -0700 (PDT)
>
>
>
> new to supercollider -
>
> I'm about halfway through the music examples with supercollider, and as I'm
> on unix, I don't have the option of making guis with sc itself.
>
> I'm working with the Net::OpenSoundControl module in Perl.
> I'm trying to connect to the SC Server and send messages, but I'm not
> getting any confirmation from either end.
>
> 1) Does the scserver print to the std out when it has recieved a connection
> request?
> 2) Does it barf and tell you there's an error when you send a malformed
> request?
> 3) What is the proper format to send messages in?
>
> Looking through the mail logs her and looking through the tutorials on
> sourceforge didn't really seem to give a clear picture as to what was going
> on. Does anyone have any suggestions or thoughts as to how I can get started
> and make sure I'm getting the proper feedback from the server?
>
> thanks!
> John
> --
> View this message in context:
>
http://www.nabble.com/OSC-tutorial--tf4623790.html#a13204757> Sent from the Supercollider - User mailing list archive at Nabble.com.
>
> _______________________________________________
> sc-users mailing list
>
sc-users@...
>
http://www.create.ucsb.edu/mailman/listinfo/sc-users>
_______________________________________________
sc-users mailing list
sc-users@...
http://www.create.ucsb.edu/mailman/listinfo/sc-users