-
... q=440, sustain=1.0| var osc; osc = SinOsc.ar( [freq, freq+0.05.rand], 0.5pi ) * EnvGen.ar( Env.perc, doneAction: Done.freeSelf, levelScale: 0.3, timeScale: sustain ); Out.ar(out, osc); }).add; ) ///////////////////////////////////////////// ...
-
... ) Victor Lazzarini's string resonator. { Streson.ar(LFSaw.ar([220, 180], 0, mul:EnvGen.kr(Env.asr(0.5, 1, 0.02), 1.0) * 0.2), LinExp.kr(LFCub.kr(0.1, 0.5*pi), -1, 1, 280, 377).reciprocal, 0.9, 0.3) }.play ⧉ ✔ helpfile source: /usr/local/sha ...
-
... ut = 0, amp = 0.1, freq = 440| var snd = SinOsc.ar(freq, mul: amp); snd = snd * EnvGen.kr(Env.perc); Out.ar(0, snd!2); }).add; // Instanciate the View, and assign a string button = GMButton(); button.string_("beep"); // Assign custom action ...
-
... ar(1, bufnum, rate: rate * BufRateScale.kr(bufnum), startPos: start, loop: 0 ), env = EnvGen.kr(Env.linen(0.01, time, 0.05, level: amp), doneAction: Done.freeSelf); Out.ar(out, (sig * env).dup); }).add; SynthDef(\bell, { |out, accent = 0, a ...
-
... 0, gate = 1| var sig = VDiskIn.ar(2, bufnum, BufRateScale.kr(bufnum)); var gateEnv = EnvGen.kr(Env([1, 1, 0], [sustainTime-rel, 0])); var env = EnvGen.kr(Env.asr(atk, 1, rel), gate * gateEnv, doneAction: Done.freeSelf); Out.ar(out, sig * e ...
-
... e line of code, such as { SinOsc.ar([400, 401], 0, 0.1) * Saw.ar([11, 33], 1) * EnvGen.kr(Env.sine(10)) }.play ⧉ ✔ first make sure that the localhost server is booted. Then put the cursor anywhere on the line (shown above) and press <enter> ...
-
... that event that depend on the clock's current time will be incorrect, including Env as streams, Pseg and Ptime . NOTE: If two successive time points are the same, the second will occur one bar later. Reference point: Barline Time points mak ...
-
... Buffer Granulation , Live Granulation , VarGui , DX suite , DXMix , DXMixIn , DXEnvFan , DXEnvFanOut , DXFan , DXFanOut , ZeroXBufRd , TZeroXBufRd , ZeroXBufWr Description In 2016 my interest in granular synthesis was focussed on the potent ...
-
... ( SynthDef(\redMatrixMixerTest, {|out= 0, freq= 400, gate= 1, amp= 0.5| var e= EnvGen.kr(Env.asr(0.01, 1, 0.01), gate, doneAction:2); var z= SinOsc.ar(freq, 0, amp); Out.ar(out, z*e); }).add; ) ( b= Pbind( \instrument, \redMatrixMixerTest, ...
-
... 1; Out.ar( bus, PlayBuf.ar( 1, bufnum, BufRateScale.kr(bufnum) * rateScale ) * EnvGen.kr(Env.sine(BufDur.kr(bufnum))) ) }).add; ) ( // SynthDefをテストする ... 動く?(はい、大丈夫。左チャンネルで再生する。) Synth("aMonoSamplePlayer", [\bus, 0, \bufNum, b]); ) ( // コン ...