Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (129) Code (50) Doc (22) Help (8) Quark (49) SCDoc ↗ Forum ↗ Google ↗
  1. PG_06c_Composition_of_Patterns Help

    ... , 0.2], inf ), \legato , Pwrand (#[0.1, 0.6, 1.01], #[0.1, 0.3, 0.6], inf ) ); ~melody = Pbind ( \degree , Pwhite (-4, 11, inf ) ); p = Pchain (~melody, ~rhythm).play; p.stop; That in itself has some good potential for algorithmic compositi ...

  2. Streams-Patterns-Events2 Help

    ... ample given in part 1 that uses a Pattern to create two instances of the random melody stream. ( s = Server .local; SynthDef ( \help_SPE2 , { arg i_out=0, sustain=1, freq; var out; out = RLPF .ar( LFSaw .ar( freq ), LFNoise1 .kr(1, 36, 110) ...

  3. PG_Cookbook02_Manipulating_Patterns Help

    ... rom time to time, the continuity should still be audible. ( var melodies = ( lowMelody: Pseries (4, Prand (#[-2, -1, 1, 2], inf ), inf ).fold(-7, 11), highMelody: Pseries (14, Prand (#[-3, -2, 2, 3], inf ), inf ).fold(7, 18) ); p = Pbind ( ...

  4. PG_Cookbook01_Basic_Sequencing Help

    ... instead of just one. The 'degree' pattern applies a set of chord intervals to a melody that's always on top. It's a compound pattern, Pseries(...) + Prand(...), where Pseries returns a single number and Prand returns an array. As with regul ...

  5. Streams-Patterns-Events1 Help

    ... ; #[63,65].choose.yield; 67.yield; #[70,72,74].choose.yield; }); // random high melody rrand(3,9).do({ #[74,75,77,79,81].choose.yield }); }); }); Routine ({ loop({ Synth ( \help_SPE1 , [ \freq , stream.next.midicps ] ); dur.wait; // synonym ...

  6. Streams-Patterns-Events6 Help

    ... ,60,65]]); Paddp ( \ctranspose , Prand ([-1,0,2,4,5], inf ), Ppar ([ Pbind ( // melody part \dur , Prand ([0.2, 0.4, 0.6], inf ), \midinote , Pxrand ([71, 72, 74, 76, 77, 79], 10), \db , -26, \legato , 1.1 ), Pbind ( // harmony part \pan , ...

  7. PG_01_Introduction Help

    ... play pitched material PG_Cookbook06_Phrase_Network Building a more complicated melody using shorter phrase patterns Also illustrates PmonoArtic for portamento with articulation PG_Cookbook07_Rhythmic_Variations : An ever-changing drumbeat ...

  8. PG_06g_Data_Sharing Help

    ... cked to see if the top note is already a member. If not, it's added so that the melody will always be present. Note that lazy operations on patterns define most of this behavior; only the conditional array check had to be written as a funct ...

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow