-
... valueAction to the current drag data. 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 ...
-
... mber, a list, etc. Execute the following lines one at a time and watch the post window: f = { "Function evaluated" .postln; }; f; Both times it should say ' a Function '. Now whenever we want to refer to our Function we can just use the let ...
-
... sig = Limiter.ar(sig * 0.1, 1, 0.01); }).play; try{~win.close}; ~win = Window('noise mixer', Rect(400,400,600,300)); ~win.front.alwaysOnTop_(true); ~reset = { b.value_(0.31); a.do{ |sl| sl.value_(0.5)}; Ndef(\x).resetNodeMa ...
-
... step = 1, border = 1, dims = [16,16]; // tweak dims to change size of grid w = Window("rand-n-step+", Rect(50,250,dims[0]*22+10+250,dims[1]*22+60)).acceptsMouseOver_(true); // window init status = StaticText(w, Rect(5, w.bounds.height - 2 ...
-
... connected MIDI interface (0-..) The order of interfaces can be seen in the post window of SuperCollider and may look something like this: MIDI Destinations: MIDIEndPoint("System", "Timer") MIDIEndPoint("System", "Announce") MIDIEndPoint("Mi ...
-
... Library. If not, see <http://www.gnu.org/licenses/>. */ USessionGUI : UAbstractWindow { classvar <>topBarHeigth = 30; var <session; var <sessionView, bounds; var <sessionController, objGuis; var <selectedObject; var compTop = 0; *new { |se ...
-
... ronPlugin interface. ident: The ident text as String , if supplied by the user. window: This is an instance of CompositeView . You should use this as the parent view when drawing your widgets to your GUI. This window is embedded into the ou ...
-
... { arg layout,bounds; this.guiBody( layout.asFlowView(bounds ?? {Rect(100,0,1000,Window.screenBounds.height - 50)} ) ); } guiBody { arg layout; var search,rateFilter; ActionButton(layout,"Load all Instr",{ Instr.loadAll }); search = TextFiel ...
-
... g layout, bounds; this.guiBody( layout.asFlowView(bounds ?? {Rect(100, 0, 1000, Window.screenBounds.height - 50)} ) ); } guiBody { arg layout; var search, rateFilter; ActionButton(layout, "Load all Instr", { Instr.loadAll }); search = TextF ...
-
... cuts featured in wslib shortcuts documented here: Synth:sched Function:render SCWindow:decorate ( margin, gap ) Env:kr ( doneAction, gate, mul, add, timeScale ) Array:fft ( imag ), Array:ifft ( imag ) String:spth / String.spath Synth_ID Syn ...