-
... ger, dur, carfreq, modfreq, index, envbuf1, envbuf2, ifac) .madd(mul, add); } } BufGrain : JoshGrain { *ar { arg trigger = 0, dur = 1, sndbuf, rate = 1, pos = 0, interp = 2, mul = 1, add = 0; ^this.multiNew('audio', trigger, dur, sndbuf, ra ...
-
... te your own synthdefs, you should follow the same basic arguments as in these. \bufGrain: Mono sound file, outputs one channel. \bufGrain2: Stereo sound file, outputs two channels. \bufGrainPan: Mono sound file, outputs two channels, pans o ...
-
... te your own synthdefs, you should follow the same basic arguments as in these. \bufGrain: Mono sound file, outputs one channel. \bufGrain2: Stereo sound file, outputs two channels. \bufGrainPan: Mono sound file, outputs two channels, pans o ...
-
... r swing ~beatsPerBar = { (~clock ?? { BP.defaultClock }).beatsPerBar }; ~def = \bufGrain; ~argPairs = nil; // you may specify other arg keys as an array: [key, value, key, value] // if the key's value is not a pattern, a pattern will be mad ...
-
... r swing ~beatsPerBar = { (~clock ?? { BP.defaultClock }).beatsPerBar }; ~def = \bufGrain; ~argPairs = nil; // you may specify other arg keys as an array: [key, value, key, value] // if the key's value is not a pattern, a pattern will be mad ...
-
... are stored in SynthDescLib.global // and recalled by name when needed SynthDef(\bufGrain, { |start, time, bufnum, rate = 1, amp = 1, attack = 0.001, decay = 0.02, outbus| var sig; sig = PlayBuf.ar(1, bufnum, rate * BufRateScale.kr(bufnum), ...
-
... are stored in SynthDescLib.global // and recalled by name when needed SynthDef(\bufGrain, { |start, time, bufnum, rate = 1, amp = 1, attack = 0.001, decay = 0.02, outbus| var sig; sig = PlayBuf.ar(1, bufnum, rate * BufRateScale.kr(bufnum), ...
-
... 1 , dur = 0.1 , startPos=0 , interp=1 , pan= 0 ; var buffer; buffer = \buffer; BufGrain.ar(Impulse.kr(freq), dur, \buffer, rate, startPos, interp); /*GrainBuf.ar(buffer.numChannels, Impulse.kr(freq), dur, buffer[0], rate, startPos, interp, ...
-
... 2,124,190],4)))!2} b=Buffer.read(s,"sounds/a11wlk01.wav");play{t=Impulse.kr(6);BufGrain.ar(t,0.3,b,1,Demand.kr(t,0,Dseq([26,8,11,42,44,3,5,37,4,32,45]/50,4)))} Ndef('x',{x=Ndef('x').ar+0.01;a=BPF.ar(x,6**Latch.ar(x,Dust.ar(x))*200,0.1).si ...
-
... -> [0,4, {|val| val.round(1)}], pan= 0 -> [-1,1]; var buffer; buffer = \buffer; BufGrain.ar(Impulse.kr(freq), dur, \buffer, rate, startPos, interp); /*GrainBuf.ar(buffer.numChannels, Impulse.kr(freq), dur, buffer[0], rate, startPos, interp, ...