Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (458) Code (127) Doc (139) Help (76) Quark (116) SCDoc ↗ Forum ↗ Google ↗
  1. zkarpluck0 Quark

    ... 0.5,0.5,0.5,1,0.5,0.5,1,1]*0.25,inf), \dur , 2, \degree, Pseq([1,8,8,8,8,8,8,-6,Prand([9,10,11],1),1,7,8]-8, inf), \amp , Pwhite(0.2,0.8), \c3 , Pseq([Pseq([1400],24),Pseq([300],24)],inf), \pan , Pwhite(-1,1), ).play; ) */ /* ~nodeName="sou ...

  2. Sieves and Psieve patterns Quark

    ... r changes p.( PSVop_i ([5, 9], Pn ( Pshuf ([ \u , \d ])))) p.( PSVop_i ([5, 9], Prand ([ \u , \d ], inf ))) // change of difIndex: p.( PSVop_i ([5, 2, 3], \d )) p.( PSVop_i ([5, 9], Prand ([ \u , \d ], inf ))) // "subtract" from index 0: mu ...

  3. ContextSnake_Palestrina Quark

    ... )); Pdefn(\orig, Plazy({ "\norig.".postln; Pseq(c.pAll.choose) })); Pdefn(\mel, Prand([Pdefn(\snake), Pdefn(\orig)])); )

  4. PolyBuf Quark

    ... ence functions asPseq{|repeats=1, offset=0| ^Pseq(buffers, repeats, offset) } asPrand{|repeats=1| ^Prand(buffers, repeats) } asPxrand{|repeats=1| ^Pxrand(buffers, repeats) } asPwalk{|stepPattern, directionPattern=1, startPos=0| ^Pwalk(buffe ...

  5. SimpleMIDIFile Quark

    ... ern method patterns can be turned into midi files as well: ( p = Pbind ( \dur , Prand ( [ 0.25 , 0.5 , 1 ], inf ), \freq , Pwhite ( 440 , 880 ), \db , Pwhite ( -40 , -10 ), \legato , Pwhite ( 0.25 , 4 ) ); m = SimpleMIDIFile ( "~/Desktop/te ...

  6. ddwFilterPatterns Quark

    ... Pvelvet : FilterPattern { var <>num, // should be >= 1 <>zero; *new { |pattern(Prand([-1, 1], inf)), num = 1, zero = 0| ^super.new(pattern).num_(num).zero_(zero) } embedInStream { |inval| var stream = pattern.asStream; var numStream = num. ...

  7. PHSpar Quark

    ... inote , Pkey ( \thisVal ) + Pseq ([0,1], inf ), \legato , 0.2 ] ], hsIndices: [ Prand ([0,1], inf ) ] ).play; ) p.free; // hsIndices also accepts collections of indices or patterns thereof, referenced by ~theseVals (which is always a collec ...

  8. VarGui shortcut builds Quark

    ... nt as in basic example above \default .pVarGui(pReplace: [ \dur , PL ( \dur ) * Prand ([2,1,1], inf )] ).gui; // adding a pattern pair after the main block of pairs, // same effect as before \default .pVarGui(pAfter: [ \dur , Pkey ( \dur ) ...

  9. GettingStartedWithChucklib Quark

    ... \p ).play(1); BP ( \p ).degree = Pbrown (0, 14, 4, inf ).round; BP ( \p ).dur = Prand ([ Pn (0.0625, 4), Pn (0.125, 2), 0.25, 0.5], inf ); BP ( \p ).stop(1); BP ( \p ).free; Why go through the extra layer of the PR? You could just chuck the ...

  10. GettingStartedWithChucklib Quark

    ... \p ).play(1); BP ( \p ).degree = Pbrown (0, 14, 4, inf ).round; BP ( \p ).dur = Prand ([ Pn (0.0625, 4), Pn (0.125, 2), 0.25, 0.5], inf ); BP ( \p ).stop(1); BP ( \p ).free; Why go through the extra layer of the PR? You could just chuck the ...

prev 11 12 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow