Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... ttern (see Pdef ) *default a default source, if none is given. the default is a Pbind with resting notes of 1.0 beat duration source_(obj) set the source (a pattern). If a quantization is given, schedule this change to the next beat ( patte ...

  2. Pdef Help

    ... ll current Pdefs: PdefAllGui Overview: JITLib First Example s.boot; Pdef ( \x , Pbind ( \note , Pbrown (0, 6, 0.1, inf ))); Pdef ( \x ).quant = 0; // no waiting. Pbindf ( Pdef ( \x ), \dur , 0.03).play; Pbindf ( Pdef ( \x ), \dur , 0.1, \ct ...

  3. Pchain Help

    ... ... patternN <> pattern add another pattern to the chain // examples ( Pchain ( Pbind ( \detune , Pseq ([-30, 0, 40], inf ), \dur , Prand ([0.2, 0.4], inf )), Pbind ( \degree , Pseq ([1, 2, 3], inf ), \dur , 1) ).trace.play; ) // also event ...

  4. recursive_phrasing Help

    ... tion:2) ) } ).store; Pdef ( \sweep , { arg sustain=1, n=8, freq=440, ratio=0.1; Pbind ( \instrument , \pgrain , \dur , sustain.value / n, \freq , Pseq ((1..n)) * ratio + 1 * freq.value // freq is a function, has to be evaluated ) }); Pdef ( ...

  5. Pspawner Help

    ... r ({ | sp | // parallel in-c'ish pulses will run throughout the example sp.par( Pbind (*[ degree: [0,7], octave: 7, dur: 0.2, db: Pseq ([-20, -24, -22, -24], inf )]) ); // scales in sequence with pauses sp.seq( Pbind (*[ degree: Pseq ((0..7 ...

  6. Pstep Help

    ... elect a chord and duration and repeat it for a random time interval p = Pstep ( Pbind ( \ctranspose , [0, 4, 7], \note , Pwhite (0, 12), \dur , Prand ([0.2, 0.4, 0.8], inf ) ), Prand ([1, 2, 4], inf )/4 ); Ppar ([p, p]).play; ) // change de ...

  7. Streams-Patterns-Events6 Help

    ... o duration data. A Ppar is done when all of its subpatterns are done. ( Ppar ([ Pbind ( \dur , 0.2, \midinote , Pseq ([62, 65, 69, 72], inf )), Pbind ( \dur , 0.4, \midinote , Pseq ([50, 45], inf )) ]).play ) ( // Ppars can be nested Ppar ( ...

  8. Psym Help

    ... Out .ar(out, Pan2 .ar( SinOsc .ar(freq, 0, env), pan)) }).store; ) Pdef ( \x , Pbind ( \dur , Pn (0.25, 3), \instrument , \gpdef )); Pdef ( \y , Pchain ( Pbind ( \degree , Prand ([5, 9, 0], inf ), \legato , Pseq ([0.3, 2.2], inf )), Pdef ( ...

  9. Streams-Patterns-Events5 Help

    ... a very simple Pattern directly playable: ( // an endless sequence of middle Cs Pbind .new.play ) By adding other bindings, you can override the defaults in the protoEvent. ( // duration 0.25 beats (16th notes) Pbind ( \dur , 0.25 ).play ) ...

  10. Pfsm Help

    ... 0.1.wait; }) }).play; ) ( Pfsm ([ #[5, 6, 7], // entry states //e1 (== state 0) Pbind ( \dur , Pseq ([ 1/8, 3/8 ]), \midinote , Pseq ([ 86, 75 ]) ), //#[1], // as given in CMJ // my de-boredom-ated version.. #[1, 1, 1, 1, 1, 1, 1, 8], //e2 ...

1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow