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

[sc-users] sync with server



Hi, 
this maybe is a bizarre question, anyway...

Sometimes asynchronous commands are welcome, sometimes (for me) not.
 Is there a way to force syncing between sclang and scsynth, apart form completion? 

I mean, if you evaluate this:

SynthDef(\some, { etc}).send(server) ;
// sclang wait until server has compiled, then
Synth(\some) ;

Or it's just the way architecture is and that's all?
(That would mean that each time the server is called it blocks the sclang thread until it sends back something like a completion message)

Best

-a-


--------------------------------------------------
Andrea Valle
--------------------------------------------------
CIRMA - DAMS
Università degli Studi di Torino
--------------------------------------------------
" This is a very complicated case, Maude. You know, a lotta ins, a lotta outs, a lotta what-have-yous." 
(Jeffrey 'The Dude' Lebowski)