Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1234) Code (312) Doc (341) Help (126) Quark (454) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. Pspawner Help

    ... hroughout 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).mirror), dur: 0.2]) ); sp.wait(0.4); sp.seq( Ppa ...

  2. Pbind Help

    ... s with at least as many elements as there are keys. Examples ( a = Pbind ( \x , Pseq ([1, 2, 3]), \y , Prand ([100, 300, 200], inf ), \zzz , 99); x = a.asStream; ) x.next(()); // pass in an event () x.next(()); x.next(()); x.next(()); // en ...

  3. Adverbs Help

    ... is is the cross adverb, 'x'. Normally when you add two streams like this: p = ( Pseq ([10, 20]) + Pseq ([1, 2, 3])).asStream; Array.fill(3, { p.next }); you get this: [ 11, 22, nil ] The items are paired sequentially and the stream ends whe ...

  4. Paddp Help

    ... that incoming stream ends. see also: Pmulp , Padd ( var a, b; a = Paddp (\freq, Pseq([2, 3, pi],inf), Pbind ( \freq , Pseq([100, 200, 300]))); x = a.asStream; 9.do({ x.next( Event .new).postln; }); ) sound example ( SynthDef ( \sinegrain , ...

  5. Pclutch Help

    ... value is kept. see also : StreamClutch , Pstutter , Latch // example: Pclutch ( Pseq ([1, 2, 3, 4, 5], 3), Pseq ([0, 0, 1, 0, 0, 0, 1, 1])).asStream.nextN(10); // sound example ( SynthDef ( \help_sinegrain , { arg out=0, freq=440, sustain=0 ...

  6. Pmulp Help

    ... that incoming stream ends. see also: Pmul , Paddp ( var a, b; a = Pmulp (\freq, Pseq([2, 3, pi],inf), Pbind ( \freq , Pseq([100, 200, 300]))); x = a.asStream; 9.do({ x.next( Event .new).postln; }); ) sound example ( SynthDef ( \sinegrain , ...

  7. PG_04_Words_to_Phrases Help

    ... get more complex results. Patterns within list patterns We saw list patterns ( Pseq , Prand , etc.) that returned numbers from a preset list, either in the order given or rearranged randomly. The list may also include other patterns. When ...

  8. Psetp Help

    ... lting stream ends when that incoming stream ends. ( var a, b; a = Psetp (\freq, Pseq([801, 1008],inf), Pbind ( \dur , Pseq([0.5, 0.111, 0.22]))); x = a.asStream; 9.do({ x.next( Event .new).postln; }); ) Psetp overrides incoming values: ( va ...

  9. Ptime Help

    ... 2), \dur , Prand (#[0.2, 0.5, 1.1, 0.25, 0.15], inf ) ); b = Pbind ( \degree , Pseq (#[0, 2b, 3], 1), \dur , 2, \ctranspose , -7 ); Pseq ([ Event .silent(1.25), Ppar ([a, b])], inf ).play; ) // test tempo changes ( var a, b; a = Pbind ( \d ...

  10. Prorate Help

    ... rical pattern // examples: // divide 1 into various proportions ( a = Prorate ( Pseq ([0.35, 0.5, 0.8]), 1); x = a.asStream; x.nextN(8) ) // divide a pattern into various proportions ( a = Prorate ( Pseq ([0.35, 0.5, 0.8]), Prand ([20, 1], ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow