Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... (0, false); ) ( r = Routine({ var j = 0; 20.do({ |i| b.selectIndex((b.size - 1).rand.abs); 0.1.wait; b.x_(1.0.rand.abs); b.y_(1.0.rand.abs); }); b.selectIndex(-1); }); AppClock.play(r); ) ⧉ ✔ Show boxes with a string in it: ( a = Window("te ...

  2. Influx Quark

    ... isNil) { weights = argWeights ?? { { 0 ! inNames.size } ! outNames.size }; this.rand; } { // add size check here // if (weights.shape == [inNames.size, outNames.size]) weights = argWeights }; } calcOutVals { weights.do { |line, i| var outVa ...

  3. SimpleNumber Help

    ... tangent. sinh Hyperbolic sine. cosh Hyperbolic cosine. tanh Hyperbolic tangent. rand Random number from zero up to the receiver, exclusive. rand2 Random number from -this to +this. linrand Linearly distributed random number from zero to thi ...

  4. 2_xosc_pullup Quark

    ... tf(btname); q.slots.stepNext(i, -1); }, touchMove: { // "*** rshift 3 action: % RAND ndef\n".postf(btname); q.slots.chooseNext(i); }, )[q.osc.rightDown.first]; actionFunc.value; } } }); }; MKtl(\xosc).elAt(\sw, [\5, \6, \7]).do { |but, i| / ...

  5. Re: Recursion-toy-like vines with Pen by vividsnow (vividsnow) Code

    ... , radius:radius, generation:1, growing:true, age:0, wanderStep: rrand(q.minWanderStep, q.maxWanderStep), growthRate: rrand(q.minGrowthRate, q.maxGrowthRate), shrinkRate: rrand(q.minShrinkRate, q.maxShrinkRate), fRend ...

  6. Mix it Up Help

    ... at the following example: ( var n = 8; { Mix .fill(n, { SinOsc .ar(500 + 500.0.rand, 0, 1 / n) }) }.play; ) The Function will be evaluated n times, each time creating a SinOsc with a random frequency from 500 to 1000 Hz (500 plus a random ...

  7. PLbindefPar Quark

    ... 0, freq = 400, att = 0.005, rel = 0.1, amp = 0.1| var sig = { SinOsc .ar(freq, Rand (0, 2pi)) } ! 2; sig = sig * EnvGen .ar( Env .perc(att, rel, amp), doneAction: 2); OffsetOut .ar(out, sig); }).add; SynthDef ( \saw_grain , { |out = 0, fre ...

  8. softPut Doc

    ... 2); Tdef(\test, { var dur; loop { dur = e.dur; (amp: e.amp, dur: dur, degree: 7.rand).play; dur.wait; }; }).play; ) e.put(\amp, 0.03); // just set it e.put(\amp, 0.1); e.softPut(\amp, 0.11); // small change, OK to set e.put(\amp, 0.1); e.so ...

  9. sctweets by redFrik by fredrik-olofsson (Fredrik Olofsson) Code

    ... .do{|i|x={Pan2.ar(SinOsc.ar(i+1,SinOsc.ar((i%9).div(3)*100+(i%9)+500),0.03),1.0.rand2)}.play;2.wait;x.release(25)}}.play//#SuperCollider //--tweet0002 r{99.do{x={Pan2.ar(BPF.ar(Impulse.ar(18.linrand+0.5),9999.linrand,0.3.linrand,5),1.0. ...

  10. Literals Help

    ... int. This distinguishes floating point numbers from integer expressions like: 8.rand examples of floats : 0.39 98.6 1.0 -0.5 Exponential notation is also supported. 1.2e4 1e-4 The constant pi can be appended to a number to create floating p ...

prev 131 132 133 134 135 136 137 138 139 140 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow