-
... 4/5, 1.25 = 5/4), // so playback will not be faster than writing. ( { var src = PlayBuf.ar(1, b, BufRateScale.ir(b)); // write zero crossings, but no need to overwrite sound buffer ZeroXBufWr.ar(src, b, z, startWithZeroX: 1, writeSndBuf: fa ...
-
... eY.kr(2, -2); var intvs, amps; #intvs, amps = Shepard.kr(5, slope, 12, shift); (PlayBuf.ar(b.numChannels, b, intvs.midiratio, loop: 1) * amps).sum * 0.2 ! 2 }.scope; ) // to do - SynthDef and pattern example... ⧉ ✔ helpfile source: /tmp/scq ...
-
... d); ( { var inA, chainA, inB, chainB, chain; inA = LFSaw.ar(100, 0, 0.2); inB = PlayBuf.ar(1, d, BufRateScale.kr(d), loop: 1); chainA = FFT(LocalBuf(2048), inA); chainB = FFT(LocalBuf(2048), inB); chain = PV_MagMul(chainA, chainB); // write ...
-
... e, imp, delimp, mul = 1; imp = Impulse.kr(10); delimp = Delay1.kr(imp); colum = PlayBuf.ar(1, b, BufRateScale.kr(b), loop: 1) * mul; // measure rms and Peak SendReply.kr(imp, '/levels', [Amplitude.kr(colum), K2A.ar(Peak.ar(colum, delimp).la ...
-
... , start, time = 1, stretch = 1, amp = 1, attack = 0.01, decay = 0.05| var sig = PlayBuf.ar(1, bufnum, rate: stretch.reciprocal, startPos: start), eg; sig = PitchShift.ar(sig, pitchRatio: stretch); eg = EnvGen.kr(Env.linen(attack, time, deca ...
-
... beepvol=0.0, lock=0; var trackb,trackh,trackq,tempo; var source, beep; source= PlayBuf.ar(1,~source.bufnum,1.0,1,0,1); //see AutoTrack help file #trackb,trackh,trackq,tempo=AutoTrack.kr(source, lock); beep= SinOsc.ar(1000,0.0,Decay.kr(trac ...
-
... sample tracking SynthDef("pitchFollow1",{ var in, amp, freq, hasFreq, out; in = PlayBuf.ar(1,c.bufnum, loop:1); amp = Amplitude.kr(in, 0.05, 0.05); # freq, hasFreq = Tartini.kr(in); out = Mix.new(VarSaw.ar(freq * [0.5,1,2], 0, LFNoise1.kr(0 ...
-
... cription Nothing fancy. This class just loads soundfiles into RAM and then uses PlayBuf to play them back. It uses the same interface as RedDiskInSampler (except for numFrames which is is not implemented here). Class Methods Inherited class ...
-
... ignal = NodeProxy.new(s, \audio, ~hoaNumChannels); ~hoaSignal.source = { HPF.ar(PlayBuf.ar( ~hoaSoundFile.numChannels, ~hoaSoundFile, loop:1 ), 50) }; ~hoaSignal.fadeTime = 1; ) ⧉ ✔ If the ~decoder from above is still there, let's connect ( ...
-
... 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 ...