Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (3519) Code (203) Doc (848) Help (193) Quark (2225) Plugin (50) SCDoc ↗ Forum ↗ Google ↗
  1. example sequencing soundfiles by fredrik-olofsson (Fredrik Olofsson) Code

    ... aying index:"+index).postln; c.unhang; }; c.hang; index= index+1%b.size; //play in sequence //index= b.size.rand; //or play random }; }).play; )

  2. QuadL Doc

    ... + b * x(n) + c sclang code translation: ( var a = 1, b = -1, c = -0.75, xi = 0, size = 64; plot(size.collect { xi = (a * (xi ** 2)) + (b * xi) + c; xi }); ) ⧉ ✔ Class Methods QuadL. ar ( freq: 22050 , a: 1 , b: -1 , c: -0.75 , xi: 0 , mul: ...

  3. QuadC Doc

    ... + b * x(n) + c sclang code translation: ( var a = 1, b = -1, c = -0.75, xi = 0, size = 64; plot(size.collect { xi = (a * (xi ** 2)) + (b * xi) + c; xi }); ) ⧉ ✔ Class Methods QuadC. ar ( freq: 22050 , a: 1 , b: -1 , c: -0.75 , xi: 0 , mul: ...

  4. SelectX Doc

    ... ; a = [ SinOsc.ar, Saw.ar(300), Pulse.ar(230) ]; SelectX.ar(MouseX.kr(0, 1) * a.size, a) * 0.2 }.play; ) ( { var a; a = [ SinOsc.kr(0.25), LFSaw.kr(10), LFPulse.kr(0.3) ]; SinOsc.ar(SelectX.kr(MouseX.kr(0, 1) * a.size, a) * 300 + 400) * 0.2 ...

  5. Red3D Quark

    ... position; rotationMatrices.do{|m| v= v.matrixMul(m)}; v; }; } render {|dist= 2, size= 100| renderedPoints= vectors.collect{|v| v= v.project(dist); Point(v[0], v[1])*size; }; } draw {|dotSize= 5| renderedPoints.do{|p, i| Pen.fillOval(Rect.ab ...

  6. WarpCutProc1 Doc

    ... etimes so fast that a pitch is heard. With this procedure you must specifiy the sizes of allowed blocks. Each block then has some probability to be a simple statement, or some type of roll (fast set of repetitions), either even or geometric ...

  7. Z354Sound Quark

    ... leRate; // Input sample rate var <>duration; // Duration in seconds var <>windowSize; // FFT window size var <>hopSize; // Hop size in samples var <>frameCount; // Number of analysis frames var <>partialCount; // Number of partials var <>wi ...

  8. ddwPatterns Quark

    ... totalweight.rand; runningsum = 0; while { index = (index + 1) % currentWeights.size; runningsum = runningsum + currentWeights[index]; runningsum < rnd }; }); } } // deprecated; Pslide now has a wrap flag PslideNoWrap : Pslide { // false = ...

  9. PitchShiftPAWr Doc

    ... se larger buffer for lower frequencies or higher formant ratio. Required buffer size depends on the lowest processed frequency and highest requested formant ratio during re-synthesis. ((SampleRate.ir * minFreq.reciprocal * maxFormantRatio) ...

  10. StandardL Doc

    ... ysicist Boris Chirikov. sclang code translation: ( var k = 1, xi = 0.5, yi = 0, size = 64; plot(size.collect { yi = yi + (k * sin(xi)) % 2pi; xi = (xi + yi) % 2pi; xi - pi * 0.3183098861837907 }); ) ⧉ ✔ Class Methods StandardL. ar ( freq: 2 ...

prev 121 122 123 124 125 126 127 128 129 130 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow