Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (408) Code (88) Doc (107) Help (49) Quark (164) SCDoc ↗ Forum ↗ Google ↗
  1. TestPatternProxy Quark

    ... orString, false) }; var functions = [ { |x| x }, { |x| Pseq([x, 2, 3]) }, { |x| Pn(x, 3) }, { |x| Pswitch([10, 20, 30], x) }, { |x| Pswitch([10, x, 30], Pseq([0, 1, 2], 2)) }, { |x| Pfin(6, x) }, { |x| Pn(Pfin(4, x)) }, ]; var sources = [ 1 ...

  2. Pfinval Doc

    ... Done.freeSelf); Out.ar(out, SinOsc.ar(freq, 0, env)) }).add; ) ( var c, b; c = Pn(Pfinval({ rrand(3, 5) }, Pseq([1, 2, 3, 4, 5, 6], inf)*4+65), inf); b = c.asStream; Routine({ loop({ Synth(\help_sinegrain, [\freq, b.next.midicps]); 0.12.wa ...

  3. PIdev Doc

    ... -1; ~hiDev = 1; ~lookBack = 2; p = Pbind( \dur, 1/7, \midinote, PIdev( 78, 10, Pn(Plazy { ~loDev }), Pn(Plazy { ~hiDev }).trace(prefix: "absolute deviation "), Pn(Plazy { ~lookBack }) ).trace(prefix: "midi "); ).play ) // start parameter m ...

  4. PL Quark

    ... cutItems) } storeArgs { ^[list, repeats, cutItems, envir] } } // "stream-save" Pn PL_Pn : PL_Pattern { var <>item, <>repeats; *new { |item, repeats = inf, envir = \current| ^super.newCopyArgs(envir, item, repeats) } embedInStream { |inval| ...

  5. PLgeom Quark

    ... definition for future reference in arbitrary Environments ( p = Pbind ( \freq , Pn ( PLgeom ( \start , \grow , 50)) % 2000 + 400, \dur , 0.1 ); ) // prepare current Environment ( ~start = 100; ~grow = 1.1; ) // from ascending to random x = ...

  6. Pclutch Doc

    ... ) }).add; ) ( var a; a = Pclutch( Pseq([1, 2, 3, 4, 5], inf), Pseq([0, 0, 1, 0, Pn(0, { 30.rand }), 0, 1, 1], inf) ).asStream; { loop { Synth(\help_sinegrain, [\freq, a.next * 200 + 200]); 0.02.wait; } }.fork; ) ⧉ ✔ helpfile source: /usr/lo ...

  7. PopUpTreeMenu Quark

    ... s" ]); buildTreeFunc= { |path| var deepPathMatch, syms, tree; deepPathMatch= { |pn| var arr= []; pn.pathMatch.do{ |x| if(x.last.isPathSeparator, { arr= arr++deepPathMatch.value( PathName (x++ "*" )); }, { arr= arr++ PathName (x); }) }; arr ...

  8. Block Doc

    ... //play soundfile marylin1 pl 1 2 marylin2 //play, bus 1, slot 2, file lp 2 ant pn 1 rave //pattern in block 1 called rave sn 1 textures //synth in block 1 called textures sn 1 {SinOsc.ar(440)} //create temp synth def pn 1 Pbind(\note, [1,3 ...

  9. The City Breathing by nufets (nufets) Code

    ... { rand(~buf.numFrames) }), \end, Pfunc({ rand(~buf.numFrames) }), \dur, Pn( Pseg( Pwrand([ 0.1, 0.2, Pseq((1/7)!7, 1), Pseq((1/3)!3, 1), 0.5, Pxrand([0.7, 0.3], 1) ], [1, 10, 5 ...

  10. PLx suite Quark

    ... how dynamic scope placeholding of a ListPattern // could be done with Plazy, // Pn defaults to repeats = inf. ( p = Pn ( Plazy { Pseq (~a, 1) }); ~a = (60..70); x = Pbind ( \midinote , p, \dur , 0.2 ).play; ) // First drawback: replacing of ...

prev 21 22 23 24 25 26 27 28 29 30 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow