-
... nk.ar(`data, // input: trig, // freqscale: MouseX.kr(0.5, 2, 1), // freqoffset: MouseY.kr(1000, 10, 1), // decayscale: MouseButton.kr(1, 1.5)) * env, // pan) // ); // }).store; // ("gamelan synthdef " ++ name ++ " written").postln; // }; // ...
-
... al; xPitch = Index.kr(buf1, MouseX.kr(0, xTable.size)); yPitch = Index.kr(buf2, MouseY.kr(0, yTable.size)); freq = (xPitch - yPitch).midicps; // ======= the FM synth modulator = SinOsc.ar([freq * modPartial, 3 +(freq *modPartial)], 0, freq ...
-
... C examples ( SynthDef ( \theremin , { arg mod = 7, detune = 0; var f, a, z; f = MouseY .kr(4000, 200, 'exponential' , 0.8) + detune; a = SinOsc .ar(f + (f * SinOsc .ar(mod,0,0.02)), mul: MouseX .kr(0, 0.9)); z = Mix .ar(a); Out .ar(0, z) + ...
-
... , play alpha and beta ( x = { var sig = Fb1_Duffing .ar( 0.7, MouseX .kr(1, 3), MouseY .kr(1, 3), 2, 0, 0.8, tMul: 650); Limiter .ar(sig[0..1], 0.3) * EnvGen .ar( Env .asr(0.1, curve: 3)) }.play ) x.release // oscillating force, modulate tM ...
-
... orce (f = mu = 0: harmonic oscillation) x = { Fb1_Hopf ( MouseX .kr(0, 1).poll, MouseY .kr(1.5, 5).poll, 1, 200 * 2pi) * 0.2 }.play x.release // f fed with a SinOsc with frequency coupled to tMul by an integer factor, // mu movement can til ...
-
... use // TODO: a = {Decimator.ar(SinOsc.ar(440, 0, 0.20), MouseX.kr(100, 44100), MouseY.kr(1, 32))}.play // make a BitCrusher??? // TODO: make flanger and phasor // TODO: Fix modifiers for all keyboard systems (see "/Users/thor/quaziir/SC3/c ...
-
... Impulse .ar( MouseX .kr(30, ~maxTrigRate )), zeroX: Dseq ([2, 3], inf ), power: MouseY .kr(0.3, 2), rate: 0.2, dir: Dseq ([1, 1, 1, -1], inf ), ).tanh * 0.3 }.play ) x.release Ex.2) The 'xNum' and 'xRep' args // needs Buffers from Ex.1 // W ...
-
... t spectacular ( x = { Fb1_ODE .ar( \LotkaVolterra , [0.2, MouseX .kr(0.1, 0.9), MouseY .kr(0.1, 0.9), 0.8], tMul: 3000 ) * 0.1 }.play ) x.release Ex.9b) The Hastings-Powell equations // This is an extension of the Lotka-Volterra model and / ...