Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1270) Code (328) Doc (434) Help (131) Quark (377) SCDoc ↗ Forum ↗ Google ↗
  1. Pset Help

    ... value, pattern) Pset sets a value in an event stream. It acts like one key in a Pbindf ( var a, b; a = Pset (\freq, 801, Pbind ( \dur , 0.5)); x = a.asStream; 9.do({ x.next( Event .new).postln; }); ) Pset overrides incoming values: ( var a, ...

  2. Plambda Help

    ... Osc .ar(freq), pan, env)) }).add; ) ( a = Plambda ( Pseq ([ Pfindur (5, Ppar ([ Pbind ( \note , Plet ( \x , Prand ([1, 5, 1, [10, 14]], inf )), \dur , 8/3, \pan , -1), Pbind ( \note , Plet ( \y , Pseq ([5, 3, 2, 0, [0, 5, 6, 9]], inf )), \d ...

  3. Pkey Help

    ... attern Pkey simplifies backward access to values in an event being processed by Pbind or another event pattern. *new(key) The key is the name of the event variable to read from. // \b should thus take twice the value of \a in each event: p ...

  4. Paddpre Help

    ... er it has been passed to the stream, use Padd ( var a, b; a = Paddpre ( \x , 8, Pbind ( \dur , 0.5)); x = a.asStream; 9.do({ x.next( (\x:4) ).postln; }); ) Paddpre does not override incoming values: ( var a, b; a = Paddpre ( \freq , 302, Ps ...

  5. Pmulpre Help

    ... ue after it has been passed down, use Pmul ( var a, b; a = Pmulpre ( \note , 2, Pbind ( \note , Pseq([1, 2, 3]))); x = a.asStream; 9.do({ x.next( Event .default).postln; }); ) Pmulpre does not override incoming values: ( var a, b; a = Pmulp ...

  6. Psetpre Help

    ... has been passed to the stream, use Pset ( var a, b; a = Psetpre ( \freq , 801, Pbind ( \dur , 0.5)); x = a.asStream; 9.do({ x.next( Event .new).postln; }); ) Psetpre does not override incoming values: ( var a, b; a = Psetpre (\freq, 801, P ...

  7. PG_06a_Repetition_Contraint_Patterns Help

    ... eated notes with a different rhythmic value per new pitch // using Pstutter p = Pbind ( // making 'n' a separate stream so that degree and dur can share it \n , Pwhite (3, 10, inf ), \degree , Pstutter ( Pkey ( \n ), Pwhite (-4, 11, inf )), ...

  8. EventStream Help

    ... stream requires an event to be passed in, often the default event is used: t = Pbind ( \x , Pseq ([1,2,3])).asStream; // pbind, e.g. creates a stream t.next( Event .default); t.next( Event .default); An event stream cannot be played direct ...

  9. Pfset Help

    ... ototype before running the supplied pattern. pattern: An event pattern (such as Pbind). cleanupFunc: Optional. A function to evaluate when the pattern is stopped, or when the supplied pattern runs out of values. For example, if you loaded a ...

  10. PG_Cookbook02_Manipulating_Patterns Help

    ... ighMelody: Pseries (14, Prand (#[-3, -2, 2, 3], inf ), inf ).fold(7, 18) ); p = Pbind ( \degree , Pnsym1 ( Pwrand (#[lowMelody, highMelody], [0.7, 0.3], inf ), melodies), \dur , Pwrand (#[0.25, 0.5], #[0.4, 0.6], inf ) ).play; ) p.stop; Rea ...

prev 1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow