-
... e, #[66, 0, 1]); // note off x.set(\note, #[60, 0, 1]); x.set(\startPosSecs, 30.rand, \note, #[60, 1, 1]); x.free; // open up GUIs for monitoring if (~plotTree == nil, { ~plotTree=s.plotTree;}); if (~makeGui == nil, { ~plotTree=s.makeGui;}) ...
-
... var currVals = this.getUni, jump; if (currVals.size < 1) { this.setUni(nil, 1.0.rand); } { jump = rrand(currVals.minItem.neg, 1-currVals.maxItem); this.shiftRange(jump, \stop) }; this.doAction }, $R: { |uv, mod| this.setUni(nil, this.makeVa ...
-
... bol).parentGroup_(g).put(0, { Silent.ar }).play }; fork { 100.do { ().play; 0.3.rand.wait } }; renamed these to plotTree2 and plotTreeView2 for now, so they do not overwrite newer implementation in main SC. Need to look whether anything is ...
-
... : // NTMI.inph = NTMI.inph ? (); NTMI.inphlux = Influx(9+8, 20); NTMI.inph.seedRand = {|q, infl, seed=2011| var d = thisThread.randData; thisThread.randSeed_(seed); infl.rand; thisThread.randData_(d); }; // initialize here! NTMI.inph.seedR ...
-
... 80 a.zeta(b) // 56 a.asCompileString.interpret == a // true a.totalFree = { 1.0.rand }; // exists, should throw a.addMethod('+', { pi }); // override a + 6 == pi // yes 6 + a == pi // also, yes. a.addMethod('+', { |self, y| self.object + y ...
-
... pseudo-normal distribution which we'lll analyse in the following a = {45.0.sum3rand + 65}.dup(1000); Various measures to characterise the distribution a.geoMean // Geometric mean a.harmMean // Harmonic mean a.variance a.stdDev // Standard ...
-
... }; r = r * 2; postf("r: %\n", r); m.size.do{|i| nDims.do{|k| v0[i][k] = r * 1.0.rand } }; postf("v0: %\n", v0); d = this.dist(v0, d0, nDims); s0 = this.stress0(d0, m); iter = 0; done = false; postf("d0: %\n\ns0: %\n\n", d0, s0); { done.not ...
-
... mul: vel / 2 + op3mul); // Fundamental Frequency op4 = SinOsc.ar( freq: freq + NRand(-1 * freqDev, freqDev, 3), phase: op3, mul: vel); // Delay Line with Multi-Channel Expansion snd = { DelayN.ar( in: op4, maxdelaytime: 0.06, delaytime: Ran ...
-
... s]; } } /* ----------- Task({ 50.do({ arg i; Synth(\xiiString, [\freq, 200+(800.rand), \outbus, 52]); 0.25.wait; }); }).start; ----------- {Decay.ar(Impulse.ar(4), 0.5, Pulse.ar(30))}.play ----------- {Decay.ar(Impulse.ar(XLine.kr(1,50,20)) ...
-
... .setup +/+ "0_globals/ntmi_defaults.scd").openOS */ // GENERAL: should NTMI use random initial values // when no initial sounds & presets are set? // if yes, one gets to know different ones over time NTMI.usesRandomInit = true; // headless ...