At present, no you can't. We decided to do it "the android way" by
making scsynth into a Service with which you communicate by sending
Intents - it's still OSC but carried on a different transport.
Actually just a couple of days ago me and Alex realised it appears
possible to get the service listening on a network port, which would
make it behave a lot more like "traditional" scsynth. People could
then communicate from desktop sclang, or from whichever other OSC
network clients, so it would open up a lot more possibility... so it
seems we should do it. I think Alex is looking at it.
If you're keen on Android then you might think about communicating
"the android way" by taking the AIDL interface and using it to pass
intents. (Check ISuperCollider.aidl and OscMessage.java.) But if we
can enable the traditional way of communicating then I suspect that
would be the biggest benefit for all.
BTW for those who aren't on the sc-users list here's the video Sciss
just posted of what he's working on :)
http://www.youtube.com/watch?v=hx4ROHHT7k0
Dan
2010/8/20 itemState <annabl...@yahoo.de>:
Great! This is fab. Now I can use sc-android like any remote server
from my laptop (some simple code below).
I've taken the liberty of changing the port for the default activity
to 57110 (that's the conventional port index used by scsynth on
desktops - I'm assuming that 4040 was an arbitrary choice).
~addr = NetAddr("192.168.254.20", 57110); // ip addr for my phone
Server.default = s = Server(\phone, ~addr);
s.startAliveThread;
s.notify;
s.queryAllNodes
// The activity creates a default synth:
s.sendMsg(\n_set, 1000, \freq, 1550.rand, \amp, 0.1)
s.sendMsg(\n_free, 1000) // Get rid so we can do other stuff...
s.queryAllNodes
x = {PinkNoise.ar * SinOsc.ar(0.1).range(0,1)}.play(s)
x.free
z = {BrownNoise.ar * SinOsc.ar(0.0831).range(0,0.4)}.play(s)
z.free
s.quit // The sc activity gracefully exits - nice
Dan
2010/8/22 Alex Shaw <glasto...@googlemail.com>: