-
... y].value; ~blip.actions[\setFreq].value(0.5); ~blip.actions[\setHarm].value(1.0.rand); ~blip.actions[\setAmp].value(1.0.rand); ~blip.actions[\setPan].value(1.0.rand); // 3. make an MKtl MKtl(\gp, "*impact-gamepad"); MKtl(\gp).gui.parent.alw ...
-
... r(0,IFFT([a,b]).tanh)};//44.1kHz:) play{AllpassC.ar(SinOsc.ar(55).tanh,0.4,TExpRand.ar(2e-4, 0.4,Impulse.ar(8)).round([2e-3,4e-3]),2)};// #supercollider with bass please... play{Mix({a=LFNoise1.ar(0.2.rand);DelayC.ar(BPF.ar(WhiteNoise.ar( ...
-
... rol.width@10); /*******************************************************/ // random scale Button(control.window, control.button.dim) .states_([["rand scale", Color.white, Color.magenta(0.5)]]) .action_({ control.chooseScale.value ...
-
... unds.rightBottom.flipY ) }); Button(zone, Rect(0,0, 32, butHeight)) .states_([["rand", skin.fontColor, skin.foreground]]) .font_(font) .action_({ |but, modif| // cocoa and swingosc -alt mod. var rand = if (modif.isAlt) { object.setRand(expr ...
-
... r freq = LFDNoise3.kr(minfreq * 0.01).exprange(minfreq, maxfreq); // var dist = Rand(0, 7); // choose new random distrib when running // var addd = exprand(0.001, 1); // choose new random distrib when running var mods = Gendy3.kr(dist!n, di ...
-
... e.ar([0.007, 0.007])) }.play; ⧉ ✔ Three resonators at maximum amplitude of 1.0, random frequency and ring times. Excited by two pulses at 2 and 2.5 Hz: ( play({ Klank.ar(`[ Array.rand(12, 800.0, 4000.0), // frequencies nil, // amplitudes (d ...
-
... d with the array indexing syntax: a = NodeProxy .new.play; a[0] = { SinOsc .ar( Rand (200, 899)) * 0.1.dup }; a[2] = { SinOsc .ar( Rand (200, 899)) * 0.1.dup }; a.sources.do( _ .postcs); // using multiple index expands into multiple objects ...
-
... erView too. ( w = SCWindow ( "test-asCode" ).front; 10.do({ SCSlider ( w, Rect .rand( 380, 380, 100, 100 ) ).value_( 1.0.rand ); }); w.view.background = Color .blue(0.8).alpha_(0.25); ) w.asCode; /* result: w = GUI.window.new("test-asCode", ...
-
... tapsLevelMax = taps.reciprocal; tapsOut = Mix.fill(taps,{ var delays; delays = rrand(tapsMin,tapsMax); DelayN.ar(input,delays,delays,tapsLevelMax.rand) }) + input },{ tapsOut = input; }); // 0 possible combs.do({ arg ci; var times; times = ...
-
... ~mktl.elementsDict.size; ~mktl.postElements; // can all elements can be set to random values? // (should post and appear on gui): ~mktl.elementsDict.do(_.valueAction_(1.0.rand)); ""; // do all outputElelements change on device and gui? ~mk ...