-
... thData/samples gamKUG/" ); VGSamp .prepPaths; VGSamp .readBufs; // this takes about 15 secs and lots of RAM. // both pelog and slendro are always loaded. ) VGSamp .checkLoaded; // check if buffers seem ok /////// setup is complete now. //// ...
-
Breakbeat made of out FM-synthesized drums. A little too saturated but nice and punchy. s.boot; TempoClock.default.tempo = 2; ( SynthDef(\kick, { |gate=1,t_trig=1,out=0,pan=0,amp=0.1,boost=4,attenuation=1,fmlevel = 0.5, noiselevel ...
-
... .value_(e.asSignal).refresh; }; g.(); v.addSliderAction(g); ) Example 1c: SharedOut / shared memory SharedOut will be deprecated in future releases of SC and replaced by a shared memory mechanism (Tim Blechmann). SharedOut is at least inclu ...
-
... }); ) // Pswitch used as a sequence of pitches: ( SynthDef(\help_sinegrain, { |out = 0, freq = 440, sustain = 0.05| var env; env = EnvGen.kr(Env.perc(0.01, sustain, 0.2), doneAction: Done.freeSelf); Out.ar(out, SinOsc.ar(freq, 0, env)) }). ...
-
... { x.next(Event.new).postln }); ) ⧉ ✔ // sound example ( SynthDef(\sinegrain, { |out = 0, freq = 440, sustain = 0.02| var env; env = EnvGen.kr(Env.perc(0.001, sustain), 1, doneAction: Done.freeSelf); Out.ar(out, SinOsc.ar(freq, 0, env * 0.1) ...
-
... ell and Bruno Ruviaro July 2019. */ SynthDef(\kalimba, { arg // Standard values out = 0, freq = 440, amp = 0.1, att = 0.001, rel = 3, pan = 0, crv = -8, // Other controls (mix control goes from 0 to 1) mix = 0.1, clickRel = 0.01; var note, ...
-
... , mul, add) Integrates an input signal with a leak. The formula implemented is: out(0) = in(0) + (coef * out(-1)) in - input signal coef - leak coefficient. { Integrator .ar( LFPulse .ar(300, 0.2, 0.1), MouseX.kr(0.001, 0.999, 1)) }.play // ...
-
... tream.nextN(1000).plot; ) // sound example ( SynthDef ( \help_sinegrain , { arg out=0, freq=440, sustain=0.05; var env; env = EnvGen .kr( Env .perc(0.01, sustain, 0.2), doneAction:2); Out .ar(out, SinOsc .ar(freq, 0, env)) }).add; ) ( var a ...
-
... mensional array. // Ex: // IN arr = [ [1,2,3], [4,] ] size = 5 // OUT arr = [ [1,2,3], [4,], [1,2,3], [4,], [1,2,3] ] ~resizeMultiDimArray = { |arr,size| var res = arr; if( arr.size > size ){ res = Array ...
-
... / // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more de ...