« Return to Thread: Flash + scsynth

Re: Flash + scsynth

by Stefan Nussbaumer-3 :: Rate this Message:

Reply to Author | View in Thread

Schell schrieb:
> Hi, I'm a Actionscript guy and I'm trying to hook up my swf to scsynth. I've
> established a connection to scsynth by starting it up with:
>
> ./scsynth -t 57120
>  

you're trying to send osc commands from flash to sc, right? basically i
believe you should have a look at the server-command reference in the sc
helpfiles. commands have to be in compliance with the specified
namespaces i believe (e.g. "/s_new, "/n_free", "/quit etc.). i've no
idea about as3's osc capabilities but i believe there must be ways.
there's a nice little example documented for processing:
http://processing.org/discourse/yabb_beta/YaBB.cgi?board=Integrate;action=display;num=1133669730 
(http://tinyurl.com/ymfph4 ). not as3 though basic principles probably
apply to as3 as well ...

perhaps there are others, who know more than me ...

good luck, stefan

> Then I establish a socket connection using as3's binary socket class, but
> disconnecting is a different story. I can't just close the connection
> because it causes scsynth to panic, and I get this:
>
> ...
> command FIFO full
> command FIFO full
> command FIFO full
> command FIFO full
> command FIFO full
> command FIFO full
> command FIFO full
> command FIFO full
> command FIFO full
> command FIFO full
> command FIFO full
> FAILURE +nL Command not found
> command FIFO full
> FAILURE {5 Command not found
> FAILURE {5 Command not found
> FAILURE {5 Command not found
> Broken pipe
>
> I was just wondering if anyone has tackled this and could tell me what kind
> of messages I should be sending for a graceful disconnect, then I will learn
> more about sending some well formed OSC messages.
>
>  
> ------------------------------------------------------------------------
>
> _______________________________________________
> sc-users mailing list
> sc-users@...
> http://lists.create.ucsb.edu/mailman/listinfo/sc-users
>  


--
=+=+=+=+=+=+=+=+=+=+=+=+=
Stefan Nussbaumer
Johnstrasse 18/2a
A-1150 Vienna
Austria
-------------------------
T:     +43 (0)1 956 20 35
M: +43 (0)699 11 33 41 79

_______________________________________________
sc-users mailing list
sc-users@...
http://lists.create.ucsb.edu/mailman/listinfo/sc-users

 « Return to Thread: Flash + scsynth