-
... 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 ...
-
... // you can write: CmdPeriod.doOnce { "foo".postln } // a typical example: ( w = Window.new("close on cmd-.").front; CmdPeriod.doOnce { w.close }; ) // in some cases you might need to defer the function by a short amount of time a = { Synth( ...
-
... ick on slider names toggles between slider and ControlSpec view. win redraw GUI window (to add/remove unused/new sliders) trig trigger sound save render sound to disk and write description file NOTE: This class was tested on osx only but sh ...
-
... Class methods new read Inherited class methods Instance methods write plot makeWindow type width height depth compression palette data asImage asInt32Array Inherited instance methods Examples Classes (extension) | Red > redTools'>redTools ...
-
... an add new items to the channel. // execute these lines and watch what the post window puts out p // these are the inlets to the pulse p.inlets // shorthand p.i // the freq inlet p.inlets.freq p.i.freq // these are the outlets p.outlets // ...
-
... data. You may also wish to add a slight lag to the values you produce, if your window is short and/or your signal includes strong low frequencies, because the phase of the signal may affect the result. Inherited class methods Instance Meth ...
-
... e buffer: p.defineKey( "hello", { "hey there".postln; } ); // type hello on the window and look at the postbuffer p.front; p.defineKey( "hey there", { "hello".postln; } ); // type hey there and look at the postbuffer p.front; ⧉ ✔ . insert I ...
-
... a.add(1); a.add(3); // set decaytime of model a.decaytime = 2; ( var w, mp; w = Window.new.front; StaticText(w, w.bounds.moveTo(0,0)).align_(\center) .string_("click and drag to charge activity level."); w.view.mouseMoveAction = { |view, x, ...
-
... latency= nil; s.waitForBoot{ var width= 640, height= 360, maxAge= 150; var win= Window("ps", Rect(100, 100, width, height), false, false); var usr= UserView(win, Rect(0, 0, width, height)); var mouse, objects= List.new; SynthDef(\main, {|in ...
-
... ata in memory. (This makes it possible to write code that can print to the post window or write text to a disk file or collect text in a String, using the file streaming interface.) SoundFileStream is the counterpart for SoundFile . Class M ...