Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (137) Code (2) Doc (33) Help (6) Quark (96) SCDoc ↗ Forum ↗ Google ↗
  1. extArray Quark

    ... awLines) .value_((v.linlin( min, max, 0.0, 1.0 );)) }; labels.do { | t, i | GUI.textView.new(win, Rect(4, 25 * i, 80, 20)) .string_(t.asString) .stringColor_(colors[i]) .background_(background) .font_(Font("Helvetica", 18) ) } ^win; } windo ...

  2. NMLShout Quark

    ... pha_(0.7); win.view.background_(Color.clear); win.alwaysOnTop_(true); txtView = TextView(win, win.bounds.moveTo(0,0)); txtView.background_(Color.clear); txtView.font_(Font("Monaco", 32)); txtView.resize_(2); width = rect.width; this.setMess ...

  3. Shout Quark

    ... pha_(0.7); win.view.background_(Color.clear); win.alwaysOnTop_(true); txtView = TextView(win, win.bounds.moveTo(0,0)); txtView.background_(Color.clear); txtView.font_(Font("Monaco", 32)); txtView.resize_(2); width = rect.width; this.setMess ...

  4. PostWindow Quark

    ... ow as first argument, otherwise use the .window class method".warn; }, { text = TextView(window.asView, bounds).focus(true); text.font_(font).palette_(qpalette).background_(backgroundColor); megaString = ""; this.fork; }); } *window {arg na ...

  5. extStartupChoose Quark

    ... itext.first; ds.string = filename; nameView.string = filename; }; }; nameView = TextView(w).string_("enter name") .minSize_(Size(100,20)).maxSize_(Size(200,60)); saveBut = Button(w).states_([["SAVE"]]).maxSize_(Size(60,40)) .action_({ var p ...

  6. PeakMonitorGui Quark

    ... maxClip[j] = 0; b.value_(0) }); }); }); rightFlow.startRow; maxRecentView = GUI.textView.new(rightFlow, Rect(0, 0, 200, 100)); maxClip = 0 ! model.numChannels; recentSize = model.freq*2; maxRecent = Array.new(recentSize); myModel = model; } ...

  7. PeakMonitorGui Quark

    ... maxClip[j] = 0; b.value_(0) }); }); }); rightFlow.startRow; maxRecentView = GUI.textView.new(rightFlow, Rect(0, 0, 200, 100)); maxClip = 0 ! model.numChannels; recentSize = model.freq*2; maxRecent = Array.new(recentSize); myModel = model; } ...

  8. HeatMap Quark

    ... e HeatMap object: patches Allows you to access the patches as a 2D array of GUI.textView objects. highlight(x, y, colour) Allows you to highlight a single point of interest, as follows: // Some random data a = (0..9).scramble.blendAt((0.1, ...

  9. Verbosity Quark

    ... win, { doc = Window( "Verbosity", Rect(300, 500, 500, 100)); doc.addFlowLayout; TextView(doc, doc.bounds.resizeBy(-8, -8)).resize_(5); doc.onClose_({ this.closedDoc }); }); }; } *makeGui{ ^VerbosityAllGui.new; } makeGui{ ^VerbosityGui.new( ...

  10. RedGUI Quark

    ... string_(string) .stringColor_(GUI.skins.redFrik.foreground) .font_(fnt); } } RedTextView { *new {|parent, bounds| bounds= bounds ?? {Point(100, 14)}; ^TextView(parent, bounds) .background_(GUI.skins.redFrik.background) .stringColor_(GUI.ski ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow