-
... fluxSpread z = InfluxSpread(); // make a destination Ndef(\four, { |a, b, c, d| SinOsc.ar( 440 * (2 ** [a, b, c, d].lag(0.1))).sum * 0.1 }).play; Ndef(\four).gui; // add the destination z.addDest(\four, Ndef(\four)); z.destsDict; // set val ...
-
... p, {|out= 0, freq= 0, phase= 0, cutoff= 800, amp= 0, pan= 0| var z; z= Ringz.ar(SinOsc.ar(freq, phase.lag(0.1), amp), cutoff, 0.01); Out.ar(out, Pan2.ar(z, pan)); }).add; s.sync; //--world w= RedWindow("springs interconnected", Rect(128, 64 ...
-
... EnvGen.kr(Env.perc(0.01, sustain, 0.2), doneAction: Done.freeSelf); Out.ar(out, SinOsc.ar(freq, 0, env)) }).add; ) ( var a; a = Pif(Pfunc({ 0.3.coin }), Pn(Pseries(0.5, 0.1, 10)), Pn(Pseries(6, -0.1, 10))).asStream; { loop { Synth(\help_sin ...
-
... EnvGen.kr(Env.perc(0.01, sustain, 0.2), doneAction: Done.freeSelf); Out.ar(out, SinOsc.ar(freq, 0, env)) }).add; ) ( var a; a = Pwhite(0.0, 1.0, inf).asStream; { loop { Synth(\help_sinegrain, [\freq, a.next * 600 + 300]); 0.02.wait; } }.for ...
-
... oder.ar(2, Ringz.ar(LFSaw.ar(6, mul:BrownNoise.ar(0.2)).pow(3), 220, 0.8) , az: SinOsc.ar(0.5) ) }; ~soaSignal.fadeTime = 1; ~foaSignal = NodeProxy.new(s, \audio, 4); ~foaSignal.source = { HOAEncoder.ar(1, Ringz.ar(LFSaw.ar(4, mul:BrownNois ...
-
... 8), LFNoise0.kr(1, 1.5, 2) ) * 0.2 }.play(s); ) ⧉ ✔ // as a frequency control { SinOsc.ar(Lag.ar(LorenzL.ar(MouseX.kr(1, 200)), 3e-3)*800+900)*0.4 }.play(s); ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/HelpSource/Classes/LorenzL.sch ...
-
... ons.size, 1, 1).reciprocal; // audition ( { var gain = -18; var sig, hoa; sig = SinOsc.ar(~freqs, mul: gain.dbamp * ~amps); hoa = HoaEncodeMatrix.ar(sig, ~matrixEncoder); HoaXformMatrix.ar(hoa, ~matrixXformer); }.play(outbus: ~outbus) ) // ...
-
... ation as an audio effect: ( x = { // A collection of different tones: var son = SinOsc.ar((100, 100.3 .. 110)); var val = ArrayMin.ar(son).at(0); val = LeakDC.ar(val); // the operation tends to induce DC offset Pan2.ar(val) }.play ) x.free ...
-
... ted instance methods Examples ( Alga.boot({ //Simple sine AlgaSynthDef(\sine, { SinOsc.ar(\freq.kr(440)) * EnvPerc.ar(release: 0.5) }, sampleAccurate: true).add; //Simple saw AlgaSynthDef(\saw, { Saw.ar(\freq.kr(440)) * EnvPerc.ar(release: ...
-
... 2), LFNoise2.kr(1, 0.15, 0.15) ) * 0.2 }.play(s); ) // as a frequency control { SinOsc.ar(HenonL.ar(40, MouseX.kr(1, 1.4), MouseY.kr(1, 0.3))*800+900)*0.4 }.play(s); ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/HelpSource/Classes/Hen ...