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. MainFX Doc

    ... LeakDC.ar(in, leak) }, 1, (\leak: [0.5, 0.999, \exp]) ); ProxyChain.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] ) ); ProxyChain.add3 ...

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

  5. InRange Doc

    ... : Object Tests if a signal is within a given range. Source: Trig.sc Subclasses: Clip , Fold , Schmidt , Wrap See also: InRect , Schmidt Description If lo ≤ in ≤ hi , output 1.0, otherwise output 0.0. Class Methods InRange. ar ( in , lo: 0.0 ...

  6. 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" ...

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

  8. 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 { ...

  9. FuncSpec Doc

    ... (a*10).debug("map 0-1 to 0-10")} ,{|a|(a/10).debug("unmap 0-10 to 0-1")} ,{|a|a.clip(0,10).debug("constrain between 0-10")} ,0 ); a.map(0.5); a.unmap(5); a.constrain(-1000); a.default; ) ⧉ ✔ helpfile source: /tmp/scquark_hs/MethodController ...

  10. Mountains by simon (Dindoléon) Code

    ... y | var selection_y = y.linlin( 0, view.bounds.height, 0, 4, clip: 'minmax' ).asInt; selected_view = selection_y; views.do( { | view, index | if( index == selected_view, { view.visible_( true ) }, { ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow