logo       

Error in DiskOut.rtf help file: msg#00253

audio.supercollider.devel

Subject: Error in DiskOut.rtf help file


The following line in DiskOut.rtf is out of date with the current version
of SCClassLibrary:

m = { arg buf; x.addToHeadMsg(s, [\bufnum,buf.bufnum])};

One needs to add RootNode(s). The complete corrected code
passage is:


// play it back
(
x = Synth.basicNew("help-Diskin-2chan");
m = { arg buf; x.addToHeadMsg(RootNode(s), [\bufnum,buf.bufnum])};

b = Buffer.cueSoundFile(s,"recordings/diskouttest.aiff", 0, 2,
completionMessage: m);
)
x.free; b.close; b.free; // cleanup

Please commit ...

Thanks



--
Iannis Zannos
Research Director
Center for Research in Electronic Art Technology
Music Department / MAT,
University of California, Santa Barbara,
Santa Barbara, California 93106

Tel: (805) 893-8352
Fax: (805) 893-7194

http://www.create.ucsb.edu/~iani/


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise