-
... mples ( w = Window .new.front; v = ListView (w, Rect (10,10,120,70)) .items_([ "SinOsc" , "Saw" , "LFSaw" , "WhiteNoise" , "PinkNoise" , "BrownNoise" , "Osc" ]) .background_( Color .clear) .hiliteColor_( Color .green(alpha:0.6)) .action_({ ...
-
... qs[i] = freqs[i].round(500) } ) }; x = { |freq=0, amp=1, trig=0| SinOsc.ar( freq, 0, amp*(EnvGen.ar(Env.asr(0.08, 0.2, 0.12, \welch), trig, doneAction: 0)) ) }.play; w = Window.new("Equal-Loudness Contour ...
-
... EnvGen.kr(Env.perc(0.01, sustain, 0.2), doneAction: Done.freeSelf); Out.ar(out, SinOsc.ar(freq, 0, env)) } ).add; a = Pn( Plazy({ Pbind( \instrument, \help_sinegrain, \freq, Pgeom(rrand(200, 600), rrand(1.001, 1.01), rrand(10, 100)).wrap(10 ...
-
... x: [0.1, 0.3], weights: [-3, 2, -2, 0] ); m = Duty.ar(dt, 0, module).lag3(dt); SinOsc.ar(m * 400 + 600) * 0.1 }.play ) ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/Extensions/SC3plugins/Neuromodules/HelpSource/Classes/Dneuromodule.s ...
-
... order+1).pow(2)); { HOABeamDirac2Hoa.ar(~order, HOAEncLebedev50.ar(~order, {|i| SinOsc.ar( 50* (i+1) )}!50, filters: 0), az: MouseX.kr(-pi, pi ) , ele: MouseY.kr(-pi * 0.5, pi * 0.5), on:1) }.play ) ⧉ ✔ helpfile source: /tmp/scquark_hs/SC-H ...
-
... EnvGen.kr(Env.perc(0.01, sustain, 0.2), doneAction: Done.freeSelf); Out.ar(out, SinOsc.ar(freq, 0, env)) }).add; ) ( var a; a = Pgauss(0.0, 1.0, inf).asStream; { loop { Synth(\help_sinegrain, [\freq, a.next * 600 + 300]); 0.02.wait; } }.for ...
-
... rited instance methods Examples {ComplexRes.ar(Pulse.ar(0.1,0.001,0.1),50+ 5000*SinOsc.ar(50),0.5)}.play; Feed forward network (core part): http://sccode.org/1-4V6 // FM network dst = freqs.inject([filterIn, 0], {|in, freq, i| tmpIter = Com ...
-
... lier can also be accessed in def style o = OSCMapper(\myLayout); Ndef(\mySine, {SinOsc.ar!2 * o['/1/fader1'].asNdef}).play; Ndef(\mySine).clear(2); ``` #### As bus ```supercollider // use the default synth s = Synth(\default); s.map(\amp, o ...
-
... on: 2); var snd = BufRd.ar(1, buf, phasor, 1, interpolation) * env; snd = snd * SinOsc.ar(rate * 200 + (phasor / BufFrames.ir(buf))) + snd; OffsetOut.ar(out, Pan2.ar(snd, pan)); }, \ir.dup(9)).add; ) ( Pdef(\x, Pwavesets( Pbind( \name, \a11 ...
-
... c({ 15.rand.degreeToKey([ 0, 2, 3, 5, 7, 8, 10 ]).midicps * 3 }), 0.1, Patch({ FSinOsc.kr(0.05).range(0.01,0.99) }), Env.asr, 6000, Env.perc(releaseTime: 0.8) ],0.125).play ) ⧉ ✔ note: for beats see InstrGateSpawner the stereo Patch in the ...