Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (241) Code (71) Doc (71) Help (17) Quark (82) SCDoc ↗ Forum ↗ Google ↗
  1. Pkey Help

    Pkey access a key in an event stream superclass: Pattern 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 ...

  2. PG_06g_Data_Sharing Help

    ... easily read from other values that have already been placed into the event. The Pkey pattern looks up the key in the event currently being processed and returns its value. From there, you can do any other pattern-friendly operation on it: f ...

  3. Pproto Help

    ... set , ~synth[ \id ], ~synth[ \msgFunc ] ]; }, [ Pbind (*[ #[type, id, msgFunc], Pkey ( \fControl ), freq: Pseg ([0,1], 10).linexp(0,1, 0.1, 1000), index: Pseg ([0,1], 10).linexp(0,1, 0.1, 100), dur: 0.1, ]), Pbind (*[ #[type, id, msgFunc], ...

  4. PG_06c_Composition_of_Patterns Help

    ... vent keys to be overwritten, or one addition or multiplication to be performed. Pkey, in combination with the Pchain or Pbindf "pattern composition" classes, can do everything the following classes can do (though this alternate notation may ...

  5. Pindex Help

    ... ument , \help_pindex , \choice , Prand (indices, inf ), \degree , Pindex (data, Pkey ( \choice ), inf ), \dur , 0.7 ).play )

  6. PG_06a_Repetition_Contraint_Patterns Help

    ... hat degree and dur can share it \n , Pwhite (3, 10, inf ), \degree , Pstutter ( Pkey ( \n ), Pwhite (-4, 11, inf )), \dur , Pstutter ( Pkey ( \n ), Pwhite (0.1, 0.4, inf )), \legato , 0.3 ).play; p.stop; // using Pfin / Pn // Pn loops the P ...

  7. PG_Cookbook07_Rhythmic_Variations Help

    ... reamp , 0.4, \dur , 0.25, *(~pbindPairs.value(#[amp, decay2])) ), \freq , Pif ( Pkey ( \amp ) > 0, 1, \rest ) ) }), inf )).play(quant: 4); Penvir(~kikEnvir, ...) : Tell the enclosed pattern to run inside the kick drum's environment. Pn(..., ...

  8. Plambda Help

    ... structure remains parallelizable Ppar ([b, Pbindf (b, \ctranspose , 24, \dur , Pkey ( \dur ) * 0.25)]).play;

  9. PG_06f_Server_Control Help

    ... d; }, Pbind ( \instrument , \playbuf , // access resources in the protoevent by Pkey \bufnum , Pkey ( \buf ), \dur , Pwhite (1, 4, inf ) * 0.25, // upper bound of Pwhite is based on duration // so that start + (dur * samplerate) never goes ...

  10. PG_Cookbook01_Basic_Sequencing Help

    ... something else, though, the 'time' key should be divided by the tempo: \time , Pkey ( \delta ) / Pfunc { thisThread .clock.tempo }, ( b = Buffer .read(s, "sounds/a11wlk01.wav" ); SynthDef ( \stretchedFragments , { |out, bufnum, start, time ...

1 2 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow