Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1643) Code (228) Doc (514) Help (194) Quark (697) Plugin (10) SCDoc ↗ Forum ↗ Google ↗
  1. sndBuffer2 Quark

    ... 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;}) ...

  2. MView Quark

    ... 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 ...

  3. extPlotTreeScale Quark

    ... 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 ...

  4. 0a_inphlux Quark

    ... : // 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 ...

  5. ExtendableObject-tests Quark

    ... 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 ...

  6. extStatistics Quark

    ... 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 ...

  7. Smacof Quark

    ... }; 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 ...

  8. doubleBass Quark

    ... 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 ...

  9. XiiLiveCoder Quark

    ... 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)) ...

  10. ntmi_settings Quark

    ... .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 ...

prev 51 52 53 54 55 56 57 58 59 60 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow