-
... 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.asInt rrand: 7 ); arr = arr.addFirst( index ); [ value0, v ...
-
... olor.new255(255, 69, 0), )[q.me.asSymbol ];*/ q.presetCols = q.inphlux.getHalo(\randSeeds).size.collect{|i| Color.hsv(i/ q.inphlux.getHalo(\randSeeds).size + 0.0, 1, 1, 1)}; w.background = q.presetCols @@ q.inphlux.getHalo(\presIndex); p = ...
-
... ment[ \seed ].isNil ) { f.environment[ \seed ] = 1569325056.rand; }; thisThread.randSeed = f.environment[ \seed ]; sortedPos = path.positions.deepCopy.scramble; }, \nearest, { oldPos = path.positions.reverse; sortedPos = Array( oldPos.size ...
-
... for making presets q.makeFmods = { |q, seed = 2008, time=1, range=0| thisThread.randSeed = seed; "qwertzuiopasdfghjklyxcvbnm".do { |char, i| q.fmodEvents.put(char, (instrument: \fmgr, amp: 0.6, midinote: rrand(0.0, 48).round(1.5) + (range + ...
-
... 9)) .states_([["scramble", Color.black, Color.clear]]) .action_({arg butt; var randseed; randseed = 100000.rand; thisThread.randSeed = randseed; pointlist = pointlist.scramble; thisThread.randSeed = randseed; // in order to keep the amp co ...
-
... = [\setRel, \setAbs]; // StaticText(infComp, 330@20).string_("seeds:" + q.inph.randSeeds).align_(\center).font_(font); presl = EZSlider(infComp, 330@20, "WeightsPreset", [0, q.inph.randSeeds.lastIndex, \lin, 1], { |ez| NTMI.inph.setWPreInd ...
-
... d numbers: //// TODO: should also take strings for codefile paths ... NTMI.inph_randSeeds = [ 7, 13, 23, 42, 86, rrand(0, 1000), \diagL ]; // // the preset key/name to set on startup NTMI.inph_presIndex = 0; NTMI.postInterfaces = { "\n NTMI ...
-
... { rMViews[1].value_(NTMI.inph.presIndex); rMViews[2].value_("seed" + NTMI.inph.randSeeds[NTMI.inph.presIndex]); NTMI.g.main.bigUVUpdate; } } }); rMViews[0].action.add(\setzoom, { |mv| NTMI.setZoom(mv.value) }); rMViews[0].label_(\zoom).val ...
-
... : //// TODO: should also take strings for codefile paths ... NTMI.defaults.inph_randSeeds = [ 7, 13, 23, 42, 86, rrand(0, 1000), \diagL ]; // // the preset key/name to set on startup NTMI.defaults.inph_presIndex = 0; /* NTMI.defaults.postIn ...
-
... ; // same random choices every run ({[0, 5, 7].choose} in a command) thisThread.randSeed = 1234; "RADTEST:SETUP".postln; // setup waits longer: building the mixer pauses for the server, and a // command typed before it is ready fails (seen ...