-
... / t is not added automatically to all: SoftClock.all; t.add; SoftClock.all; ( ( SynthDef(\ping, {|freq, pan, amp=0.3| var e, z; e= EnvGen.ar(Env.perc(0, 0.1, amp), doneAction:2); z= SinOsc.ar(freq, 0, 0.2); OffsetOut.ar(0, Pan2.ar(z*e, pan) ...
-
... d.".postln; }) ) // play the synth, indexing into the buffers with MouseX ( x = SynthDef("help-VOsc", { |out = 0, bufoffset = 0| // mouse x controls the wavetable position var bufindex = MouseX.kr(0, ~bufs.size - 1) + bufoffset; Out.ar(out, ...
-
... plot; a.collect{ |t| EaseInOutQuad .(t)}.plot; //--similar in sclang and inside synthdefs s.boot { SinOsc .ar( EaseInOutExpo .kr( MouseX .kr)*500+500, 0, 0.1)}.play a.collect{ |x| EaseInOutExpo. (x)}.plot //--rates are flexibe when used ins ...
-
... // *new { |server| settings = SGME_Settings.get; ^super.new.init(server); } *addSynthDef { lag = SGME_Settings.get[\noiseLag]; SynthDef(\SGME_noiseGenerator, { arg outputBus, freqHP, freqLP, level; // entre 0 y 1 var sig; sig = WhiteNoise.a ...
-
... }); // fill table s.performList( \sendMsg , \b_gen , i, \sine1 , 7, a); }); ) ( SynthDef ( "help-VOsc" ,{ arg out=0, bufoffset=0, freq=240; var x; // mouse x controls the wavetable position x = MouseX .kr(0,7); Out .ar(out, VOsc3 .ar(bufoff ...
-
... Collider/SCClassLibrary/Common/Audio/canFreeSynth.sc . optimizeGraph Examples ( SynthDef("detectSilence-help", { |out| var z; z = SinOsc.ar(Rand(400, 700), 0, LFDNoise3.kr(8).max(0)).softclip * 0.3; DetectSilence.ar(z, doneAction: Done.free ...
-
... ounds/a11wlk01-44_1.aiff"); z = Buffer.sendCollection(s, winenv.discretize, 1); SynthDef(\warp, {arg buffer = 0, envbuf = -1; var out, pointer, filelength, pitch, env, dir; // pointer - move from beginning to end of soundfile over 15 second ...
-
... Type arg, other values might cause considerable CPU saving and/or shortening of synthdef compile time. See also: GFIS , Fb1_ODE , Fb1_ODEdef , Fb1_ODEintdef , Fb1 , Fb1_MSD , Fb1_SD , Fb1_Lorenz , Fb1_Hopf , Fb1_HopfA , Fb1_HopfAFDC , Fb1_V ...
-
... n NPVoicer with an Ndef in it g.prime(\default); // prepare it with the default synthdef g.play; // play it // test by hand g.put(1, [\freq, 48.midicps]); g.setAt(1, \freq, 60.midicps); g.release(1); // make 10 voicers ~voicers = (0..9).col ...
-
( SynthDef(\fm7_timpani, { arg note = 60,out_bus=0,amp=0.5,sustain = 2,release = 0.5,cutoff = 10000,rq = 1,pan = 0,lfo_speed = 5,lfo_amp = 0; var ctls, mods, chans,out,pitch,gate, envAmp1,envAmp2,envAmp3,envAmp4,envAmp ...