There was a discussion on about this in the bug tracker recently. This is my suggestion - adding the SD to the Score: ( var f, o, sd; sd = z = SynthDef("helpscore",{ arg freq = 440; Out.ar(0, ) }).asBytes; g = [ // add the SynthDef [0, [\d_recv, sd]], [0.1, [\s_new, \helpscore, 1000, 0, 0, \freq, 440]], [0.2, [\s_new, \helpscore, 1001, 0, 0, \freq, 660], [\s_new, \helpscore, 1002, 0, 0, \freq, 880]], [0.3, [\s_new, \helpscore, 1003, 0, 0, \freq, 220]], [1, [\c_set, 0, 0]] // finish ]; o = ServerOptions.new.numOutputBusChannels = 1; // mono output Score.recordNRT(g, "/tmp/help-oscFile", "~/Desktop/helpNRT.aiff".standardizePath, options: o); // synthesize ) Josh
******************************************
/* Joshua D. Parmenter http://www.realizedsound.net/josh/ “Every composer – at all times and in all cases – gives his own interpretation of how modern society is structured: whether actively or passively, consciously or unconsciously, he makes choices in this regard. He may be conservative or he may subject himself to continual renewal; or he may strive for a revolutionary, historical or social palingenesis." - Luigi Nono */
|