Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    + String{ /// returns a dictionary with stats of the named process getStats{ var stats; stats = ("ps -C \""++this++"\" u").unixCmdGetStdOut; // stats.postcs; // some reformatting: stats = stats.split($\n).collect{ |it| it.split($ ) }.do{ |i ...

  2. DOMDocumentFragment Quark

    ... MENT_FRAGMENT, "#document-fragment"); } // end new // --- format(indentLevel) : String --------------------------------------- // format { arg indentLevel; // type int var xml = ""; if ( indentLevel == nil, { indentLevel = 0 }); this.getChi ...

  3. RepublicOneBigGui Quark

    ... ummy Republic post view with RePost q.pr = TextView(w, Rect(0,0,500,200)); q.pr.string_("... Republic posts here ..."); q.pr.background_(Color.grey(0.8)).stringColor_(Color.black); // example buttons ( q.butzone.remove; q.butzone = Composit ...

  4. CollidingTab Quark

    ... path ++ id ++ ".cld"; var file; file = File(filePath, "w"); file.write(textView.string); file.close; } init{|tabView,control, tabId| id = tabId; track = CollidingTrack.new; tab = tabView.add(" " ++ id ++ " ").closable_(true) .onRemove_({|t| ...

  5. extString-uNamemidi Quark

    + String { // bypass cents and alt methods, causes crashes on post 3.14.0-dev uNamemidi { arg cents; // format "[notename][bb/b/#/x][octave(-9/9)]" // examples: "C#-2" , "Gbb7" // min notenr = -84 (C-9) // max notenr = 145 (Bx9) var notenam ...

  6. extDict Quark

    ... ey] = val; } } // move up to dictionary? // dictionary key could also be e.g. a string + IdentityDictionary { atKeys { |keys| if (keys.isKindOf(Collection)) { ^keys.collect (this.at(_)) }; ^this.at(keys); } }

  7. InstrGui Quark

    ... Row; ArgNameLabel( a ,layout,150); CXLabel(layout, " = " ++ model.defArgAt(i).asString,100); model.specs.at(i).asCompileString.gui(layout,specWidth@GUI.skin.buttonHeight); }); layout.startRow; CXLabel(layout,"outSpec:",150); CXLabel(layout, ...

  8. InstrGui Quark

    ... w; ArgNameLabel( a , layout, 150); CXLabel(layout, " = " ++ model.defArgAt(i).asString, 100); model.specs.at(i).asCompileString.gui(layout, specWidth@GUI.skin.buttonHeight); }); layout.startRow; CXLabel(layout, "outSpec:", 150); CXLabel(lay ...

  9. Player Quark

    ... {starttime = newstart; isGui.if({ AppClock.sched(0.01, {window.view.children[4].string_(starttime.asTimeString); window.view.children[5].value_(starttime / sf.duration); }) }) }); } // in mixer, use initendtime to truncate initendtime_ {arg ...

  10. DOMDocument Quark

    ... ances of any other class are either created internally during parsing of an XML-string, or programmatically through calls on 'DOMDocument.createElement(..)', 'DOMDocument.createText(..)', etc. DOMElement Represents an XML-tag. DOMAttr Repre ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow