Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2094) Code (114) Doc (526) Help (153) Quark (1294) Plugin (7) SCDoc ↗ Forum ↗ Google ↗
  1. TestSatieJson Quark

    ... SatieUnitTest { var jsonPath; setUp { var dataDir = this.class.filenameSymbol.asString.dirname +/+ "data"; jsonPath = ( valid: dataDir +/+ "valid.json", invalid: dataDir +/+ "invalid.json", ); } test_SatieJson_stringify_booleans { [ [true, ...

  2. extString-imagefiles Quark

    + String { // using sips (unix application built into MacOSX) // convert your web images right from SC.. resampleImage { |newMaxSize = 600, newName = \auto| var path, result; path = this.standardizePath; case { newName == \auto } { newName ...

  3. SFPlayer Quark

    ... I.if({ // sfView.timeCursorPosition_((startTime * sf.sampleRate).round); // timeString.string_(startTime.asTimeString[3..10]); // cueOffsetNum.value_(0); // offset = 0; // }) } loop_ {arg val; var oldVal = loop; loop = val.asBoolean; if((ol ...

  4. RedBencode Quark

    ... val, i| case {val.isInteger} { //integer res.add($i).add(val).add($e); } {val.isString} { //string res.add(val.size).add($:).add(val); } {val.isKindOf(Set)} { //dictionary res.add($d); val.asSortedArray.do{|a| res.add(this.encode([a[0].asSt ...

  5. SignatureBox Quark

    ... = 4; formatFunc = { |value| "%/%".format( value, denom ) }; interpretFunc = { |string| if( string.includes( $/ ) ) { string = string.split( $/ ); denom = 2**(({ string[1].interpret }.try ? denom).log2.round(1).clip(0,10)); string = string[ ...

  6. SignatureBox Quark

    ... |value| "%/%".format( value.asInteger, denom.asInteger ) }; interpretFunc = { |string| if( string.includes( $/ ) ) { string = string.split( $/ ); denom = 2**(({ string[1].interpret }.try ? denom).log2.round(1).clip(0,10)); string = string[ ...

  7. Readme Quark

    ... avis-url] [![Test Coverage][coveralls-image]][coveralls-url] Utility to parse a string bytes (ex: `1TB`) to bytes (`1099511627776`) and vice-versa. ## Installation This is a [Node.js](https://nodejs.org/en/) module available through the [np ...

  8. extArray Quark

    ... val=0; func.value(spec.map(val) ) }; }); ^specFunc; } mapSpec {var func, spec, stringSpec, funcString, newString, stripFunc; if( this.collect({|item| item.isFunction }).includes(true), { func = this.select({|item| item.isFunction })[0]; sp ...

  9. UReplyKey Quark

    ... key ); } *asKey { |something| switch( something.class, Symbol, { ^something }, String, { ^something.asSymbol }, Integer, { ^dict.at( something ) }, { ^nil } ); } *asID { |something| switch( something.class, Symbol, { ^dict.at( something ) ...

  10. DOMProcessingInstruction Quark

    ... ---------------------- // *new { arg owner, target, data; // types DOMDocument, String, String ^super.new.init(owner, DOMNode.node_PROCESSING_INSTRUCTION, target, data); } // end new // --- getTarget() : String ----------------------------- ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow