Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (136) Code (43) Doc (39) Help (11) Quark (43) SCDoc ↗ Forum ↗ Google ↗
  1. TRand Help

    TRand triggered random number generator TRand.kr(lo, hi, trig) TRand.ar(lo, hi, trig) Generates a random float value in uniform distribution from lo to hi each time the trig signal changes from nonpositive to positive values ( { var trig = ...

  2. TGrains Help

    ... ur = 12 / trate; clk = Impulse .kr(trate); pos = MouseX .kr(0, BufDur .kr(b)) + TRand .kr(0, 0.01, clk); pan = WhiteNoise .kr(0.6); TGrains .ar(2, clk, b, 1 , pos, dur, pan, 0.1); }.scope(zoom: 4); ) // 4 channels ( { var b = 10, trate, dur ...

  3. TIRand Help

    ... the trig signal changes from nonpositive to positive values ( SynthDef ( "help-TRand" , { var trig, outBus; trig = Dust .kr(10); outBus = TIRand .kr(0, 1, trig); //play on random channel between 0 and 1 Out .ar(outBus, PinkNoise .ar(0.2)) ...

  4. CoinGate Help

    ... var trig; trig = CoinGate .kr(prob, Impulse .kr(10)); Out .ar(out, SinOsc .ar( TRand .kr(300.0, 400.0, trig),0,0.2 ) ) }).play; ) a.set( \prob , 1.0); a.set( \prob , 0.0); a.set( \prob , 0.1); ( a = SynthDef ( "help-TCoin" , { arg out=0, p ...

  5. UGens Help

    ... FreeSelf Pause PauseSelf Random Values Rand ExpRand LinRand NRand IRand TIRand TRand TExpRand RandSeed RandID Array Usage Select TWindex to be continued ....

  6. PV_HainsworthFoote Help

    ... .kr(1 - difficulty, trig); SinOsc .ar( TExpRand .kr(300, 1000, t) * (i + 1)) * TRand .kr(0, 1, t) }.dup(10).sum; // source1 = source1 * Decay.kr(trig, 0.5); detect = PV_HainsworthFoote .ar( FFT ( LocalBuf (2048), source1), threshold: Mouse ...

  7. SynthDefsVsSynths Help

    ... hich you build into your ugenGraphFunc), and through new ugens such as Rand and TRand . When maximum flexibility is required, it is still possible to compile and send SynthDefs 'on the fly', albeit with SC2-like CPU spikes and a small amoun ...

  8. Tour_of_UGens Help

    ... ur = 12 / trate; clk = Impulse .kr(trate); pos = MouseX .kr(0, BufDur .kr(b)) + TRand .kr(0, 0.01, clk); pan = WhiteNoise .kr(0.6); TGrains .ar(2, clk, b, 1, pos, dur, pan, 0.1); }.scope(2, zoom: 4); ) // 4 channels ( { var trate, dur, clk, ...

  9. Spawning Help

    ... eal of variation can be achieved with arguments, or with ugens such as Rand and TRand . See the helpfile SynthDefsVsSynths for more detail. // SynthDefs on the fly s = Server .default; s.boot; ( t = TempoClock .new; r = Routine .new({ 10.do ...

  10. Randomness Help

    ... etween (lo, hi), as for numbers. IRand uniform distribution of integer numbers. TRand uniform distribution of float numbers, triggered TIRand uniform distribution of integer numbers, triggered LinRand skewed distribution of float numbers, t ...

1 2 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow