Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (266) Code (32) Doc (61) Help (23) Quark (150) SCDoc ↗ Forum ↗ Google ↗
  1. p_envelope Quark

    ... tion ); direction = 1 }, \alternate, { case { current > 1 } { current = current.fold(0.0,env.duration); direction = -1; } { current < 0 } { current = current.fold(0.0,env.duration); direction = 1; }; }, \off, { current = current.clip(0.0,en ...

  2. p_envelope Quark

    ... tion ); direction = 1 }, \alternate, { case { current > 1 } { current = current.fold(0.0,env.duration); direction = -1; } { current < 0 } { current = current.fold(0.0,env.duration); direction = 1; }; }, \off, { current = current.clip(0.0,en ...

  3. OssiaArray Quark

    ... ect( { | item, i | item.wrap(domain.min[i], domain.max[i]) } ).asArray ; }; }, 'fold', { ^{ | value, domain | value.collect( { | item, i | item.fold(domain.min[i], domain.max[i]) } ).asArray; }; }, 'values', { ^{ | value, domain | domain[2] ...

  4. p_midiFile Quark

    ... t the last known value \clip: limits the values to the outer bounds of toRange \fold: mirrors values that are out of toRange back in \wrap: wraps values around toRange \none: no clipping; values outside of fromRange will be extrapolated out ...

  5. waveFolder Quark

    /* Wavefolding as in (input).fold(-1, 1), but it's rounded out instead of a sharp switch at input amplitudes of 1. It uses y=sin(x) as a transfer function, so I included a phase offset (which makes a full loop around the circle as it goes f ...

  6. p_midiFile Quark

    ... t the last known value \clip: limits the values to the outer bounds of toRange \fold: mirrors values that are out of toRange back in \wrap: wraps values around toRange \none: no clipping; values outside of fromRange will be extrapolated out ...

  7. Nudge Doc

    ... ethods new Inherited class methods Instance methods object key nudge useWrap useFold useClip useSin useTan useBipow getFunc map2BiFunc nudgeFunc borderFunc unmapFunc setFunc internal variables and methods unival bival state Inherited instan ...

  8. p_sequencer_point Quark

    ... ); direction = -1; }, \alternate, { case { current >= size} { current = current.fold(0,size-1); direction = -1; } { current < 0 } { current = current.fold(0,size-1); direction = 1; }; }, \random, { current = size.rand; }, \off, { current = ...

  9. p_line Quark

    ... ; direction = -1; }, \alternate, { case { current > ttime } { current = current.fold(0.0, ttime); direction = -1; } { current < 0 } { current = current.fold(0.0, ttime); direction = 1; }; }, \back_at_end, { current = current.clip(0.0, ttime ...

  10. p_step Quark

    ... .0 ); direction = -1; }, \alternate, { case { current > 1 } { current = current.fold(0.0,1.0); direction = -1; } { current < 0 } { current = current.fold(0.0,1.0); direction = 1; }; }, \off, { current = current.clip(0.0,1.0); direction = 1; ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow