Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1204) Code (149) Doc (369) Help (93) Quark (575) Plugin (18) SCDoc ↗ Forum ↗ Google ↗
  1. Temperament Quark

    ... rate(base440, noteindex); } cps { |noteindex| // base * (2 ^ octave) * (ratio ^ scaleDegree) // 2 ^ octave factor reduces rounding errors from simpler formula ^basefreq * (octaveRatio ** ((noteindex / stepsPerOctave).trunc)) * (ratio ** (no ...

  2. 6chLoopbuff Quark

    ... arrow ----- 100 wide // 6 channel mapping : sampAzi: -180 to 180 degrees // amp scales the whole thing // initializes to note-on playing state ~name = "6chLoopbuff".asSymbol; ~description = "6 track sample looper"; ~channelLayout = \mono; ~ ...

  3. Core_06 Quark

    ... CompensateIdxsV549 = { |origPts, newPts, idxs, amount = 1.0| var before, after, scale, amt; before = 0.0; after = 0.0; amt = (amount ? 1.0).asFloat.clip(0.0, 1.0); idxs.do { |idx| if(origPts[idx].notNil) { before = before + ((origPts[idx][2 ...

  4. batchNRT Quark

    ... um, outbufnum, gain = 0.2| var source; source = PlayBuf .ar(1, inbufnum, BufRateScale .kr(inbufnum)); 4.do({ source = AllpassN .ar(source, 0.050, [ Rand (0, 0.05), Rand (0,0.05)], 1) } ); RecordBuf .ar([source * gain], outbufnum, loop:0); O ...

  5. batchNRT Quark

    ... um, outbufnum, gain = 0.2| var source; source = PlayBuf .ar(1, inbufnum, BufRateScale .kr(inbufnum)); 4.do({ source = AllpassN .ar(source, 0.050, [ Rand (0, 0.05), Rand (0,0.05)], 1) } ); RecordBuf .ar([source * gain], outbufnum, loop:0); O ...

  6. CtLoop Quark

    ... strained to a segment (start, range). The values in the loop can be shifted, re-scaled, and inverted. Recorded controls can be excepted from rescaling by name. It is used in the GamePad class by adc and haho. Example: // a simple synth s.bo ...

  7. robTron Quark

    ... ); Ndef(\robTron).addSpec(\pw3, [0.01, 0.99, \lin]); Ndef(\robTron).addSpec(\maxScale, [5, 10000, \exp, 0.1]); Ndef(\robTron).addSpec(\minScale, [0.1, 1000, \exp, 0.1]); Ndef(\robTron).addSpec(\balAnce, [ 0, 2]); Ndef(\robTron).addSpec(\s2, ...

  8. cymbal808Ryan-explanation Quark

    // BinaryOpUGen('==', a, b) compares two signals. // While the two signals are not at same value, // output is zero. When they happen to be the same, // output is 1. ( { var a = DC.ar(0.7); var b = SinOsc.ar(1).round(0.1); x = BinaryOpUGen( ...

  9. cycle Quark

    ... The content of the array cannot be the indices of al".error; ^nil; } } cycleMidiScale { | int1, int2, root, step=0 | // this : is an Ambitus // int1 is either an array of intervals or a Scale // int2 idem but can be nil if ascScale = descSc ...

  10. mapping-to-proxies2 Quark

    ... ef with 9 params, same as in prev. file ( Ndef(\test, { |freq=250, intv=19, timescale=1, curve=0, loopnode=0, formfact=2, widfact=0.5, spread=1, amp=0.1| var env = EnvGen.kr( Env( { 1.0.rand2 }!11, {1.0.rand}!10 * timescale, curve, releaseN ...

prev 41 42 43 44 45 46 47 48 49 50 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow