-
... , 0.1, 6), \note, Prand([0, 2, 3, 4, 8, 9], inf))); n.sendMsg("/oo", \Pdef_xx, \play); Ndef(\zz, { |freq=20, numharm = 200| Blip.ar(freq * [1, 1.2], numharm) * 0.3 } ); n.sendMsg("/oo", \Ndef_zz, \play); n.sendMsg("/oo", \Ndef_zz, \fadeTime ...
-
... r(4, w, x, y); [a, b, d, c] // reorder to my speaker arrangement: Lf Rf Lr Rr }.play; ) // Rotation of 2 mono sounds in the stereo field: ( { // rotation via lfo var x, y; x = PinkNoise .ar(0.4); y = LFTri .ar(800) * LFPulse .kr(3,0,0.3,0.2 ...
-
... und example ( { var a = LFSaw .ar(300); var b = LFSaw .ar(329.1); a % b * 0.1 }.play; ) The comparison operators The operators >, >=, <, and <= are particularly useful for triggering. They should not be confused with their use in conditiona ...
-
... = OSCMapper(\controller); Ndef(\mySine, {SinOsc.ar!2 * o['/1/fader1'].asNdef}).play; Ndef(\mySine).clear(2); ⧉ ✔ as a Bus // use the default synth s = Synth(\default); s.map(\amp, o['/1/fader1'].asBus); s.free; ⧉ ✔ as a Pdefn ( p = Pbind( ...
-
... : MKtlDesc.postLoadable n = MKtl(\nk1, "korg-nanokontrol"); x = n.elementsDict[\play]; // the play button // test asStream method - simple endless lookup p = Pbind(\test, x).trace.play; // switch value while playing, pattern gets current va ...
-
... ) // towards hi ( Routine({ loop({ Synth.new("help-LinRand"); 0.04.wait; }) }).play; ) // towards lo (doesn't work like that yet) ( Routine({ loop({ Synth.new("help-LinRand", [\minmax, -1]); 0.04.wait; }) }).play; ) ⧉ ✔ helpfile source: /u ...
-
... Phasor .ar(0, BufRateScale .kr(0) * rate, 0, BufFrames .kr(0))); 0.0 //quiet }.play; ) //read it with a BufRd ( x = { arg rate=1; BufRd .ar(1, 0, Phasor .ar(0, BufRateScale .kr(0) * rate, 0, BufFrames .kr(0))) }.play(s); ) x.set( \rate , 5 ...
-
... rce * 400 + 500; // modulate frequency with the force SinOsc.ar(freq, 0, 0.2) }.play; ) // several springs in series. // trigger gate is mouse button // spring constant is mouse x // mouse y controls damping ( { var m0, m1, m2, m3, d, k, in ...
-
... e methods Examples {var n= 1024; WaveletDaub.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/E ...
-
... g = Impulse.kr(MouseX.kr(1, 100, 1)); Ringz.ar(T2A.ar(trig), 800, 0.01) * 0.4 }.play; ) // compare with K2A ( { var trig = Impulse.kr(200); [T2A.ar(trig), K2A.ar(trig)].lag(0.001) }.plot(10/200); ) // removing jitter by randomising offset ( ...