Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (36) Code (4) Doc (13) Help (8) Quark (11) SCDoc ↗ Forum ↗ Google ↗
  1. TestPatternProxy Quark

    ... tch([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, Pseq([10], 2) ]; var firstSources = [ nil, //Pseq([-1], 3), // for these, tests need to be thought t ...

  2. ddwPatternLengthEstimation Quark

    ... tern.estimateLength) === inf).not }).if({ ^repeats * patLen }, { ^inf }); } } + Pfin { estimateLength { ^count } } + Pfuncn { estimateLength { ^repeats } } // no good way to estimate # of events for Pfindur, Pstutter, a few others // maybe ...

  3. ddwPatternLengthEstimation Quark

    ... tern.estimateLength) === inf).not }).if({ ^repeats * patLen }, { ^inf }); } } + Pfin { estimateLength { ^count } } + Pfuncn { estimateLength { ^repeats } } // no good way to estimate # of events for Pfindur, Pstutter, a few others // maybe ...

  4. ddwPatterns Quark

    ... ors, length) } embedInStream { |inval| var localGenerators = generators.value; ^Pfin(length.value, Pn(PstepNadd(*(Pwhite(0.0, 1.0, 2) ! localGenerators)), inf) / localGenerators * (hi - lo) + lo ).embedInStream(inval); } } Pmcvoss : Pvoss { ...

  5. PSPdiv Quark

    ... .( nextEvPatDurs[i], nextDivs[j], nextDivBases[j], nextDivTypes[j] ) }{ Pbindf( Pfin(nextEvPatDurs[i].size, evPats[i]), \dur, Pseq(nextEvPatDurs[j]) ) } ) } ); } }{ sp.suspendAll; break.value; }; queueCount = queueCount + nextQueueStep; pul ...

  6. ddwPatterns Quark

    ... ors, length) } embedInStream { |inval| var localGenerators = generators.value; ^Pfin(length.value, Pn(PstepNadd(*(Pwhite(0.0, 1.0, 2) ! localGenerators)), inf) / localGenerators * (hi - lo) + lo ).embedInStream(inval); } storeArgs { ^[lo, h ...

  7. startup15-contrapunct Quark

    ... apunct; // converts event stream into event pattern so that other wrappers like Pfindur can be used { |holder, driverEvent| Prout({ |inEvent| var event; loop { event = holder.getEvent(inEvent, driverEvent); inEvent = event.yield; } }) } => ...

  8. startup15-contrapunct Quark

    ... apunct; // converts event stream into event pattern so that other wrappers like Pfindur can be used { |holder, driverEvent| Prout({ |inEvent| var event; loop { event = holder.getEvent(inEvent, driverEvent); inEvent = event.yield; } }) } => ...

  9. preprocessor-generators Quark

    ... tream.isNil) { ~embeddedStream = Pseq(~pool, inf, { ~offset.next }).asStream }; Pfinval({ ~repeats.next }, ~embeddedStream).embedInStream(inval); }; // makeStream should always be infinite // as such \seqn by itself is no different from \se ...

  10. Chucking Quark

    ... en return a pattern based on the vars } => MicRh(...) // also, #{ |notePattern| Pfin(notePattern.estimateLength, notePattern) } // to allow gestures to retain their integrity across note-pattern changes bindFunction { |func| value = func } ...

1 2 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow