Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

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

  2. 2d_preset_func Quark

    ... id hitting min or max values really quickly. tune maxTanh to determine where to clip above compression: maxTanh -> bival 0.96.atanh // +-1.95 0.98.atanh // +-2.3 0.99.atanh // +-2.65 0.995.atanh // +-3 0.999.atanh // +-3.8 */ // set the har ...

  3. orbit Quark

    ... s = f.get( \periods ); close = f.get( \close ); eccentricity = f.get( \eccent ).clip( -0.999, 0.999 ); eccentAngle = (f.get( \eccentAngle ) / 360) * 2pi; if( close ) { nn = n-1 }; path.positions = n.collect({ |i| var r, v; v = (i.linlin(0,n ...

  4. 1_serverConfig Quark

    ... ? 2) // record numChans .recSampleFormat_("float") // in float to recover from clipping ; if (m.server.serverRunning) { m.warnWin( "Setting Server.options while server running!\n" "Settings will not take effect until server is rebooted:\n" ...

  5. sndBuffer2 Quark

    ... lay time used to avoid transient mangulation by supernova incidence = incidence.clip(0,1); // incidence not used amp = amp.clip(0,1); rate = VarLag.kr(rate, glide, curve, warp); // was Lag.kr(rate, glide); env = EnvGen.ar(Env.adsr(attackSec ...

  6. influxCombteeth Quark

    ... \keysScram]; keysScram.removeAll(dict[\keysOff]); numKeys = (dict[\keysPercent].clip(0, 1) * keysScram.size).round(1).asInteger; keysScram.keep(numKeys) }); ndef.addHalo(\setFromInfluxTeeth, { |dict| var keysVals = dict.keysToGet.collect { ...

  7. ringz Quark

    ... rmlet.kr( scaledValue, freq, attackTime, decayTime ) * amp; sig = (sig + value).clip(0,1); UMapOut.kr( sig ); }) .setSpec( \freq, FreqSpec(0.01,300, default: 2) ) .setSpec( \attackTime, [0.001,10,\exp, 0, 1].asSpec ) .setSpec( \decayTime, [ ...

  8. serverBasic8 Quark

    ... ? 8) // record numChans .recSampleFormat_("float"); // in float to recover from clipping "\n/// to see server settings, do: \nq.postServerOptions;".postln;

  9. ringz Quark

    ... rmlet.kr( scaledValue, freq, attackTime, decayTime ) * amp; sig = (sig + value).clip(0,1); UMapOut.kr( sig ); }) .setSpec( \freq, FreqSpec(0.01,300, default: 2) ) .setSpec( \attackTime, [0.001,10,\exp, 0, 1].asSpec ) .setSpec( \decayTime, [ ...

  10. divide Quark

    ... = 0| (input / (divide * negative.binaryValue.linlin(0,1,1,-1) * (10**factor))) .clip( *[unit.spec.minval, unit.spec.maxval] ); }) .mappedArgs_([ \input ]) .prepareArgsFunc_({ |args| var index; index = args.indexOf( \value ); if( index.notNi ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow