Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (72) Code (2) Doc (12) Help (4) Quark (54) SCDoc ↗ Forum ↗ Google ↗
  1. extArray-asSpecMapKr Quark

    ... (0,1); range = maxval - minval; ratio = maxval / minval.max(1e-12); curve = if( InRange.kr(curve, -0.001, 0.001 ), 0.001, curve ); grow = exp(curve); a = range / (1.0 - grow); b = minval + a; value_squared = value.squared; minval_dbamp = mi ...

  2. extArray-asSpecMapKr Quark

    ... (0,1); range = maxval - minval; ratio = maxval / minval.max(1e-12); curve = if( InRange.kr(curve, -0.001, 0.001 ), 0.001, curve ); grow = exp(curve); a = range / (1.0 - grow); b = minval + a; value_squared = value.squared; minval_dbamp = mi ...

  3. PFKtl Doc

    ... norm ( val ) - range - softWithin - softWithin = value - valRange - valRange = inRange Help template Copy and paste the text below and save to HelpSource/Classes/PFKtl.schelp TITLE:: PFKtl summary:: (put short description here) categories: ...

  4. extString-jsonToDict Quark

    ... lIdxs = newString.findAll("null"); // nullIdxs.do{|idx| // idxs.any{|pairs| idx.inRange(*pairs)}.if({ // newString.overWrite("nil ", idx); // }) // // }; // // ^newString // } // // jsonToDict { // ^(this.prepareForJSonDict.interpret) // } ...

  5. wfsIndex Quark

    ... mp; maxIndex = NumOutputBuses.ir; // only output to hardware outs gain = gain * InRange.kr(index, 0, maxIndex); // mute when out of range input = UGlobalEQ.ar( UIn.ar(0, 1) ) * gain * UEnv.kr; Out.ar( index.clip(0, maxIndex), input ); }) ) ...

  6. line Quark

    ... g = ULine.kr( 0, 1, duration, \loop, \delay, \trigger ); sig = Select.kr( curve.inRange(-0.001,0.001), [ sig.lincurve(0, 1, a, b, curve ), sig.linlin(0, 1, a, b ) ]); UMapOut.kr(sig); }) .setSpec( \curve, [-16,16,\lin,0,0].asSpec ) .setSpec ...

  7. line Quark

    ... g = ULine.kr( 0, 1, duration, \loop, \delay, \trigger ); sig = Select.kr( curve.inRange(-0.001,0.001), [ sig.lincurve(0, 1, a, b, curve ), sig.linlin(0, 1, a, b ) ]); UMapOut.kr(sig); }) .setSpec( \curve, [-16,16,\lin,0,0].asSpec ) .setSpec ...

  8. in_range Quark

    ... , falseValue = 0.0| var index, output; UMapDef.useMappedArgs_( false ); index = InRange.kr( input, *range ); output = Select.kr( index, [ falseValue, trueValue ] ); UMapOut.kr( output ); }, { |unit, input = 0.0, range = #[0.25,0.75], trueVa ...

  9. in_range Quark

    ... , falseValue = 0.0| var index, output; UMapDef.useMappedArgs_( false ); index = InRange.kr( input, *range ); output = Select.kr( index, [ falseValue, trueValue ] ); UMapOut.kr( output ); }, { |unit, input = 0.0, range = #[0.25,0.75], trueVa ...

  10. Collection Quark

    ... a new collection with counts of occurrences within a range of deviation //the .inRange method is based on wslib Quark occurrencesArray {|deviation = 0| var output = []; this.do{|item, index| output = output.add( this.count{|itm, idx| itm.i ...

prev 1 2 3 4 5 6 7 8 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow