Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (928) Code (86) Doc (150) Help (40) Quark (649) Plugin (3) SCDoc ↗ Forum ↗ Google ↗
  1. 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, ...

  2. 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 ...

  3. 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, ...

  4. 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 ...

  5. Relative2Absolute Quark

    ... reset{ value = initVal; } delta_{ |delta| value = value + delta; value = value.clip( minval, maxval ); } value_{ |val| ("Relative2Absolute: setting value directly to:"+val).warn; value = val; } } MIDIRelative2AbsoluteFloat{ var <rawMinVal, ...

  6. line Quark

    ... elope starts off with an upwards slope determined by the attack time, then gets clipped at 1. The next section that gets subtracted from this is 0 until the input line goes above a threshold corresponding to the attack time plus the sustain ...

  7. 054-boids_3d Quark

    ... contain(o); //--render Pen.strokeColor= Color.grey((depth-o.loc[2]/(depth*0.5)).clip(0, 1)); Pen.strokeOval(Rect.aboutRedObject3D(o, s, f)); }; }; w.play; CmdPeriod.doOnce({w.close}); )

  8. 0b_influxWeightz Quark

    ... ux NTMI.inph.randSeeds = NTMI.inph.randSeeds ? NTMI.defaults.inph_randSeeds; // clip to max 7 presets, so we can use the 6 back LED colors. if (NTMI.inph.randSeeds.size > 7) { "*** influx presets can only be max 7!\n" "from %,\n".postf(NTMI ...

  9. allBands Quark

    ... * 1); feedback = 0.8; audio = NumChannels.ar(audio,2); Mix.new([ RLPF.ar(audio,Clip.kr(lofmod,60,9000),resmod,lo * 9.0).softclip, PingPongT.ar(nil, Formlet.ar(audio,freqmod, 0.005,decay ,mid) , 0.375,feedback,0.04,1,tempo ), HardShaper.ar( ...

  10. round Quark

    ... ); UMapOut.kr(input); }, { |unit, input = 0.5, round = 0| input.round( round ).clip( *[unit.spec.minval, unit.spec.maxval] ); }, \math ) .prepareArgsFunc_({ |args| var index; index = args.indexOf( \value ); if( index.notNil && { index.even ...

prev 21 22 23 24 25 26 27 28 29 30 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow