Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1076) Code (138) Doc (359) Help (130) Quark (446) Plugin (3) SCDoc ↗ Forum ↗ Google ↗
  1. Fracture Doc

    ... of chips that match the given MIDI pitch or array of pitches. . playNote Play a random chip matching the note or array of notes provided. . buffer Returns: The fracture's buffer. . filePath Returns: The path of this fracture's save director ...

  2. RecursiveCutProc1 Doc

    ... rase length. The default method is {arg q,bpsubdiv; rrand(0,q - 1)*bpsubdiv}; //random offset into source ⧉ ✔ reclevel Level of recursion, so 0 gives back the source exactly, 1 is one cutup, 4 is four recursive cutups. The higher the reclev ...

  3. Convolution2 Doc

    ... 1); ) ( g.set(0, 1.0); 100.do({ |i| g.set(a.rand, (i+1).reciprocal) }); ) ( // random impulse response { var input, inputAmp, threshhold, gate; input = SoundIn.ar(0); inputAmp = Amplitude.kr(input); threshhold = 0.02; // noise gating thres ...

  4. jitlib_basic_concepts_03 Doc

    ... rse far less efficient than send , but it can make sense; e.g. the synthdef has random elements. UGens like Rand(300, 400) create new random values on every send, while client-side random functions like exprand(1, 1.3) only get built once; ...

  5. RedSmoothUD Doc

    ... dSmoothUD(0.05, 0.95); a.filter(1.0.rand); //run repeatedly - low pass filtered random data //plot example a= RedSmoothUD(0.9, 0.1); ~squarewave= (0..1000).collect{|x| (x%200>100).binaryValue}; ~smoothed= ~squarewave.collect{|x| a.filter(x) ...

  6. Integer Doc

    ... methods Iteration do reverseDo for forBy collect collectAs to geom fib factors Random Numbers xrand xrand2 Conversion asAscii asDigit asBinaryDigits asDigits asBinaryString asHexString asIPString asStringToBase asUnicode degreeToKey grayCo ...

  7. Mem Doc

    ... ist of recent items (or keys), so one can avoid close repetitions of items with random choices. First code examples: // make a Mem with 50 entries: ~mem = Mem(0); ~degrees = (0..7); // occasional direct repetitions... Pdef('mem', Pbind( \de ...

  8. Array2D Doc

    ... rray(100, 100, a.flat); // Accessing a[15][22] b[15, 22] // Speed comparison 1: random access bench { 100.do(a[100.rand][100.rand]) } bench { 100.do(b[100.rand, 100.rand]) } // Speed comparison 2: iteration bench { 100.do(a.do { |row| row.d ...

  9. VoicerMIDISocket Doc

    ... ynth arguments. Uses: Map note number or velocity onto Voicer synth parameters. Randomize, or otherwise algorithmically generate, parameter values per note. For example, each note could play at a random pan position. // assuming 'k' is a Vo ...

  10. 062-angents-fm_synth Doc

    ... _(1.2).wchange_(0.9).wdistance_(5).wradius_(10); obj.state= ( //init state with random values \fmamount: 0, \fmsend: 1, \rmamount: 0, \rmsend: 1, \freq: 128.rand.midicps, \atk: 0.1.rand, \dec: 0.4.rand, \pitchatk: 0.1.rand, \pitchdec: 0.3.r ...

prev 11 12 13 14 15 16 17 18 19 20 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow