-
... SynthDef { ^SynthDef(this.defName,{ arg out = 0, i_bufnum,pchRatio; Out.ar(out, PlayBuf.ar(this.numChannels,i_bufnum,pchRatio,loop: 1.0) ) }); } synthDefArgs { ^[\i_bufnum, buff.bufnum,\pchRatio,myTempo.tempo,\out,patchOut.synthArg ] } didS ...
-
... nthDef { ^SynthDef(this.defName, { arg out = 0, i_bufnum, pchRatio; Out.ar(out, PlayBuf.ar(this.numChannels, i_bufnum, pchRatio, loop: 1.0) ) }); } synthDefArgs { ^[\i_bufnum, buff.bufnum, \pchRatio, myTempo.tempo, \out, patchOut.synthArg ] ...
-
... ad(s, Platform.resourceDir +/+ "sounds/a11wlk01.wav"); ( Ndef(\input, {|rate=1| PlayBuf.ar(b.numChannels, b, BufRateScale.kr(b) * rate.lag(1), loop: 1); }).play(vol: 0.1); ) // now create a synth which feedsback itself via a BPF ( Ndef(\tha ...
-
... tempSynthDef = SynthDef(\gapmatch_player, { arg bus, buffer; OffsetOut.ar(bus, PlayBuf.ar(1, buffer, doneAction: 2)); }); servers.do({|srv| tempSynthDef.send(srv); }); tempSynthDef = SynthDef(\gapmatch_comparator, { arg totalTime, synthBus ...
-
... ////////////////////////////////////////////////////////////////////// go to 12_Playbuf
-
... fied spline interpolation with fixed amt = 1/3, as used by many UGens ( DelayC, PlayBuf etc) 'bspline' : better curves but higher cpu. bspline also has an amt argument, which defines the order. the default amt is 4. other interpolation: 'qu ...
-
... ////////////////////////////////////////////////////////////////////// go to 16_Playbuf helpfile source: /usr/local/share/SuperCollider/HelpSource/Tutorials/Mark_Polishook_tutorial/15_Groups.schelp link::Tutorials/Mark_Polishook_tutorial/15 ...
-
... 00 d= Buffer .read(s, "sounds/a11wlk01.wav" ); ( x= { var in, fft, array; //in= PlayBuf.ar(1,d,BufRateScale.kr(d),1,0,1); in = SoundIn .ar(0); fft = FFT (b, in); array= MFCC .kr(fft); array.size.postln; Out .kr(0,array); Out .ar(0, Pan2 .ar ...
-
... t = 0, dur = 1 ; Out .ar(out, Pan2 .ar( Line .kr(amp, amp, dur, doneAction:2) * PlayBuf .ar(1, bufnum, BufRateScale .kr(bufnum), loop: 0), LFNoise1 .kr(1/dur) ) )}) ; aDef.send(server) ; } play { arg message ; var label, weight, offsetWeigh ...
-
... 0, sus=0.05, pan=0, filter=22000, hiPass=20, vol=1| var snd = HPF.ar((LPF.ar((PlayBuf.ar(1, b, Line.ar((rate*BufRateScale.kr(b)), (rate*BufRateScale.kr(b)*bend), sus), 1, pos, 0, 2)), filter)),hiPass); ...