-
... o = 0.0, hi = 1.0, step = 0.125, seed| { var stream, curr, llo, hhi; thisThread.randSeed = seed.next.asControlInput; curr = lo.next rrand: hi.next; curr.yield; loop { llo = lo.next; hhi = hi.next; curr = (curr + (step.next.xrand2 * (hhi - l ...
-
... o = 0.0, hi = 1.0, step = 0.125, seed| { var stream, curr, llo, hhi; thisThread.randSeed = seed.next.asControlInput; curr = lo.next rrand: hi.next; curr.yield; loop { llo = lo.next; hhi = hi.next; curr = (curr + (step.next.xrand2 * (hhi - l ...
-
... resets to load or create - usually 8 // string or symbol is filename, number is randseed: influxPresets: [ 3, 12, 37, 42, 45, 86, 98, 875 ], // key of influxPreset to put into starting weights: influxWeights: 42, ////// not yet implemented, ...
-
... 8,64,128 ].collect({ |n| UPatDef( n, { |unit, vals, weights, seed| { thisThread.randSeed = seed.next.asControlInput; loop { vals.at( (..n-1).wchoose( weights.next.normalizeSum ) ).yield; }; }.r }, addToAll: false ) .category_( \pattern ) .s ...
-
... 8,64,128 ].collect({ |n| UPatDef( n, { |unit, vals, weights, seed| { thisThread.randSeed = seed.next.asControlInput; loop { vals.at( (..n-1).wchoose( weights.next.normalizeSum ) ).yield; }; }.r }, addToAll: false ) .category_( \pattern ) .s ...
-
... I.inph.seedRand = {|q, infl, seed=2011| var d = thisThread.randData; thisThread.randSeed_(seed); infl.rand; thisThread.randData_(d); }; // initialize here! NTMI.inph.seedRand(NTMI.inphlux, 2011); // set center a random preset NTMI.inph.cent ...
-
... f( n, { |unit, vals, histSize = 0, seed| { var index, size, arr, nn; thisThread.randSeed = seed.next.asControlInput; arr = (..n-1).scramble; loop { index = arr.removeAt( histSize.next.asInt rrand: (n-1).asInt ); arr = arr.addFirst( index ); ...
-
... f( n, { |unit, vals, histSize = 0, seed| { var index, size, arr, nn; thisThread.randSeed = seed.next.asControlInput; arr = (..n-1).scramble; loop { index = arr.removeAt( histSize.next.asInteger rrand: (n-1).asInteger ); arr = arr.addFirst( ...
-
... rd 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.1, 0.3)); k.putDown(char, { |c ...
-
... e6 = 0.5, value7 = 0.5, histSize = 0, seed | { var index, size, arr; thisThread.randSeed = seed.next.asControlInput; arr = (..7).scramble; loop { index = arr.removeAt( histSize.next.asInteger rrand: 7 ); arr = arr.addFirst( index ); [ value ...