Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (807) Code (67) Doc (450) Help (188) Quark (73) Plugin (29) SCDoc ↗ Forum ↗ Google ↗
  1. DegreeToKey Help

    ... ix; mix = // lead tone SinOsc .ar( ( DegreeToKey .kr( LocalBuf .newFrom(scale), MouseX .kr(0,15), // mouse indexes into scale 12, // 12 notes per octave 1, // mul = 1 72 // offset by 72 notes ) + LFNoise1 .kr([3,3], 0.04) // add some low fr ...

  2. SpecFlatness Help

    ... chain, flat, flatdb, flatdbsquish; in = XFade2 .ar( WhiteNoise .ar, SinOsc .ar, MouseX .kr(-1,1)); chain = FFT (b, in); Out .ar(0, in * 0.1); flat = SpecFlatness .kr(chain); flatdb = 10 * flat.log; // Convert to decibels flatdbsquish = LinL ...

  3. Convolution Help

    ... kernel; input = SoundIn .ar(0); kernel = Mix .ar( LFSaw .ar([300,500,800,1000]* MouseX .kr(1.0,2.0),0,0.25)); // must have power of two framesize Convolution .ar(input,kernel, 1024, 0.5); }.play; ) ( // must have power of two framesize - FF ...

  4. LatoocarfianC Help

    ... ly, so is rather hoggish of CPU. // default initial params { LatoocarfianC .ar( MouseX .kr(20, SampleRate .ir)) * 0.2 }.play(s); // randomly modulate all params ( { LatoocarfianC .ar( SampleRate .ir/4, LFNoise2 .kr(2,1.5,1.5), LFNoise2 .kr( ...

  5. LatoocarfianL Help

    ... ly, so is rather hoggish of CPU. // default initial params { LatoocarfianL .ar( MouseX .kr(20, SampleRate .ir)) * 0.2 }.play(s); // randomly modulate all params ( { LatoocarfianL .ar( SampleRate .ir/4, LFNoise2 .kr(2,1.5,1.5), LFNoise2 .kr( ...

  6. LatoocarfianN Help

    ... ly, so is rather hoggish of CPU. // default initial params { LatoocarfianN .ar( MouseX .kr(20, SampleRate .ir)) * 0.2 }.play(s); // randomly modulate all params ( { LatoocarfianN .ar( SampleRate .ir/4, LFNoise2 .kr(2,1.5,1.5), LFNoise2 .kr( ...

  7. Pluck Help

    ... WhiteNoise .ar(0.1), Impulse .kr(2), 440.reciprocal, 440.reciprocal, 10, coef: MouseX .kr(-0.999, 0.999)) }.play(s) ) s.quit; // a group of angry fretless mandolin players ( { var freq, numparts; numparts = 50; freq = SinOsc .kr( Array .fi ...

  8. PV_Div Help

    ... hoice var son = WhiteNoise .ar; // var son = Impulse.ar; var out = LPF .ar(son, MouseX .kr(100, 10000, 1)); var fft1 = FFT ( LocalBuf (b.numFrames), son, wintype: 1); var fft2 = FFT (b, out, wintype: 1); // As with most PV_ ugens, the resul ...

  9. Demand Help

    ... emand .kr(trig, 0, seq * 100); SinOsc .ar(freq + [0,0.7]).cubed.cubed.scaleneg( MouseX .kr(-1,1)) * 0.1; }.play; ) ( { var trig, seq, freq; trig = Impulse .kr(12); seq = Drand ([ Dseq ((1..5).mirror1, 1), Drand ((4..10), 8)], 2000) * Drand ...

  10. Dpoll Help

    ... ht half of the screen { Duty .kr(0.5, 0, Dpoll ( Dseries (0, 1, inf ) * 2, run: MouseX .kr > 0.5)); 0.0 }.play; // label { LFPulse .ar( Duty .kr(0.5, 0, Dpoll ( Dseries (0, 1, inf ) % 10 + 1 * 30, "value" ))) * 0.1 }.play; // block offset: ...

prev 11 12 13 14 15 16 17 18 19 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow