Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (102) Code (23) Doc (29) Help (13) Quark (37) SCDoc ↗ Forum ↗ Google ↗
  1. Pfunc Doc

    ... turns a Stream that returns values from the nextFunc . To return a pattern, see Plazy . Class Methods Pfunc. new ( nextFunc , resetFunc ) Arguments: nextFunc Stream function. In an event stream nextFunc receives the current Event as argumen ...

  2. PG_06a_Repetition_Contraint_Patterns Doc

    ... ato, 0.3 ).play; p.stop; // using Pfin / Pn // Pn loops the Pbind infinitely // Plazy builds a new Pbind for each iteration // Pfin cuts off the Pbind when it's time for a new value p = Pn( Plazy { Pbind( \degree, Pfin(rrand(3, 10), rrand(- ...

  3. TaskProxy Doc

    ... grainlet", -1, 0, 0, \freq, x.next); 0.05.wait; } } ) ( x.source = { var x; x = Plazy { Pseries(300 + 300.rand, 10 + 30.rand, 10 + 30.rand) }.loop.asStream; loop { s.sendMsg("/s_new", "pdef_grainlet", -1, 0, 0, \freq, x.next); 0.05.wait; } ...

  4. ContextSnake Doc

    ... c.asStream.all.postln }; // add pauses between new starts Pbind(\degree, Pseq([Plazy({ c.randStarter }), \_, \_], inf), \dur, 0.2).trace(\degree).play; s.boot; // Add special markers for the beginning and ending to each phrase; // this can ...

  5. Pgpar Doc

    ... n with gaps and overlays ( x = Pbind( \instrument, \help_sinegrain, \degree, Pn(Plazy({ Prand([0, 4, 5], 16) + 5.rand })) + Prand(#[0, [0, 3], [0, 7]], inf), \dur, Prand([0.25, 0.5, 1.0], inf), \scale, #[0, 3, 5, 9, 10] ); y = Pbind( \instr ...

  6. BP Doc

    ... ~buf, but ~buf is not loaded // at the time of creating the PR. So we must use Plazy // to wait and evaluate ~buf.duration at play time. ~start = Plazy { Pwhite(0, ~buf.duration - Pkey(\time), inf) * ~buf.sampleRate }; ~time = Pwhite(0.1, ...

  7. Sieves_and_Psieve_patterns Doc

    ... x, an ascending index list of random length and a random offset // Function for Plazy q = { Pindex(z, Pseq((0..rrand(10, 20))) + z.size.rand) } Pn(Plazy(q), 30).asStream.all.plot; // sequencing randomly repeated random segments of random le ...

  8. Streams Doc

    ... Pfset Pmul Padd Psetp Pmulp Paddp Pfindur other Patterns Pwhite Pbrown Ppatmod Plazy Pbind PstepNadd PstepNfunc Streams BinaryOpStream UnaryOpStream Event Stream EventStreamPlayer helpfile source: /usr/local/share/SuperCollider/HelpSource/ ...

  9. Tdef Doc

    ... grainlet", -1, 0, 0, \freq, x.next); 0.05.wait; }) }) ) ( Tdef(\x, { var x; x = Plazy({ Pseries(300 + 300.rand, 10 + 30.rand, 10 + 30.rand) }).loop.asStream; loop({ s.sendMsg("/s_new", "pdef_grainlet", -1, 0, 0, \freq, x.next); 0.05.wait; } ...

  10. Event_patterns_and_array_args Doc

    ... \id, x, \args, #[freq, amp, otAmps], // must be given explicitely \midinote, Pn(Plazy { Pseq((70..50)) / rrand(1, 1.2) }), \amp, 0.3, \otAmps, Pseq(o, 30) ).play ) ( // stop EventStreamPlayer and release Synth p.stop; x.release; ) ⧉ ✔ Ex.2c ...

prev 1 2 3 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow