Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... ========== * perf: enable strict mode * perf: use for loop in parse * perf: use string concatination for serialization 0.2.3 / 2015-10-25 ================== * Fix cookie `Max-Age` to never be a floating point number 0.2.2 / 2015-09-17 ===== ...

  2. MorseDict Quark

    // based on hairi vogel's morse class MorseDict { classvar <codes, <strings, <letters; *initClass { strings = [$., $-, " / "]; codes = Event[ $a -> [0,1], $b -> [1,0,0,0], $c -> [1,0,1,0], $d -> [1,0,0], $e -> [0], $f -> [0,0,1,0], $g -> [1 ...

  3. SMPTEView Quark

    ... d.notNil ) { Pen.color = background; Pen.fillRect( v.drawBounds ) }; pos.asSMPTEString( 1000 ) .drawStretchedIn( v.drawBounds, Font( fontName, fontSize ), fontColor ); //.drawAtPoint( v.drawBounds.leftTop, Font( fontName, fontSize ), fontCo ...

  4. extObject-asPrettyString Quark

    ... Object.findRespondingMethodFor( selector ) } prettyPrintIndent { |indent = 0| ^String.fill( indent, $\t ); } prettyPrintOn { |stream, indent = 0| if( this.sublassMethodExistsFor( \storeOn ) ) { stream << this.prettyPrintIndent( indent ); t ...

  5. SCMSliderView Quark

    ... ew.clipLo_(this.spec.minval); numberBoxView.clipHi_(this.spec.maxval); unitView.string_(this.spec.units); this.value = value; } init { spec = ControlSpec(); valueProxy = PatternProxy(); valueProxy.source = 1; valueMappedProxy = PatternProxy ...

  6. extObject-asPrettyString Quark

    ... Object.findRespondingMethodFor( selector ) } prettyPrintIndent { |indent = 0| ^String.fill( indent, $\t ); } prettyPrintOn { |stream, indent = 0| if( this.sublassMethodExistsFor( \storeOn ) ) { stream << this.prettyPrintIndent( indent ); t ...

  7. TestDate Quark

    ... ew with defaults"); this.assertEquals(Date(2010, day: 15, minute: 30).asSortableString, "20100115003000", "new with defaults"); e = nil; try { Date(month: 7) } { |err| e = err }; // ERROR: year must be a valid Integer this.assertEquals(e.cl ...

  8. EZLists Help

    ... he current selection addItem (name, action) Adds an item. name - An instance of String or Symbol . The name of the list/menu item. action - An instanc of Function. insertItem (index, name, action) Inserts a list/menu item at positiion of in ...

  9. CVWidget Quark

    ... textConnection; var <guiEnv; var prDefaultAction, <>wdgtActions, <background, <stringColor, <alwaysPositive = 0.1; var prMidiMode, prMidiMean, prCtrlButtonBank, prMidiResolution, prSoftWithin; var prCalibrate, netAddr; // OSC-calibration e ...

  10. MoscaGUI Quark

    ... y) * (orient.cos)) + (gOrigin.y ); Point(rx,ry) }; printText = { | image, x, y, string, fontSize | var font = Font("Monaco", fontSize); image.draw{ Pen.stringAtPoint(string, x@y, font, Color.black); }; win.refresh; }; storeGraphicUndo = { | ...

prev 61 62 63 64 65 66 67 68 69 70 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow