[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-users] sclang osc input port bonjour



actually 

	~si = ~siC.create__( "_osc._udp.", "SCLang", 57120, "SuperCollider Language Client" );

(with a trailing period).

scsynth registers that way if you tell it:

	s.options.zeroConf = true;
	s.boot;

unfortunately, the OSCService class doesn't seem to detect new registrations:

	OSCService.knownServices

just gives me the SuperCollider server, no additional ones. don't know what is the purpose of OSCService then... also has no documentation it seems.



ciao, -sciss-


Am 31.12.2009 um 00:21 schrieb Sciss:

> this you could try with swingOSC:
> 
> g.addClasses( "file:///Users/rutz/Downloads/jmdns-3.0/lib/jmdns.jar" );
> ~jmdnsC = JavaObject.getClass( "javax.jmdns.JmDNS" );
> ~jmdns = ~jmdnsC.create__;
> ~siC = JavaObject.getClass( "javax.jmdns.ServiceInfo" );
> ~si = ~siC.create__( "_osc._udp", "SCLang", 57120, "SuperCollider Language Client" );
> ~jmdns.registerService( ~si );
> 
> you need to download jmDNS for that and put the proper .jar url.
> 
> http://sourceforge.net/projects/jmdns/
> 
> 
> ciao, -sciss-
> 
> 
> Am 30.12.2009 um 13:31 schrieb Miguel Negrao:
> 
>> Hi
>> 
>> Is there way to make the sclang input port visible with bonjour, that is so that it shows up automatically to devices on the network, the same way that osculator does so that it’s easier to configure iphones and other such devices ?
>> 
>> thanks
>> Miguel Negrão
>> _______________________________________________
>> sc-users mailing list
>> 
>> info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
>> archive: https://listarc.bham.ac.uk/marchives/sc-users/
>> search: https://listarc.bham.ac.uk/lists/sc-users/search/
> 
> 
> _______________________________________________
> sc-users mailing list
> 
> info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
> archive: https://listarc.bham.ac.uk/marchives/sc-users/
> search: https://listarc.bham.ac.uk/lists/sc-users/search/


_______________________________________________
sc-users mailing list

info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-users/
search: https://listarc.bham.ac.uk/lists/sc-users/search/