Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (883) Code (145) Doc (91) Help (17) Quark (625) Plugin (5) SCDoc ↗ Forum ↗ Google ↗
  1. SCEnvelopeEdit Plugin

    ... Segment); // bpm1 = bp - 1; // bpp1 = bp + 1; // // bpLevel = view.currentvalue.linlin(0.0, 1.0, minLevel, maxLevel); // env.levels[bp] = bpLevel; // // timePos = view.value[0][view.index].linlin(0.0, 1.0, minTime, maxTime); // // // first ...

  2. NoiseRing Plugin

    ... 0, DNoiseRing(change: MouseX.kr(0, 1), chance: MouseY.kr(0, 1), numBits: 32))).linlin(0, 2**32, 40, 40+48).midicps.poll; SinOsc.ar(freq)!2 }.play

  3. SOMTrain_2D_example Plugin

    ... arr[index+1] +1 * 300 ), 20, 20)).string_( "x" ).background_(~cols[arr[index+2].linlin(-1, 1, 0, ~cols.size-1)]) // SCStaticText }; w.front; }.defer}) ) // Or if you have OctaveSC you can plot a very nice 3D mesh: o = OctaveSC .new; o.init; ...

  4. SOMTrain Plugin

    ... f.numChannels) }; buf.loadCollection({ buf.numChannels.collect{|index| 1.0.rand.linlin(0, 1, minval[index], maxval[index]) } }.dup(buf.numFrames).flat); } // spinmatrix is an array of buf.numChannels vectors, each of which has "numdims" ent ...

  5. BetaBlocker-examplePrograms Plugin

    ... false) b === a.collection(true) x = a.play(10000 + SinOsc.ar(10)); SinOsc.ar(0).linlin(-1, 1, 10000, 19000)) x.free a.plot(duration: 0.15) // impulse a = BBlockerProgram([\ORG, \NOT, \NOT, \NOP, \NOP, \NOP, \NOP, \NOP, \JMP, 1]); x = a.play ...

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow