Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (4875) Code (274) Doc (1418) Help (390) Quark (2775) Plugin (18) SCDoc ↗ Forum ↗ Google ↗
  1. DurInterpolationProofOfConcept Quark

    ... /Click b = AP(( def: { Impulse.ar(0) }, dur: 1 )).play(chans:2); //Scale over a set number of beats ~change_clock_tempo = {|clock, tempo, beats=1| var oldDur = ~dur; var newDur = 1.0 / tempo; beats.do {|beat| var stepDur = beat.linexp(0, be ...

  2. single_chord Quark

    ... ly. -- this is an UMapDef definition file part of the Unit lib default UMapDefs set */ FuncUMapDef( \single_chord, { |unit, n = 2, strum = 0| var count = UPattern.count; if( count < (n - 1) ) { [ inf, strum / n ] } { [ inf, inf ] } }) .cate ...

  3. sync-to-tidal Quark

    ... ming beat // tidal should only send on the first beat ( var synced = false; ~d1.set(\diversion, { if(~s == \sync) { if(synced.not) { TempoClock.default = TempoClock(~cps ? 1.0).permanent_(true); Server.default.latency = ~latency; "synced te ...

  4. single_chord Quark

    ... ly. -- this is an UMapDef definition file part of the Unit lib default UMapDefs set */ FuncUMapDef( \single_chord, { |unit, n = 2, strum = 0| var count = UPattern.count; if( count < (n - 1) ) { [ inf, strum / n ] } { [ inf, inf ] } }) .cate ...

  5. slope Quark

    ... ted -- this is an UMapDef definition file part of the Unit lib default UMapDefs set */ UMapDef( \slope, { |value = 0.0, abs = 0, range = #[0.0,1.0]| var slope; slope = HPZ1.kr( value.linlin(0,1,-1,1) ); slope = if( abs, slope.abs.linlin(0,1 ...

  6. nanoKtl Quark

    /******* this setup is for the nanoKontrol 2 only; nanoKontrol1 is moved to its own separate file. -------- THE LAYOUT: ---------- - left knobs 1-4 change slots volume (with softVol takeover) - S buttons 1-4 (top) solo: play all held btn sl ...

  7. BBCut2 Quark

    ... tiser; var cache; //material temporarily held here var upto; var phraseprop, offset, isroll; //backwards compatability var <>playflag; var <alive; //special flag set to false once killed, checked by scheduler //should pass in tempoclock, se ...

  8. lfo_saw Quark

    ... ed. -- this is an UMapDef definition file part of the Unit lib default UMapDefs set */ UMapDef( \lfo_saw, { |freq = 2, phase = 0, width = 0.0, range = #[0.0,1.0]| var sig; sig = VarSaw.kr(freq, phase + (\u_startPos.kr(0) * freq), width).ran ...

  9. lag_lpf Quark

    ... ed. -- this is an UMapDef definition file part of the Unit lib default UMapDefs set */ UMapDef( \lag_lpf, { |value = 0.0, time = 0.0| Udef.buildUdef.dontStoreSynthDef = true; UMapOut.kr( LPFLag.kr( value, time).clip(0,1) ); }) .uchainInitFu ...

  10. median Quark

    ... t signal. -- this is an Udef definition file part of the Unit lib default Udefs set */ Udef( \median, { |length = 3, amount = 1.0, residue = 0| var in; var median, delaytime, delayed; in = UIn.ar(0,1); median = Median.ar( length, in ); dela ...

prev 131 132 133 134 135 136 137 138 139 140 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow