-
... of chips that match the given MIDI pitch or array of pitches. . playNote Play a random chip matching the note or array of notes provided. . buffer Returns: The fracture's buffer. . filePath Returns: The path of this fracture's save director ...
-
... rase length. The default method is {arg q,bpsubdiv; rrand(0,q - 1)*bpsubdiv}; //random offset into source ⧉ ✔ reclevel Level of recursion, so 0 gives back the source exactly, 1 is one cutup, 4 is four recursive cutups. The higher the reclev ...
-
... 1); ) ( g.set(0, 1.0); 100.do({ |i| g.set(a.rand, (i+1).reciprocal) }); ) ( // random impulse response { var input, inputAmp, threshhold, gate; input = SoundIn.ar(0); inputAmp = Amplitude.kr(input); threshhold = 0.02; // noise gating thres ...
-
... rse far less efficient than send , but it can make sense; e.g. the synthdef has random elements. UGens like Rand(300, 400) create new random values on every send, while client-side random functions like exprand(1, 1.3) only get built once; ...
-
... dSmoothUD(0.05, 0.95); a.filter(1.0.rand); //run repeatedly - low pass filtered random data //plot example a= RedSmoothUD(0.9, 0.1); ~squarewave= (0..1000).collect{|x| (x%200>100).binaryValue}; ~smoothed= ~squarewave.collect{|x| a.filter(x) ...
-
... methods Iteration do reverseDo for forBy collect collectAs to geom fib factors Random Numbers xrand xrand2 Conversion asAscii asDigit asBinaryDigits asDigits asBinaryString asHexString asIPString asStringToBase asUnicode degreeToKey grayCo ...
-
... ist of recent items (or keys), so one can avoid close repetitions of items with random choices. First code examples: // make a Mem with 50 entries: ~mem = Mem(0); ~degrees = (0..7); // occasional direct repetitions... Pdef('mem', Pbind( \de ...
-
... rray(100, 100, a.flat); // Accessing a[15][22] b[15, 22] // Speed comparison 1: random access bench { 100.do(a[100.rand][100.rand]) } bench { 100.do(b[100.rand, 100.rand]) } // Speed comparison 2: iteration bench { 100.do(a.do { |row| row.d ...
-
... ynth arguments. Uses: Map note number or velocity onto Voicer synth parameters. Randomize, or otherwise algorithmically generate, parameter values per note. For example, each note could play at a random pan position. // assuming 'k' is a Vo ...
-
... _(1.2).wchange_(0.9).wdistance_(5).wradius_(10); obj.state= ( //init state with random values \fmamount: 0, \fmsend: 1, \rmamount: 0, \rmsend: 1, \freq: 128.rand.midicps, \atk: 0.1.rand, \dec: 0.4.rand, \pitchatk: 0.1.rand, \pitchdec: 0.3.r ...