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

Re: [sc-users] s.meter on remote server (swingosc)?



reverse case is also fixed now:

g = SwingOSC( \remote, NetAddr( "192.168.0.3", 57111 ));
// wait till it says "connected"

SwingOSC.default = g;
s.waitForBoot({
	GUI.useID( \swing, { s.meter });
});

(scope and freqScope need to wait for switch to JCollider though, they are still operating on a more low level API)



Am 29.07.2009 um 22:39 schrieb Sciss:

it works! problem is s.serverRunning reports false, so swing is waiting for the server to come up....

try this:

s = Server( \remote, NetAddr( "192.168.0.3", 57110 )); // or your remote address here
Server.default = s;
s.notify;
s.startAliveThread; // this will put s.serverRunning to true eventually
s.serverRunning;  // --> wait until that's true

GUI.swing;
s.meter;

x = Synth( \default );  // should do
x.free;


as i said, the opposite way (swingOSC remote) has still some issues, but i'm glad at least this works.

ciao, -sciss-



Am 29.07.2009 um 22:01 schrieb nescivi:

On Wednesday 29 July 2009 15:53:01 Sciss wrote:
supposed yes, but doin' no ;-)

http://sourceforge.net/tracker/?
func=detail&aid=2820946&group_id=155586&atid=796403

... i had recently a situation where i would have loved it to work,
so i will definitely fix this. is a little bit tricky, because s.addr might return NetAddr(127.0.0.1, 57110) for sclang, but if swingOSC is
running remotely, it will need to be translated into the correct IP
address. stupidly, if i create a Server with the local IP address, i
cannot boot it anymore, since s.isLocal will return false (this is a
bug IMO). so.... JSCSynth needs a tweak here...

In my situation SwingOSC is running locally, and scsynth is remote.

r = Server.new(\chris, NetAddr( "192.168.0.101" ,57110), clientID: 1 );
r.addr -> returns the netaddr as defined
r.isLocal -> false

The SwingOsc window shows up, and group gets created on the remote scsynth,
but no synth shows up in there.

sincerely,
marije


ciao, -sciss-

Am 29.07.2009 um 21:45 schrieb nescivi:
Hiho,

is
s.meter

supposed to work with a server running on another machine,
using SwingOSC?

sincerely,
Marije

_______________________________________________
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/


_______________________________________________
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/