Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (72) Code (21) Doc (24) Help (7) Quark (20) SCDoc ↗ Forum ↗ Google ↗
  1. TestDurInterpolationAP Quark

    ... c: { ~dur = ~what.asStream }, sched: 1, topPriority: true); }) } }) ) //Use AlgaPseg's onDone to resync the pattern ( a.addAction(func: { ~ft = 5 * a.clock.tempo; if(~pseg != nil, { ~pseg.stop }); ~what = 0.1; ~pseg = AlgaPseg([0, 1, 0.5, 1 ...

  2. City by 0-2U (grirgz) Code

    ... .add; Pdef(\scape, Ppar([ 8.collect({ arg x; Pbind( \oscwave, Pseg(Pseq([0,1],inf),8+x), \fspread, Pseg(Pseq([0.00001,0.01],inf),8+x+3), \lpfr, Pseg(Pseq([0,4],inf),8+x+2), \instrument, \scagrain, \freq ...

  3. Pseg Doc

    Pseg: Filter: Description Class methods new Inherited class methods Instance methods Inherited instance methods Undocumented instance methods curves embedInStream Examples Classes | Streams-Patterns-Events > Patterns'>Patterns > Patterns>Ti ...

  4. Pseg Help

    Pseg timed embedding of values superclass: Pstep Pseg(levelpattern, durpattern, curvepattern, repeats) Pseg defines a function of time as a breakpoint envelope using the same parameters as Env . These patterns can be used to describe tempo ...

  5. Interpolate between Envs with Pseg by 0-2U (grirgz) Code

    For a long time, I thought it was impossible to use Pseg to interpolate between Envs like it does with simple values, but I discovered it only needs .asArray ( SynthDef(\sin, { arg out=0, gate=1, amp=0.1, pan=0, freq=200; var sig; sig ...

  6. TestDurInterpolation Quark

    ... ar val = ~dur.next; val.postln; val } ).play(clock: t) }) ) //The .stop for AlgaPseg allows to "stop" timing of the previous blend, freezing it! ( ~ft = 5 * t.tempo; //tempo agnostic, as Pseg only works with beats if(~blend != nil, { ~blend ...

  7. PIdev Quark

    ... ev = -1; ~hiDev = 1; ~lookBack = 2; p = Pbind ( \dur , 1/7, \midinote , PIdev ( Pseg ( Pseq ([65, 90], inf ), 5, \sin ).round, 11, Pfunc { ~loDev }, Pfunc { ~hiDev }, Pfunc { ~lookBack } ).trace(prefix: "midi "), ).play; ) // widen range an ...

  8. PIdev Doc

    ... ~loDev = -1; ~hiDev = 1; ~lookBack = 2; p = Pbind( \dur, 1/7, \midinote, PIdev( Pseg(Pseq([65, 90], inf), 5, \sin).round, 11, Pfunc { ~loDev }, Pfunc { ~hiDev }, Pfunc { ~lookBack } ).trace(prefix: "midi "), ).play; ) // widen range and inc ...

  9. PatternDurFix Quark

    ... hang; } }).play(~clock); ) ( ~dur = 2; ~condition.unhang; ) ( ~ft = 1; ~blend = Pseg([0, 1, 1], [~ft, inf], \lin); ~what = 1; ~dur = (~dur.blend(~what, ~blend)).asStream; //~condition.unhang; ) ( ~player = EventStreamPlayer(~stream, Event.p ...

  10. PLIdev Quark

    ... v = -1; ~hiDev = 1; ~lookBack = 2; p = Pbind ( \dur , 1/7, \midinote , PLIdev ( Pseg ( Pseq ([65, 90], inf ), 5, \sin ).round, 11, \loDev , \hiDev , \lookBack ).trace(prefix: "midi " ), ).play; ) // widen range and increase lookBack ( ~loDe ...

1 2 3 4 5 6 7 8 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow