Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (225) Code (25) Doc (78) Help (44) Quark (78) SCDoc ↗ Forum ↗ Google ↗
  1. Pspawn Help

    ... aced in the event // So, it can be spawned \pattern , Pfunc { Pbind ( \degree , Pseries (rrand(0, 10), #[-1, 1].choose, rrand(4, 10)), \dur , 0.125) }, \delta , Pwhite (1, 5, inf ) * 0.125, \method , \par )).play; ) p.stop; // Same, using a ...

  2. Streams-Patterns-Events2 Help

    ... m first stream 4.do({ c.next.postln; }); // print 4 values from second stream ) Pseries is a Pattern that generates an arithmetic series. ( var a, b; a = Pseries .new(10, 3, 8); // stream starts at 10, steps by 3 and has length 8 b = a.asSt ...

  3. Pspawn Doc

    ... t placed in the event // So, it can be spawned \pattern, Pfunc { Pbind(\degree, Pseries(rrand(0, 10), #[-1, 1].choose, rrand(4, 10)), \dur, 0.125) }, \delta, Pwhite(1, 5, inf) * 0.125, \method, \par )).play; ) p.stop; // Same, using a dicti ...

  4. jitlib-hacks Quark

    ... ef(\x, Pbind( \type, \dirt, \s, Pn(Pshuf([\bd, \hh, \cp, \imp], 5)), \begin, Pn(Pseries(0, 0.002, 20)), \dur, 0.1, \legato, Pwhite(0.01, 0.4) ) ).play; ) // using a filter ( Pdef(\x, Pbind( \type, \dirt, \s, Pn(Pshuf([\bd, \hh, \cp, \imp], ...

  5. wiard noise ring variation using a ringbuffer instead of bitshifting, language implementation (pattern-based) by lfsaw (LFSaw) Code

    ... r; var waitTime = 0.05; // in seconds //var chance = 0.1; var chance = Pseq([Pseries(0, 0.1, 10), Pseries(1, -0.1, 10)], inf); var change = 10; // step size Pbind( \midinote, Pswitch1( { Pbrown(min, max, Pif(Prout({ chanc ...

  6. wavesets-with-custom-synths Quark

    ... d; ) ( Pdef(\x, Pwavesets( Pbind( \name, \a11, \instrument, \ws1848, \start, Pn(Pseries(0, 1, 1848)), \num, 2, \repeats, 10, \rate, 1, \legato, 2.0, \amp, 0.1, \pan, Pbrown(-0.5, 0.5, 0.001) ) ) ).play ) // a synthdef that fills the gaps (l ...

  7. PbindMultiChan Quark

    ... an array as the "key" for the key/value pair. p = Pbind (#[x, y, z], Ptuple ([ Pseries (0, 1, inf ), Pgeom (1, 2, inf ), Pwhite (1, 10, inf )], inf )).asStream; p.next(()); ( 'y': 1, 'x': 0, 'z': 6 ) ( 'y': 2, 'x': 1, 'z': 6 ) ( 'y': 4, 'x ...

  8. PbindMultiChan Quark

    ... an array as the "key" for the key/value pair. p = Pbind (#[x, y, z], Ptuple ([ Pseries (0, 1, inf ), Pgeom (1, 2, inf ), Pwhite (1, 10, inf )], inf )).asStream; p.next(()); ( 'y': 1, 'x': 0, 'z': 6 ) ( 'y': 2, 'x': 1, 'z': 6 ) ( 'y': 4, 'x ...

  9. Streams-Patterns-Events2 Doc

    ... t stream 4.do({ c.next.postln; }); // print 4 values from second stream ) ⧉ ✔ A Pseries is a Pattern that generates an arithmetic series. ( var a, b; a = Pseries.new(10, 3, 8); // stream starts at 10, steps by 3 and has length 8 b = a.asStr ...

  10. PLx and live coding with Strings Quark

    ... i , \sin ); // chars for the string, event patterns or events ~a = Pbind ( \m , Pseries (60, 2, 4)) <> ~x ; ~b = Pbind ( \m , Pseries (80, -2, 8)) <> ~x ; ~c = (i: \saw , m: [95, 96, 97], d: 0.8); // define sequence ~p = "aab" ) // symplay ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow