Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1238) Code (32) Doc (255) Help (35) Quark (914) Plugin (2) SCDoc ↗ Forum ↗ Google ↗
  1. extSymbol-uEnvirPut Quark

    + Symbol { uEnvirPut { |value, spec| var default; value = value.value; if( value.isArray && { spec.notNil } ) { spec = spec.massEditSpec( value ).default_( { spec.default }!(value.size) ); }; currentEnvironment.put( this, value ); if( spec. ...

  2. keith-mcmillen-quneo_preset1.desc Quark

    ... [\play, 26, 86, 35], [\stop, 25, 85, 34], [\rec, 24, 84, 33], ] .collect { |midiSpec, index| ( key: midiSpec[0], elements: [ ( key: \on, midiNum: midiSpec[1], midiMsgType: \noteOn, spec: \midiVel ), ( key: \off, midiNum: midiSpec[1], midiMs ...

  3. NumericRange Quark

    NumericRange { var <>lo, <>hi, <>spec; *new { arg lo, hi, spec; ^super.newCopyArgs(lo, hi, spec.asSpec) } rrand { ^rrand(lo, hi) } inrange { |num| ^num.inclusivelyBetween(lo, hi) } intersects { |that| if(lo < that.lo) { ^hi >= that.lo } { ^ ...

  4. EnvM Quark

    ... ote: when entering a literal array (i.e. #[0,1,0]) it will not be unmapped var <spec; var <>mapped = true; *new { arg levels = #[0,1,0], times = #[1,1], curve = 'lin', releaseNode, loopNode; ^super.newCopyArgs(levels, times, curve) .release ...

  5. EnvM Quark

    ... ote: when entering a literal array (i.e. #[0,1,0]) it will not be unmapped var <spec; var <>mapped = true; *new { arg levels = #[0,1,0], times = #[1,1], curve = 'lin', releaseNode, loopNode; ^super.newCopyArgs(levels, times, curve) .release ...

  6. ArgSpec Quark

    ... f not, see <http://www.gnu.org/licenses/>. */ /* f = { |a=1, b=2| a+b }; x = ArgSpec.fromFunc( f ); // array of ArgSpecs x.postln; // -> [ an ArgSpec(a, 1), an ArgSpec(b, 2) ] */ ArgSpec : Spec { var <>name, <>default, <>spec; var <>private ...

  7. NumberEditor Quark

    ... alue(value); } valueAction_ { arg val; // standard sc this.activeValue = val; } spec { ^thisMethod.subclassResponsibility } copy { ^this.class.new.value_(value.copy) } guiClass { ^ObjectGui } // find suitable editor any object *for { arg ob ...

  8. NumberEditor Quark

    ... alue(value); } valueAction_ { arg val; // standard sc this.activeValue = val; } spec { ^thisMethod.subclassResponsibility } copy { ^this.class.new.value_(value.copy) } guiClass { ^ObjectGui } // find suitable editor any object *for { arg ob ...

  9. Pattern Quark

    MxUnit.register('Pattern', ( make: { arg pattspec; var pattern, spec; var inlets, outlets, sips; if(pattspec.isArray, { # pattern, spec = pattspec; }, { pattern = pattspec; spec = \unipolar.asSpec; // better to run a few items and check min ...

  10. PuzzleSphere. desc_OFF Quark

    // Realplayer Puzzlesphere Spec.add(\cent1, [0, 1, \lin, 0, 0.5].asSpec); Spec.add(\centAccOSX, [0.0, 4096.0, \lin, 0, 0.5 ].asSpec ); [ // right hand side four labeled buttons \bt_up, (type: \button, osx: (cookie: 2), linux: (slot: [1,304] ...

prev 1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow