Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1875) Code (155) Doc (456) Help (116) Quark (1142) Plugin (6) SCDoc ↗ Forum ↗ Google ↗
  1. Internal-Snooping Doc

    ... ndows to snoop in 5.do { | i | var w, b; w = Window.new("snoop " ++ i.asString, Rect.new( 200 + 400.rand, 69 + 300.rand, 172, 90 )); w.front; b = Button.new( w, Rect.new( 23, 28, 127, 25 )); b.states = [["BLAM-O", Color.red]]; } ) Window.al ...

  2. GMLineMultiSlider Doc

    ... es_(0.25!7) ]); 1.wait; }; }).play(TempoClock.default); { var win = Window( "", Rect( 0, 0, 600, 400 ) ); var multiSlider = GMLineMultiSlider() .values_(levels) .actionMode_(\index) .action_({ |index, value| levels[index] = value; }); win.l ...

  3. CVWidget Doc

    ... e regarding controller gets invoked. WARNING: Do not try to change the models directly, e.g. by doing something like myWidget.wdgtControllersAndModels.someModel = someValue Models are designed for internal bookkeeping and all methods within ...

  4. TextField Doc

    ... a. Inherited instance methods Examples ( w = Window.new.front; a = TextField(w, Rect(10, 10, 150, 20)); a.string = "hi there"; a.action = { |field| field.value.postln }; ) // does not do the action a.value = "yo"; a.string = "oy"; a.valueAc ...

  5. PwarpDur Doc

    ... malized 0.0-1.0 cycle, which is then scaled up according to 'dur' (expressing directly the idea of "18 to 30 notes within the specified duration"). ( p = Pspawner { |sp| var notes, dur; loop { notes = Pseries( rrand(-9, -5), Pconst(16, Pwra ...

  6. PathActionQMenu Doc

    ... Methods . new Create an ActionMenu Arguments: parent The parent view. bounds A Rect name The Menu Button Title items An Array of String , Association (\key->function), MenuAction , or ActionQSubMenu . NOTE: items A String is interpreted as ...

  7. StepButton Doc

    ... nset: 5@5); b=NumberBox(w,40@27).value_(1); q.target=b; w.startRow; // fill the rect b=NumberBox(w,40@27).value_(1); StepButton(w,27@27,target:b,eq:false); w.startRow; // inset the icon, and no eq c=EZSlider(w,300@27,"demo", [0,10,'linear', ...

  8. WindowHandleView Doc

    ... e instance of View or Window that the new View will become a child of. bounds A Rect or a Point describing size and position of the new View. If a Point is given, its coordinates will denote the view's size, while the view's position will b ...

  9. Unit-Lib Doc

    ... on : asControlInputFor { |server, startPos| ^this.value( server, startPos ) } + Rect : asControlInput { ^this.asArray } + Boolean : asControlInput { ^this.binaryValue } + Point : asControlInput { ^this.asArray } ⧉ ✔ Other objects that can b ...

  10. SWPlotterMonitor Doc

    ... lotter.parent.close; m.plotter.name_("plot some fake data"); m.plotter.bounds_( Rect(100, 100, 700, 700)) m.plotter.makeWindow; // also, all the keyboard shortcuts from Plotter work (found in the Plotter helpfile) ⧉ ✔ helpfile source: /tmp/ ...

prev 31 32 33 34 35 36 37 38 39 40 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow