-
... latform.resourceDir.openOS +/+ "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 ...
-
... = Buffer.read(s, PathName.tmp +/+ "sf-help.wav"); // It's a sinewave... a = { (PlayBuf.ar(1, b, rate: 440 * 1024/44100, loop: 1) * 0.1).dup }.play; a.free; b.free; File.delete(PathName.tmp +/+ "sf-help.wav"); ⧉ ✔ helpfile source: /usr/loca ...
-
... v.perc(0.001, sustain, 0.001), doneAction: Done.freeSelf); Out.ar(out, Pan2.ar( PlayBuf.ar(1,bufnum,rate,InTrig.kr(trig),0,0)*amp, pan); ) }).add; Tempo.bpm = 120; timer = BeatSched.new; offset = Tempo.tempo.reciprocal; space = Buffer.read( ...
-
... v.perc(0.001, sustain, 0.001), doneAction: Done.freeSelf); Out.ar(out, Pan2.ar( PlayBuf.ar(1,bufnum,rate,InTrig.kr(trig),0,0)*amp, pan); ) }).add; Tempo.bpm = 120; timer = BeatSched.new; offset = Tempo.tempo.reciprocal; space = Buffer.read( ...
-
... released pan panning position bufnum buffer number (used in synths that utilize PlayBuf , DiskIn , etc) sustain duration of the synth amp amplitude of the synth freq base pitch of the synth Event implements a layered specification scheme fo ...
-
... = 0, amp = 0.1| var eg = EnvGen.kr(Env.perc(0.01, time), doneAction: 2), sig = PlayBuf.ar(1, bufnum, rate, startPos: start); Out.ar(out, (sig * (eg * amp)).dup); }), // the pattern needs a placeholder for the buffer buf = Buffer.new(server ...
-
... // create a buffer b = (type: \allocRead, path: ExampleFiles.child).play; a = { PlayBuf.ar(1, b, doneAction: Done.freeSelf) }.play; // remove buffer EventTypesWithCleanup.cleanup(b); ⧉ ✔ See the Pproto example in Pattern Guide 06f: Server C ...
-
... : 0.1) b.plot; // after 3 seconds, you can see it. // play the soundfile back { PlayBuf.ar(b.numChannels, b, LFNoise2.kr(2 ! 8).exprange(0.15, 1), loop: 1).sum }.play; ⧉ ✔ . loadToFloatArray ( duration: 0.01 , target , action ) Write a UGen ...
-
... f speakers PanX2D - (Undocumented class) Pitch - Autocorrelation pitch follower PlayBuf - Sample playback oscillator. PureMultiOutUGen - (Undocumented class) DC - Create a constant amplitude signal Qitch - constant Q transform pitch followe ...
-
... | var env, src; pos = Rand(posDev.neg, posDev) / BufDur.kr(sndBuf) + pos; src = PlayBuf.ar(1, sndBuf, BufRateScale.kr(sndBuf) * rate, 1, round(pos * BufFrames.kr(sndBuf)), 1, 2); env = EnvGen.ar( Env([0, amp, amp, 0], [att, granDur - att - ...