-
... in audio from a file, with variable rate Source: DiskIO.sc See also: PlayBuf , BufRd , DiskIn Description Continuously play a longer soundfile from disk. This requires a buffer to be preloaded with one buffer size of sound. Class Methods V ...
-
... ect Sample playback oscillator. Source: BufIO.sc See also: RecordBuf , DiskIn , BufRd Description Plays back a sample resident in memory. Class Methods PlayBuf. ar ( numChannels , bufnum: 0 , rate: 1.0 , trigger: 1.0 , startPos: 0.0 , loop: ...
-
... WhiteNoise .kr.range(0, ~dataspace.numChannels); val = Select .kr(phase2.floor, BufRd .kr(~dataspace.numChannels, ~dataspace, phase1, 1)); phase1.poll(trig, label: "phase1" ); phase2.poll(trig, label: "phase2" ); val.poll(trig, label: "val" ...
-
... ftSize/SampleRate.ir), phase, numSamples, numSamples+2).round(2); ScopeOut2.ar( BufRd.ar(1, fftbufnum, phasor/zoom, 1, 0).abs.linlin(0, 5000, -1, 1, \min), scopebufnum, fftSize/zoom ); }, #[\kr, \ir]).add; SynthDef(\bci, {|bus, loFreq= 1, h ...
-
... te = gate-stop; env = EnvGen.kr(Env.asr(atk,1,rel.reciprocal), gate); snd = BufRd.ar(1, buf, phs, 1); snd = snd*env; OffsetOut.ar(out,snd*amp); }).send(s); SynthDef(\syncRec, {|sync=8, buf, in=0| var snd, phs, input; input = ...
-
... pleRate.ir(bufnum)), trig), pos = Phasor.ar(trig, 1, start, 1e26, start), sig = BufRd.ar(1, bufnum, pos, loop: 0), decay = Decay2.kr(trig, 0.01, 0.1); (sig * decay) ! 2 }.play(args: [t_trig: c, bufnum: b]); ) // TempoClick uses server.laten ...
-
... do{x=FreeVerb2.ar(*x++[0.1,1,1])};x} /* by nathaniel virgo */ play{({|i|x=Dbufrd(b=LocalBuf(5).clear,i);x=x**x-LFNoise0.ar(1/(2**i),50).floor%16;Pulse.ar(Duty.ar(1/8,0,Dbufwr(x,b,i))*20)}!5).mean!2} /* by nathaniel virgo */ play{b ...
-
... lot to zero. This is important when randomly acessing buffer slots (e.g. with a BufRd) or not overwriting them. Clear is not an efficient real time operation for larger buffers, so it should be only used when really needed - but then it is ...
-
... oldRange = 0.28, localFreq = 0.87, preAmp = 1.4, smoothAmount = 0.36| var sig = BufRd .ar( 1, bufnum, ( // define global and local movement LFDNoise3 .ar(globalFreq).range(0.2, 0.7) + SmoothFoldS .ar( // adding space by decorrelating the lo ...
-
... will be completely loaded into a CtkBuffer for use in UGens such as PlayBuf or BufRd. Size and numChannels will be calculated for you with the SoundFile class. startFrame default to 0 and numFrames defaults to 0 (the entire file is read in ...