Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... ern cuts off the inner Pbind after 4 beats. This would stop the pattern, except Pn repeats the Pfindur infinitely, placing the accent in the right place every time. The loop actually starts with a half-beat anacrusis, so Ptpar delays the be ...

  2. PstepNadd Doc

    PstepNadd: Filter: Description Class methods Inherited class methods Undocumented class methods new Instance methods Inherited instance methods Examples Classes | Streams-Patterns-Events > Patterns'>Patterns > Patterns>Time'>Time PstepNadd ...

  3. PG_Cookbook07_Rhythmic_Variations Doc

    ... ns in succession, one by one. (Plazy embeds just one pattern; wrapping Plazy in Pn does it many times.) The logic in this example is a bit more involved: for each measure, start with arrays containing the basic rhythmic pattern for each par ...

  4. Pfintime Doc

    ... 5 notes. // Then, Pfintime pads with enough rests to reach 2.0 beats, // before Pn repeats the Pbind. a = Pn( Pbind( \degree, Pfintime(2.0, Pseries(0, 1, 5)), \dur, 0.25 ), inf ).play; a.stop; ⧉ ✔ helpfile source: /tmp/scquark_hs/ddwPattern ...

  5. Pnsym Doc

    Pnsym: Filter: Description Class methods new Inherited class methods Instance methods dict Inherited instance methods Undocumented instance methods lookupClass Examples Classes | JITLib > Patterns'>Patterns | Live Coding Pnsym : Psym : Filt ...

  6. Pif Doc

    ... r(out, SinOsc.ar(freq, 0, env)) }).add; ) ( var a; a = Pif(Pfunc({ 0.3.coin }), Pn(Pseries(0.5, 0.1, 10)), Pn(Pseries(6, -0.1, 10))).asStream; { loop { Synth(\help_sinegrain, [\freq, a.next * 600 + 300]); 0.2.wait; } }.fork; ) ⧉ ✔ helpfile ...

  7. RandomOrbit Doc

    ... rbit(123, { |n=1| { 7.rand2 }.dup(n); }); r.seed = 666; x = Pbind( \inc, Pseq([ Pn(1, 7), Pn(-1, 7)], inf), \degree, r, \dur, Pseq([0.5, Pn(0.25, 6)], inf) ).trace.play; // shift random sequence by 1 r.stepSeed(1); r.stepSeed(-1); // and ba ...

  8. Pfin Doc

    ... Done.freeSelf); Out.ar(out, SinOsc.ar(freq, 0, env)) }).add; ) ( var c, b; c = Pn(Pfin({ 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.w ...

  9. PSloop Doc

    ... // rhythms are looped too ( ~lookBack = 0; ~doSkip= 1; p = PSloop( Pbind( \dur, Pn(Pshuf([1, 1, 2, Pseq(2!3/3)]/5)), \midinote, Prand((60..80), inf) ), bufSize: 10, lookBack: { ~lookBack }, doSkip: { ~doSkip} ).play ) // wait a bit to fill ...

  10. 210-patterns_and_particles Doc

    ... ).rand2, dur: ev.dur.linlin(0.08, 0.5, 30, 50))}).play Pbind(\dur, 0.125, \amp, Pn(Pshuf([0.1, 0.1, 0.1, 0.05, 0, 0], 4), 4), \degree, Pn(Pshuf([0, 2, 3, 5, 6, 8], 4), 4), \finish, Pfunc{|ev| ~createObj.value(y: ev.degree.lincurve(0, 8, 0.7 ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow