|
Changes to MultiTap: msg#00168audio.supercollider.devel
On Aug 1, 2004, at 00:23:18, James McCartney wrote: No, if you run both RecordBuf and PlayBuf backwards, then all of your If the following code is right, could someone please commit it? MultiTap { *ar { arg timesArray, levelsArray, in = 0.0, mul = 1.0, add = 0.0,bufnum; var sampleRate; timesArray = timesArray.dereference; levelsArray = levelsArray.dereference; RecordBuf.ar(in,bufnum,0.0, run: -1.0); sampleRate = BufSampleRate.kr(bufnum); ^Mix.arFill(timesArray.size,{ arg i; PlayBuf.ar(in.numChannels, bufnum, -1.0,1.0, timesArray.at(i) * sampleRate, loop: 1) .madd(levelsArray.at(i) ? 1.0) }).madd(mul,add); } } Best, -- Sergio Luque http://www.sergioluque.com |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Correction to documentation of DetectSilence: 00168, Scott Wilson |
|---|---|
| Next by Date: | Iconic...: 00168, Scott Wilson |
| Previous by Thread: | Correction to documentation of DetectSilencei: 00168, Ioannis Zannos |
| Next by Thread: | Iconic...: 00168, Scott Wilson |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |