Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... Marinus Klaassen (2012, 2021Q3) EXAMPLE: a = SCMMessageLabelView(bounds:400@50).string_("test").front a.clear */ SCMMessageLabelView : StaticText { *new { | parent, bounds | ^super.new(parent, bounds).visible_(false); } string_ { |string| s ...

  2. extFunction Quark

    ... d("Pbind")-1); argNames = this.argNames; patType = Pseq; argNames.do{|item| var string; string = ("Pdefn('" ++ argNames[0] ++ "_" ++ item ++ "', " ++ patType.asString ++ "(" ++ item ++ ", inf))").asString; part2 = part2.replace(item.asStrin ...

  3. GLOBOL Quark

    ... thisProcess.interpreter.preProcessor; thisProcess.interpreter.preProcessor = { |string| if(isPermitted(this, string).not) { "GLOBOL DOES NOT PERMIT THIS INPUT".warn; } { this.distribute(string); // SEND TO EVERYWHERE interpret(process(this, ...

  4. CallWindow Quark

    ... cordHistory, startTime, historyPath, <keyFunc, <callwin, <backgroundColor, <>varString, <>replace=false; *new {arg window, bounds, font, qpalette, settings, postWhere, postType, postWin, postBool, storeSize=10; ^super.new.initCallWindow(win ...

  5. 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($(, $ ...

  6. 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; ...

  7. 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 + " ...

  8. 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 ...

  9. 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. ...

  10. 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 ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow