-
... params'); // now somebody set freq ~params[\freq] = 880; // somebody else start playing ~pbind = Pbind(\freq, Pfunc({~params[\freq]})).play; // somebody else change it ~params[\freq] = 660; ~pbind.stop; ⧉ ✔ helpfile source: /tmp/scquark_hs/ ...
-
... ert range from 0..1 to 600..1000 1000 // constant second frequency ], 0, 0.2) }.play; ) // two phasors control two sine frequencies: mouse y controls resetPos of the second ( { var trig, rate, x, sr; rate = MouseX.kr(1, 200, 1); trig = Impu ...
-
... a= RedMixerChannel(0); b= Pbind(\pan, Pseq([-1, 1], inf), \dur, 0.5, \amp, 0.5).play; c= a.gui; //optional a.vol= -9 a.out= 20 //this will move and the (internal ReplaceOut) the mixerchannel to bus 20 a.out= 0 //move it back a.lag= 1 //fade ...
-
... is detected automatically. x = { Fb1_ODE.ar(\harmonic, tMul: 500 * 2pi) * 0.1 }.play x.release // as with Fb1, method 'new' is equivalent to 'ar' x = { Fb1_ODE(\harmonic, tMul: 500 * 2pi) * 0.1 }.play x.release // a default frequency could ...
-
... se.kr(4); SinOsc.ar( Demand.kr(trig, 0, d).poll(trig) * 300 + 400 ) * 0.1 ! 2 }.play; ); // compare with Dswitch1: ( { var d, trig; d = Dswitch1([ Dwhite(3, 4, 2), Dwhite(0, 1, 2), Dseq([1, 1, 1, 0], 2) ], Dseq([0, 1, 2, 1, 0], 2)); trig = ...
-
... e methods . signalRange Examples { SinOsc.ar(MouseX.kr(40, 10000, 1), 0, 0.1) }.play; { SinOsc.ar(MouseX.kr(500, 10000, 1).poll, 0, 0.1) }.play; ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/HelpSource/Classes/MouseX.schelp link::Clas ...
-
... lse.kr(10)); Out.ar(out, SinOsc.ar( TRand.kr(300.0, 400.0, trig), 0, 0.2 ) ) }).play; ) a.set(\prob, 1.0); a.set(\prob, 0.0); a.set(\prob, 0.1); ( a = SynthDef("help-TCoin", { |out = 0, prob = 0.5| var trig; trig = Impulse.ar(20, 0, SinOsc. ...
-
... 2DN.ar(220,800,0.3,0.3,0.6,0.8,LFPulse.kr(MouseX.kr(1, 10, 1), 0, 0.1)),0.0)) }.play ( SynthDef(\fhn, {|out=0, pan=0, amp=0.1| var sig; sig=Fhn2DN.ar(110, 22050, TExpRand.kr(0.001, 0.2, Dust.kr(8)), TExpRand.kr(0.001, 0.2, Dust.kr(13)), TRa ...
-
... {StkGlobals.ar(1,1,Platform.userExtensionDir ++"/SC3Plugins/StkInst/rawwaves")}.play; //Define mandolin synthdef ( SynthDef(\helpMandolin,{arg out=0,freq=220,gate=1,amp=1; var sig,env; env = EnvGen.kr(Env.asr(0,1,0.1),gate,doneAction:2); si ...
-
... lug(\modAtkEnv, [value: freq, ratio: 8], map: (freq: \value)) }, \dur, 0.25 ) ).play; ) p.stop; // PmonoArtic retriggers at the beginning of each slurred group ( p = Pmsyn( PmonoArtic(\default, \freq, Pexprand(300, 900, inf), \freqPlug, { | ...