[sc-users] a beginner's question about NRT

iqeda takmi iqedat at yahoo.co.jp
Mon Jul 3 11:29:29 PDT 2006


Hello everyone,

I started to learn SC3 a few weeks ago.

The following codes do not work well.
Nothing is recorded... What is wrong?

>>

SynthDef("peb",{
	var b, trate, dur,tg,ins;
	b = Buffer.read(s, "INPUT.wav");
	trate = 3;
	dur = 10 / trate;
	tg = Dust.ar(trate);
	ins = TGrains.ar(2, tg, b.bufnum, 1,
40+Latch.ar(BufDur.kr(b.bufnum)*WhiteNoise.ar(0.1),tg),
dur, Latch.ar(WhiteNoise.ar(0.5),tg), 1, 2);
	Out.ar(0,Pan2.ar(ins,0,1))
};).writeDefFile;


(
var x, o;
x = [
[0, [ \s_new, \peb, 1001, 0, 0]],
[60, [\c_set, 0, 0]] 
];
o = ServerOptions.new.numOutputBusChannels = 2;
Score.recordNRT(x, "q.osc", "OUTPUT.wav",
headerFormat: "WAV",
sampleFormat: "int24", options: o);
) 

>>

Thank you for your help.

--------------------------------------
Let's start Yahoo! Auction  -  Free Campaign Now!
http://pr.mail.yahoo.co.jp/auction/


More information about the sc-users mailing list