Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... ode | switch (mode, 'free', { ^{ | value, domain | this.asOssiaVec(value) } }, 'clip', { ^{ | value, domain | this.asOssiaVec(value.collect( { | item, i | item.clip(domain.min[i], domain.max[i]); } )) }; }, 'low', { ^{ | value, domain | thi ...

  2. RelSet Quark

    ... l }; if (spec.isNil or: spec == \none) { ^obj.set(paramName, (currVal + relVal).clip(0, 1)); }; currValNorm = spec.unmap(currVal); obj.set(paramName, spec.map(currValNorm + relVal)); } *getSpec { |obj, paramName| ^obj.getSpec(paramName); } ...

  3. L'onde longtemps captive en s'écoulant murmure by 0-2U (grirgz) Code

    ... eq * ((0..7)/7 - 0.5 * fspread + 1)); sig = sig * ( sig/(sig+1.1)*50 * env1 ).clip(0.5); sig1 = sig * (sig.abs > Rand(0.1,0.7)); sig = SelectX.ar( EnvGen.kr(Env([0,1,0],[0.1+Rand(0,2.0),0.1+Rand(0,2.0)]), 1), [sig, sig1]); sig = sig ...

  4. PrayerBell-explanation Quark

    ... andomized amp envelope up and down between 0.005 and 0.03 mallet + (sing_switch.clip(0, 1) * sing); }.play ) // breakdown #6 // combining input and DynKlank // using only 3 filter freqs for a simple demo ( { arg sing_switch = 0; var snd, in ...

  5. lfo_noise Quark

    ... ); sig = [ LFDNoise0.kr( freq ), LFDNoise1.kr( freq ), LFDNoise3.kr( freq ), LFDClipNoise.kr( freq ), ]; sig = Select.kr( type, sig ).linlin(-1,1,*range); UMapOut.kr(sig); }) .setSpec( \type, ListSpec([0,1,2,3], 0, [\step, \linear, \cubic, ...

  6. moogVCF Quark

    ... ], modSpeed = 1, modShape = 1, res = 0.5| var in; in = UIn.ar(0,1); freq = freq.clip(20,20000); in = class.ar( in, SinOsc.ar( modSpeed ).pow( modShape ).exprange( *freq ), res ); UOut.ar( 0, in ); }, [ ArgSpec('freq', [ 20.0, 20000.0 ], Ran ...

  7. lfo_noise Quark

    ... ); sig = [ LFDNoise0.kr( freq ), LFDNoise1.kr( freq ), LFDNoise3.kr( freq ), LFDClipNoise.kr( freq ), ]; sig = Select.kr( type, sig ).linlin(-1,1,*range); UMapOut.kr(sig); }) .setSpec( \type, ListSpec([0,1,2,3], 0, [\step, \linear, \cubic, ...

  8. sText Quark

    ... udesTypePop.value, 1, { //convert from midi velocities amps= amps.collect{|x| x.clip(0, 127)/127}; }, 2, { //convert from db amps= amps.collect{|x| x.dbamp}; } ); amps; }; amplitudesSendBut.action= { var amps, dest; amps= parseAmplitudes.va ...

  9. FincoSprottL Plugin

    ... he parameter "a". // NB the parameter affects the amplitude, so this example is clipped { FincoSprottL .ar( SampleRate .ir, a: LFNoise0 .kr(1).range(1, 3)).poll(2).softclip * 0.3 }.play(s); An example utilising the three different outputs a ...

  10. OFX_OutputFX Doc

    ... | LeakDC.ar(in, leak) }, 1, (\leak: [0.5, 0.999, \exp]) ); OFX_Chain.add3( \rollClip, \filter -> { |in, clip=0.99, pole=0.2| OnePole.ar(in.clip2(clip), pole ** 0.7); }, 1, ( \clip: [0.0, 1, \amp], \pole: [0, 0.95, \lin] ) ); OFX_Chain.add3( ...

prev 31 32 33 34 35 36 37 38 39 40 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow