-
... sing extreme short durations for hours. CREDITS: Thanks to Wouter Snoei for his PlayBufCF class. It gave me a lot of inspiration for DX ugens – although in the end the implementation with PanAz and DemandEnvGen is quite different. Thanks al ...
-
... 0, bufnum = 0, amp = 0.9, gate = 1, startPos = 0, loop = 1| var sig, env; sig = PlayBuf.ar(1, bufnum, BufRateScale.kr(bufnum), startPos: startPos, loop: loop, doneAction: 2); env = EnvGen.kr(Env.asr(0.005, 1, 0.04), gate, doneAction: 2); Ou ...
-
... s in this regard. Alternatively SynthDefs for single grains can be defined with PlayBuf or BufRd in order to control the whole buffer granulation process from language side, using Patterns, Tasks or Routines. What is the best way? To a larg ...
-
... vl, prelvl, run: record, loop: 1.0, trigger: jumpToStart, doneAction: 0); sig = PlayBuf.ar(numchans, local, timerate, 1.0, 0.0, 1.0, doneAction: 0); sig = LeakDC.ar(sig); LocalOut.ar(LPF.ar(sig, damp.linexp(0.000000001,1.0,20000.0,250.0))); ...
-
... 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 ...
-
... 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 ...
-
... 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 ...