-
code:: // simple random keyboard player ( s.boot; s.latency = nil; // make sure we respond quickly thisThread.randSeed = 2014; k = KeyPlayer(\rand); "qwertzuiopasdfghjklyxcvbnm".do { |char| var note = (midinote: rrand(36, 96), dur: rrand(0. ...
-
... of history buffer; the amount of steps before a value can repeat itself. seed: random seed The 'value0'..'value7' arg ranges are mapped to that of the parameter to which the UMap is connected -- this is an UMapDef definition file part of t ...
-
//example using the RedWaveSystem class. angluar velocity changes at random ( var width= 300, height= 300, w, wgrav, world, n= 50, sys, spook= 0; //--world w= RedWindow("wavesystem test", Rect(128, 64, width, height)).front; wgrav= RedVecto ...
-
... of history buffer; the amount of steps before a value can repeat itself. seed: random seed The 'value0'..'value7' arg ranges are mapped to that of the parameter to which the UMap is connected -- this is an UMapDef definition file part of t ...
-
... asArray.sum; var outAmp = if(ampSum > 0.1) { 0 } { 1 }; // each time also set a random frequency Ndef(\x).set(\freq, rrand(300.0, 800.0)) }, { Impulse.kr(15) } ); ) ~that_freeDef.(\ampTrack); Ndef(\x).clear; // if you want to externally tri ...
-
... prepare current Environment ( ~start = 100; ~grow = 1.1; ) // from ascending to random x = p.play; // replace ~grow = 0.99; ~grow = 1.4; x.stop;
-
... , \amp ) }; // now try that it works by moving knobs // ... // then set Ndef to random values Ndef(\a).set(* ~ckeys.collect ([_, 1.0.linrand]).flat); // and move knobs again, should continue smoothly // from where they are now.
-
... string_("Amplitude control").fixedWidth_(120), *ampSelectButtons= #["targets", "random", "ramp", "wave", "lines"].collect{|x| Button().states_([ [" "++x, palette.buttonText, palette.button], ["•"++x, palette.buttonText, palette.highlight] ] ...
-
... *** rshift 4 action: slot1 PREV ndef --- right bottom button \touchMove selects random new ndef on a slot --- TEST: hold down bottom right \touchMove, then click on any left button -> posts *** rshift ? action: slot1 RAND ndef 3. LEFT SIDE: ...
-
... bal ratio: scale factor for the frequencies (0.25-4) amp: amplitude (0-1) seed: random seed (positive whole number). The same seed will always result in exactly the same signal on any computer. -- this is an Udef definition file part of the ...