[sc-users] SwingOSC "custom"

Paolo Olocco mlist.po at gmail.com
Mon Sep 3 11:13:01 PDT 2007


Hi sciss,
my idea is create, in some way, an application in SC that receive (my) OSC
messages on tcp, like just udp does.
I have an application external from SC, a standalone java application, that
must send OSC messages to SC for manage another my app (in SC) that use
binaural AmbIEM enviroment.
I know that SC can't do the server on tcp and so, i had hope that the
SwingOSC server on tcp help me for this problem.
I hope that all are clear now.
Ciao,

Paolo 



Sciss wrote:
> 
> hi,
> 
> all versions from SwingOSC v0.44(?) upwards use TCP by default. You  
> can specify the protocol when running the server from terminal, using  
> the -u <udpPort> or -t <tcpPort> options respectively. if you boot  
> SwingOSC from within SuperCollider, you need to set it's options like  
> this:
> 
> g = SwingOSC.default;
> g.quit;
> g.options.protocol = \tcp; // or \udp
> g.boot;
> 
> i don't understand you 100%, are you instantiating your "external"  
> java classes through SwingOSC or you run your software separately? if  
> the latter, what exactly do you want SwingOSC to do?
> 
> SuperCollider can receive both TCP and UDP messages, however in TCP  
> the restriction is that your remote application be the server  
> (provides a TCP server socket to which sclang can connect).
> 
> ciao, -sciss-
> 
> 
> Am 03.09.2007 um 14:24 schrieb Paolo Olocco:
> 
>>
>> Hi,
>>
>> i have a little question, maybe stupid: can i "custom" SwingOSC  
>> server for
>> use my OSC messages with tcp?
>> This is because i know that SC don't work with tcp like udp.
>> I have a little set, maybe 7, maybe 8, of OSC messages that i send  
>> to my SC
>> app from an external app (java); i must send these with tcp  
>> protocol. These
>> messages can create an istance of my classes, or for example, play  
>> a buff.
>>
>> Can i do this?
>> Thanks
>> Paolo
>> -- 
>> View this message in context: http://www.nabble.com/SwingOSC-% 
>> 22custom%22-tf4371909.html#a12460851
>> Sent from the Supercollider - User mailing list archive at Nabble.com.
>>
>> _______________________________________________
>> sc-users mailing list
>> sc-users at create.ucsb.edu
>> http://www.create.ucsb.edu/mailman/listinfo/sc-users
> 
> _______________________________________________
> sc-users mailing list
> sc-users at create.ucsb.edu
> http://www.create.ucsb.edu/mailman/listinfo/sc-users
> 
> 

-- 
View this message in context: http://www.nabble.com/SwingOSC-%22custom%22-tf4371909.html#a12465106
Sent from the Supercollider - User mailing list archive at Nabble.com.



More information about the sc-users mailing list