-
... fer later. ( x = {arg threshold=10.0, hysteresis=20; var input, onsets; input = PlayBuf.ar(1, b, BufRateScale.kr(b), loop:1); onsets= SLOnset.kr(input,20,5,5,threshold,hysteresis); Out.ar(0, input + (SinOsc.ar(440,0,0.1)*Decay2.ar(K2A.ar(on ...
-
... chain; inA = Mix(Formant.ar([120, 180], [1200, 2000], [240, 360], 0.2)); inB = PlayBuf.ar(1, soundBufnum, BufRateScale.kr(soundBufnum), loop: 1); chainA = FFT(bufnumA, inA); chainB = FFT(bufnumB, inB); chain = PV_XFade(chainA, chainB, Mous ...
-
... started.".postln; s.record; convolver= { var in, conv, mix; in = PlayBuf.ar(1, inSrc.bufnum, BufRateScale.kr(inSrc.bufnum)); conv = PartConv.ar ( in, fftsize, [irSpctrmL.bufnum, irSpctrmR.bufnum], 0.2 // Ad ...
-
... ef("help-magFreeze2", { arg out=0, bufnum=0, soundBufnum=2; var in, chain; in = PlayBuf.ar(1, soundBufnum, BufRateScale.kr(soundBufnum), loop: 1); chain = FFT(bufnum, in); // uncomment the line below to compare while ... // chain = PV_MagFr ...
-
... ckTime: attack, releaseTime: release, level: amp).kr(doneAction: 2); snd = PlayBuf.ar( numChannels: 1, bufnum: buffer, rate: rate, startPos: startPos.linlin(0, 1, 0, BufFrames.kr(buffer)) ); snd ...
-
... like a ping-pong ball. PingPong is actually a compound built upon RecordBuf and PlayBuf . bufnum - first index of a multi channel buffer . inputArray - an array of audio inputs, the same size as your buffer. delaytime - delay time in second ...
-
... standard ExampleFiles.child sound file and plays fragments from it. ( SynthDef(\playbuf, { |bufnum, start, dur = 1, amp = 0.2, out| var sig = PlayBuf.ar(1, bufnum, BufRateScale.ir(bufnum), 0, start); sig = sig * amp * EnvGen.kr(Env.linen(0. ...
-
... ckTime: attack, releaseTime: release, level: amp).kr(doneAction: 2); snd = PlayBuf.ar( numChannels: 1, bufnum: buffer, rate: rate, startPos: startPos.linlin(0, 1, 0, BufFrames.kr(buffer)) ); ...
-
... r( WhiteNoise .ar(1.dup), buf, LFNoise0 .ar(530).range(0, BufFrames .kr(buf))); PlayBuf .ar(2, buf, MouseX .kr(1, 2), loop: 1) * 0.1 }.play ) // avoid this (unless you like the glitch) by clearing buffer first: ( { var buf = LocalBuf (2048, ...
-
... PV_ConformalMap Buffer Manipulation BufRd BufWr DiskIn DiskOut Index WrapIndex PlayBuf RecordBuf PingPong TGrains Binary Operators BinaryOpUGen (overview) + - * / ** absdif amclip atan2 clip2 difsqr excess fold2 hypot hypotApx max min ring ...