Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (797) Code (76) Doc (225) Help (77) Quark (404) Plugin (15) SCDoc ↗ Forum ↗ Google ↗
  1. Streams-Patterns-Events1 Help

    ... and], 4) }); Out .ar( i_out, out ); }).send(s); ) ( // streams as a sequence of pitches var stream, dur; dur = 1/8; stream = Routine .new({ loop({ if (0.5.coin, { // run of fifths: 24.yield; 31.yield; 36.yield; 43.yield; 48.yield; 55.yield; ...

  2. Gendy2 Help

    ... 1,0.005, 12, 12, 0.2,0.2,0.2), 0.0)}.play //modulate distributions //change of pitch as distributions change the duration structure and spectrum { Pan2 .ar( Gendy2 .ar( MouseX .kr(0,7), MouseY .kr(0,7),mul:0.2), 0.0)}.play //modulate num o ...

  3. PG_Cookbook05_Using_Samples Help

    ... y(quant: [4, 4]); ) [p, q, r].do( _ .stop); b.free; Using audio samples to play pitched material To use an instrument sample in a pattern, you need a SynthDef that plays the sample at a given rate. Here we will use PlayBuf , which doesn't a ...

  4. Gendy1 Help

    ... 50,1000, 1,0.005, 12, 12, 0.2), 0.0)}.play //modulate distributions //change of pitch as distributions change the duration structure and spectrum { Pan2 .ar( Gendy1 .ar( MouseX .kr(0,7), MouseY .kr(0,7),mul:0.2), 0.0)}.play //modulate num o ...

  5. Sequencing with Routines and Tasks Help

    ... note sequencing The previous example controls the generation of one parameter (pitch) by looping over an array inside the Task. What if you want to control several parameters? Remember that routines can also generate data, in addition to t ...

  6. PG_04_Words_to_Phrases Help

    ... Pnsym have cousins that do exactly this: Pswitch1 , Psym1 and Pnsym1. // random pitches in two distinct ranges; use a coin toss to decide which for this event // 70% low, 30% high ( TempoClock .default.tempo = 1; p = Pbind ( \degree , Pswit ...

  7. Tour_of_UGens Help

    ... e .kr(b),trig, MouseX .kr(0, BufFrames .kr(b)),1) }.scope(1); ) // accelerating pitch ( { var rate; rate = XLine .kr(0.1,100,60); PlayBuf .ar(1, b, rate, 1.0,0.0, 1.0) }.scope(1); ) // sine wave control of playback rate. negative rate plays ...

prev 1 2 3 4 5 6 7 8

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow