Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (968) Code (97) Doc (357) Help (102) Quark (401) Plugin (11) SCDoc ↗ Forum ↗ Google ↗
  1. WFSPreviewSynthDefs Quark

    ... istance 0.19cm) // no HRTFs involved (yet..) var distances, globalDist, delays, amplitudes; globalDist = (0@0).dist( point ); distances = BinauralDistance( globalDist, point.angle.neg, 0.18/2 )[[0,1]]; delays = ((distances + 0.09 - globalDi ...

  2. WFSArrayPanDir Quark

    ... , globalAngle, speakerAngleRange, focusFades, fadeArea; var adifx, angles, angleAmplitudes, angleLimit = 1; // rotate point to array pos = (inPos ? pos ? (0@0)).rotate( angle.neg ).asPoint; globalDist = pos.dist( 0 @ 0 ); // distance to cen ...

  3. ZZZ Quark

    ... , sineAmp: 0.5, sawAmp: 0.5], )).add; } } /** * Calculates voltage for supplied amplitude. * Maximum: 10 * Minimum: -10 * @return voltage that corresponds to the amplitude supplied. */ *amplitudevoltage{ arg amplitude; var voltage = 0.0; if ...

  4. extWavetable Quark

    ... ower of two; N is eventual size of wavetable // first kind *chebyTFill { |size, amplitudes, normalize = true| ^Signal.chebyTFill(size, amplitudes, normalize).asWavetableNoWrap } // second kind *chebyUFill { |size, amplitudes, normalize = tr ...

  5. dyna Quark

    ... se=0.1; // detect the slope (sensitive to transients) and use that to spike the amplitude // with variable attack and release. // you can do strange audio-refresh effects Amplitude.kr( Slope.kr(A2K.kr(audio),sensitivity), attack, release) * ...

  6. WFSArrayPan Quark

    ... r, source, delay, amp, add ); } { ^[ delay, source * amp ] // return delays and amplitudes (if not in a SynthDef) }; } } // the actual panners: WFSPrePan : WFSBasicPan { // pre panning stage: /* - add large global delay (based on distance f ...

  7. amp Quark

    /* \amp A simple amplitude gain stage. Can set an amplitude (multiplier) and inverse phase. Note that this Udef can only make the input signal softer, not louder. amp: amplitude (0-1) inverse: inverse phase (false/true) numChannels: number ...

  8. amp Quark

    /* \amp A simple amplitude gain stage. Can set an amplitude (multiplier) and inverse phase. Note that this Udef can only make the input signal softer, not louder. amp: amplitude (0-1) inverse: inverse phase (false/true) numChannels: number ...

  9. remover Quark

    // removes (filters away) // drive by amplitude : a crossfade of slew limited vs. original Instr("remover.bySlew",{ arg audio=0.0,sensitivity=0.0,slope=500; var slewed,mix,add; slewed = Slew.ar(audio,slope,slope); add = sensitivity.round(1. ...

  10. README Quark

    ... is buffer with a series of Hann enveloped cosine wave harmonics using specified amplitudes. | | `packet2` | Fill this buffer with a series of Hann enveloped cosine wave harmonics using specified frequencies and amplitudes. | | `packet3` | F ...

1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow