-
... w. font_(font) Set the Font used by all the views. font - An instance of Font . Examples ( // basic use w= Window .new.front; g= EZSlider (w, 400@16, " test " , \freq ,unitWidth:30, numberWidth:60,layout: \horz ); g.setColors( Color .grey, ...
-
... ey have. The setter, valueAction_ is defined by practically any gui widget, for example. It sets the value and performs the action (already defined in SCView). 6. Override mouseActions SCView defines mouseDown , mouseMove and mouseUp , as m ...
-
... to use a private control bus when this type of feedback is desired. There is an example below which demonstrates the problem. See the InFeedback and Order-of-execution helpfiles for more details. Note that using the Bus class to allocate a ...
-
... onnectByUID(port, uid) (Linux only) *disconnectByUID(port, uid) (Linux only) // examples: MIDIClient .init; m = MIDIOut (0); m.noteOn(16, 60, 60); m.noteOn(16, 61, 60); m.noteOff(16, 61, 60); m.allNotesOff(16); MIDIIn .connect; // 1 port mi ...
-
... status - query the server status notify(flag) - server sends notifications, for example if a node was created, a 'tr' message from a SendTrig, or a /done action. if flag is set to false, these messages are not sent. The default is true. dum ...
-
... w. font_(font) Set the Font used by all the views. font - An instance of Font . Examples // Simplest version ( // basic use w= Window .new.front; g= EZNumber (w, 170@16, " test " , \ freq ,unitWidth:30, numberWidth:60,layout: \horz ); g.set ...
-
... xternal sources, this creates a delay for up to one block (e.g. about 1 ms.) // example ProxySynthDef .sampleAccurate = false ; ~x.play; // the grain frees itself ~x = { SinOsc .ar(800) * EnvGen .ar( Env .perc(0.001, 0.03, 0.4), doneAction: ...
-
... Methods are methods that implement messages sent to the class object. A common example is the message new which is sent to the class object to create a new instance of the class. Class method names have an asterisk preceeding the message s ...
-
... eful when the absence of an object requires a new object to be created. In this example, it's critical that a new SCSlider not be created if the object was already passed in. f = { |slider, parent| slider = slider ?? { SCSlider .new(parent, ...
-
... ver. asDigit Answer a Char which represents the receiver as an ASCII digit. For example 5.asDigit returns $5. asBinaryDigits(numDigits) Answer an array with the binary digits (integer 0 or 1). numDigits defaults to 8. asDigits(base, numDigi ...