Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (928) Code (86) Doc (150) Help (40) Quark (649) Plugin (3) SCDoc ↗ Forum ↗ Google ↗
  1. 3_serversidemethods Quark

    ... xprange( 0.01, 0.8 ) ) * EnvGen.kr( Env.perc, t_trig, timeScale: dur ) } ); /// clipping, folding, wrapping Ndef( \testSynth, { arg freq=440, ampin=64, t_trig=1, dur=1; SinOsc.ar( freq, 0, ampin.clip( 0, 0.2 ) ) * EnvGen.kr( Env.perc, t_tri ...

  2. FilterFeedback Quark

    ... .amt 5 //We can change the distortion too ~distortion = { (\in.ar * \amt.kr(1)).clip(-1, 1) };

  3. NRect Quark

    ... v| ^this.prflopSorted(v){ |ab,x| (x >= ab[0] ) && (x <= ab[1]) }.reduce('&&') } clipVector { |v| ^this.prflopSorted(v){ |ab,x| x.clip(ab[0], ab[1]) } } mapVector { |v| ^this.constrain( this.prDoFlopWith(v){ |a,b,x| x.linlin(0, 1, a, b, \non ...

  4. Sandrode Quark

    ... , \c.kr(0!n), \d.kr(0!n), \e.kr(0!n) ]; var activity = (influxes.sum.sum * 0.3).clip(0, 1); var influxes2 = influxes + xtalk.lag(0.5); var freqs = ([ (modIn * influxes2[0]).sum, (modIn * influxes2[1]).sum, (modIn * influxes2[2]).sum, (modIn ...

  5. Sandrode Quark

    ... , \c.kr(0!n), \d.kr(0!n), \e.kr(0!n) ]; var activity = (influxes.sum.sum * 0.3).clip(0, 1); var influxes2 = influxes + xtalk.lag(0.5); var freqs = ([ (modIn * influxes2[0]).sum, (modIn * influxes2[1]).sum, (modIn * influxes2[2]).sum, (modIn ...

  6. etude Quark

    ... var sig = GrayNoise.ar(amp.dup); sig = env * sig; ffreq = ((mod*env+1) * ffreq).clip(20, 20000); sig = RLPF.ar(sig, ffreq, 1/reso); Limiter.ar(sig, amp); }); fork { s.sync; 0.1.wait; Ndef(\etude).end }; Ndef(\etude);

  7. MIDISpec Quark

    ... init } constrain { arg value; // allows nil ^if( value.notNil ) { value.asFloat.clip(clipLo, clipHi).round(step) } { if( allowNil.not ) { default } }; } } MIDINumberSpec : MIDIValueSpec { *new { arg minval=0, maxval=127, warp='lin', step=1, ...

  8. LagSelectX Quark

    ... 0, size = 10| which = which + 1; ^size.collect({ |i| (which - i).wrap2(size/2).clip(0,2).fold2(1); }); } // convenience methods (no different from *new) *kr { |which = 0, array, lag = 0.1| ^this.new( which, array, lag ); } *ar { |which = 0 ...

  9. MIDISpec Quark

    ... init } constrain { arg value; // allows nil ^if( value.notNil ) { value.asFloat.clip(clipLo, clipHi).round(step) } { if( allowNil.not ) { default } }; } } MIDINumberSpec : MIDIValueSpec { *new { arg minval=0, maxval=127, warp='lin', step=1, ...

  10. FreqSpectrum Doc

    ... rn energy weighted average magnitude. Arguments: mindb a minimum value in dB to clip amplitude response to. Prevents singularities. . rho Synonym for -magnitude . energyDensity Return the energy density. . totalEnergy Return the total energ ...

prev 41 42 43 44 45 46 47 48 49 50 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow