Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... ost window Inherits from: Object The class Post is a stream destination. a = "a string" ; b = 'a symbol' ; c = 4; d = [1,2,3,4,a,b]; // post as string Post << a << Char .nl; // post as compile string Post <<< a << Char .nl; // post as strin ...

  2. TextField Doc

    ... nherited class methods Undocumented class methods qtClass Instance methods Data string object setBoth value valueAction Appearance align font stringColor background Actions action Drag and drop defaultGetDrag defaultCanReceiveDrag defaultRe ...

  3. wordBins Quark

    + String { wordBins {|minLengthOfWords = 2, stopList| var index = 0, size, bj = 0, raw, strings, numAppearances; minLengthOfWords.postln; stopList = stopList ? #[]; raw = this .tr($\t, $ ).tr($\n, $ ) // replace \n, \t with blank .tr($(, $ ...

  4. OSCIIRadioButton Quark

    OSCIIRadioButton { var <>action, <>button, <>valueText, stringview, font; var fillcolor; *new { arg w, bounds, string; ^super.new.initOSCIIRadioButton(w, bounds, string); } initOSCIIRadioButton { arg w, bounds, string; var buttrect, light; ...

  5. Verbosity Quark

    ... ( target != nt ){ if ( doc.notNil ){ doc.close; } }; target = nt; } value{ |lev,string,method| var postString = string; if ( (level+globalLevel) >= lev ){ if ( method.notNil ){ postString = method + ":" + postString; }; postString = key + " ...

  6. SimpleButton Quark

    SimpleLabel : SCViewHolder { *new { arg layout,string,bounds,font; var new; new = this.prNew(layout,string,bounds,font); new.background_(Color(0.9843, 0.9843, 0.9843, 1.0)) .align_(\left); ^new } *prNew { arg layout,string,bounds,font; var ...

  7. string additions Quark

    + String { subStr { arg start=0, end; /* Returns a sub-string from start index to end index (0-based). Negative start indexes wrap around from the end. End indexes greater than string length and nil end indexes are forced to string length. ...

  8. Executor Quark

    ... ssName) and executing commands //Batuhan Bozkurt 2009 Executor { classvar <>lastString; *new { ^super.new.init; } init { var bnd, cmWin, tBox; bnd = Window.screenBounds; cmWin = Window("Command:", Rect((bnd.width/2) - 100, (bnd.height/2), 2 ...

  9. RedGUI Quark

    ... ground_(GUI.skins.redFrik.background); } } RedButton { *new {|parent, bounds ...strings| var fnt= RedFont.new; if(strings.isEmpty, {strings= [""]}); bounds= bounds ?? {Point(strings.maxValue{|x| x.bounds(fnt).width}+14, 14)}; ^Button(parent ...

  10. JSONlib Doc

    ... nt customDecoder Inherited instance methods Examples Convert an Event to a JSON string Convert a Dictionary to a JSON string Convert a JSON string to an Event Save to file Using null Use custom en/decoders to store functions Transfer nested ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow