Closed miguel-negrao closed 12 years ago
Not working:
x = Udef(\aNiceUdef, { UOut.ar(0, SinOsc.ar(\freq.kr(400) ) ) }) ; y = U(x, [\freq,400]); y.loadDef = true; y.prepareAndStart(s)
*\ ERROR: SynthDef u_aNiceUdef not found FAILURE IN SERVER /s_new SynthDef not found
loadDef is a classvar. Not settable per U:
x = Udef(\aNiceUdef2, { UOut.ar(0, SinOsc.ar(\freq.kr(400) ) ) }) ; y = U(x, [\freq,400]); U.loadDef = true; y.prepareAndStart(s)
works
Not working:
x = Udef(\aNiceUdef, { UOut.ar(0, SinOsc.ar(\freq.kr(400) ) ) }) ; y = U(x, [\freq,400]); y.loadDef = true; y.prepareAndStart(s)
*\ ERROR: SynthDef u_aNiceUdef not found FAILURE IN SERVER /s_new SynthDef not found