-
... . s.sendMsg("/n_free", x); Sequencing with Routines ( var space, offset, timer, saw, envsaw, sampler, delay; SynthDef("saw", { arg out=100, pan=0, trig=0.0, freq=500, amp=1, cutoff=10000, rezz=1; freq = Lag.kr(freq,0.1); Out.ar(out,Pan2.ar( ...
-
... ary purpose is as a superclass. a = AbstractPlayerProxy.new; a.source = Patch({ Saw.ar }); a.play; a.stop; ⧉ ✔ see PlayerSocket Class Methods Inherited class methods Instance Methods . source . socketStatus . asSynthDef . synthDefArgs . syn ...
-
... pplied is stereo, the synthDef produced will be stereo. ( Patch(\rlpf,[ Patch({ Saw.ar([400,440],0.1) }) // in stereo ]).play ) ⧉ ✔ It is possible to play another Instr inside of your Instr: ( Instr(\sawfilter,{ arg freq,ffreq,rq; Instr.ar( ...
-
... code. // multiple usage of the same name: a = { SinOsc.ar(\freq.kr(440, 1.0)) + Saw.ar(\freq.kr(440, 1.0) * 0.5) * 0.1 }.play; a.set(\freq, 1220); a.set(\freq, 120); // with different lag values: a = { SinOsc.ar(\freq.kr(440).lag(3.5)) + Sa ...
-
... = Window.new.front; menu = PopUpMenu(w, Rect(10, 10, 90, 20)) .items_(["Sine", "Saw", "Noise", "Pulse"]); funcs = [ { SinOsc.ar(440, 0, 0.3) }, { Saw.ar(440, 0.3) }, { WhiteNoise.ar(0.3) }, { Pulse.ar(440, 0.2, 0.3) } ]; b = Button(w, Rect( ...
-
... now a.from(220, \freq, sched: AlgaStep(1)); //Two triggers from now a.replace({ Saw.ar(\freq.kr(440)) * EnvPerc.ar * 0.5}, sched: AlgaStep(2)); //Next trigger a.from(440, \freq, sched: AlgaStep(0)); ⧉ ✔ helpfile source: /tmp/scquark_hs/Alga ...
-
... ynthDefs, EnvGate invents a gate arg which is necessary for release ( SynthDef(\saw, { |freq = 400, freqlag = 0.0, amp = 0.1, amplag = 0.01| Out.ar(0, Saw.ar(Lag.kr(freq, freqlag), VarLag.kr(amp, amplag, warp: 1)) ! 2 * EnvGate()); }).add; ...
-
... ar(LFNoise0.kr(0.2,400,500)), MouseX.kr(1,64))}.play {LPCError.ar(Resonz.ar(Mix(Saw.ar(100*[1,0.9,0.8,0.7,0.5])),1000,0.1,2), MouseX.kr(1,64))}.play ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/Extensions/SC3plugins/SLUGens/HelpSourc ...
-
... aveletDaub.ar(SoundIn.ar, n, MouseX.kr(0,n))}.play {var n= 1024; WaveletDaub.ar(Saw.ar(MouseY.kr(50,10000, 'exponential'),0.5), n, MouseX.kr(0,n))}.play ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/Extensions/SC3plugins/NCAnalysisUGe ...
-
... les ( SynthDef(\help_pindex, { |out, amp = 0.1, freq = 440, gate = 1| var son = Saw.ar(freq * [0.99, 1, 1.01]).mean; son = son * EnvGen.ar(Env.adsr, gate: gate, doneAction: Done.freeSelf); Out.ar(out, son.dup * amp); }).add; ) ( var data = ...