-
... en .kr( Env .perc(0.001, sustain, 0.001), doneAction:2); Out .ar(out, Pan2 .ar( PlayBuf .ar(1,bufnum,rate, InTrig .kr(trig),0,0)*amp, pan); ) }).load(s); Tempo .bpm = 120; timer= BeatSched .new; offset = Tempo .tempo.reciprocal; space = Buf ...
-
... 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 for ...
-
... = 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( ...
-
... v = EnvGen.ar(Env.adsr(atk, dcy, sus, rel), gate, doneAction:2); sig = Mix.ar(PlayBuf.ar(2, buf, BufRateScale.ir(buf)*rate, 1, doneAction:0)); sig = sig * amp * env; Out.ar(out, Pan2.ar(sig, pan)); }).add; ) // a synth to play bu ...
-
... [\bufnum] = ~buf; SynthDef(\buf1, { |out, bufnum, pan, amp, time = 1| var sig = PlayBuf.ar(1, bufnum), eg = EnvGen.kr( Env.linen(0.02, min(time, BufDur.ir(bufnum) - 0.04), 0.02), doneAction: 2 ); Out.ar(out, Pan2.ar(sig, pan, amp * eg)); }) ...
-
... eate a buffer b = (type: \allocRead , path: "sounds/a11wlk01.wav" ).play; a = { PlayBuf .ar(1, b, doneAction: 2) }.play; // remove buffer EventTypesWithCleanup .cleanup(b); See the Pproto example in PG_06f_Server_Control , showing how these ...
-
... 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 ...
-
... 'lin', 0.1]], ['winType', [-1, 1], {|val| val.round(1)}], ['mul', [0, 2]]]], ['playbuf', [['rate', [0.1, 10]], ['trigger', [0, 1], {|val| val.round(1)}], ['startPos', [0, 1]], ['mul', [0, 2]], ['loop', [0, 1], {|val| val.round(1)}]]], ['re ...