Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (225) Code (25) Doc (78) Help (44) Quark (78) SCDoc ↗ Forum ↗ Google ↗
  1. PG_04_Words_to_Phrases Help

    ... p, down (repeat) ( TempoClock .default.tempo = 1; p = Pbind ( \degree , Pseq ([ Pseries ({ rrand(0, 7) }, 1, { rrand(4, 8) }), // up (step = 1) Pseries ({ rrand(0, 7) }, 1, { rrand(4, 8) }), // up (step = 1) Pseries ({ rrand(7, 14) }, -1, { ...

  2. Pconst Help

    ... st (1, Prand ([1, 0.02, 0.2], inf )), \instrument , \help_sinegrain , \degree , Pseries (0, 1, inf ), \octave , 6 ) ).play; )

  3. Pdefn Help

    ... ), inf )); ( Pdefn ( \deg , Plazy { var pat; pat = [ Pshuf ([0, 3, 2, 7, 6],2), Pseries (0, 1, 11), Pseries (11, -1, 11)].choose; Pn (pat, inf ) }); ) When does the definition change? Timing If quant is set, the update is done at the next b ...

  4. convertRhythm Help

    ... nvertRhythm; // negative value is tied over. // sound example Pbind ( \degree , Pseries (0, 1, inf ), \dur , Pseq ([2, [1, [1, [2, 1, 1, -1]]], 2].convertRhythm)).play;

  5. PG_06d_Parallel_Patterns Help

    ... ew events, it stops and the Pspawner forgets about it sp.par( Pbind ( \degree , Pseries (rrand(-5, 7), #[-1, 1].choose, rrand(4, 7)), \pan , rrand(-1.0, 1.0), \dur , rrand(0.1, 0.3) // duration is chosen once for each pattern )); // tell th ...

  6. PG_Cookbook03_External_Control Help

    ... e (see Quant ). Triggering a pattern by a GUI ( var pattern = Pbind ( \degree , Pseries (7, Pwhite (1, 3, inf ) * Prand (#[-1, 1], inf ), inf ).fold(0, 14) + Prand (#[[0, -2, -4], [0, -3, -5], [0, -2, -5], [0, -1, -4]], inf ), \dur , Pwrand ...

  7. Ppatlace Help

    ... interlace two streams ( var c = Ppatlace ([ Pseq ([0, 0, 0, 0, 8, 0, 8], inf ), Pseries (1, 1, 32) ], inf ) + 67; x = c.asStream; Routine ({ loop({ Synth ( \help_sinegrain , [ \freq , x.next.midicps, \dur , 0.2]); 0.17.wait; }) }).play; ) / ...

  8. PstepNadd Help

    ... ) }), Plazy ({ "pattern3.asStream" .postln; Pseq ([100, 200, 300]) }), Plazy ({ Pseries (1, 1, 4) * 0.01 }) ).asStream; 150.do({ x.next.postln }); ) // if the last pattern loops it the combinatorics loop there: x = PstepNadd ( Pseq ([1, 2, ...

  9. PG_06c_Composition_of_Patterns Help

    ... ain (~melody, ~rhythm).play; ~melody.source = PmonoArtic ( \default , \degree , Pseries (4, Prand (#[-1, 1], inf ), inf ).fold(-4, 11)); ~melody.source = Pbind ( \degree , Pseries (4, Pwrand (#[-2, -1, 1, 2], #[0.3, 0.2, 0.2, 0.3], inf ), i ...

  10. Tdef Help

    ... -1,0,0, \freq , rrand(600, 640)); 0.1.wait; }) }) ) ( Tdef ( \x , { var x; x = Pseries (300, 20, 100).loop.asStream; loop({ s.sendMsg( "/s_new" , "pdef_grainlet" , -1,0,0, \freq , x.next); 0.05.wait; }) }) ) ( Tdef ( \x , { var x; x = Plaz ...

prev 1 2 3 4 5 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow