// doesn't work with internal
Server.default = s = Server.internal
s.boot
Pbind(
\degree, Pseq([1,3,5,7], inf),
\dur, 0.25,
\octave, 4,
\root, 3
).play
*** ERROR: SynthDef default not found
FAILURE s_new SynthDef not found
FAILURE n_set Node not found
*** ERROR: SynthDef default not found
FAILURE s_new SynthDef not found
FAILURE n_set Node not found
etc.
the problem is :
on start up the Event makes the default synth def and uses SynthDef::store
var file = File(path, "w");
protect {
bytes = this.asBytes;
file.putAll(bytes);
file.close;
lib.read(path);
lib.servers.do { arg server;
server.value.sendBundle(nil, ["/d_recv", bytes] ++ completionMsg)
};
} {
file.close
}
which I think is a bit odd. its writing to a file, and then its sending the bytes to server(s) which are possibly asleep.
on startup they are definitely asleep.
and the internal server doesn't load synth defs when it starts up, does it ?
-f;lix