-
... l be the localhost server.) You can start the server app by pressing the 'Boot' button on the localhost server window, or you can do it in code: // execute these lines one at a time by placing the cursor on the line and then pressing 'enter ...
-
... //////////////// // Sound example ( // start server s.waitForBoot({ var w, startButton, noteControl, cutoffControl, resonControl; var balanceControl, ampControl; var node, cmdPeriodFunc; // define a synth SynthDef ( "window-test" , { arg no ...
-
... ve after a command-period. To turn it off you must either click off the 'Power' button or close the window. Panel commands: Power - Turns the scope on and off. This is useful for freezing the signal on the display or for saving CPU. BusIn - ...
-
... { Saw .ar(440,0.3)} , { WhiteNoise .ar(0.3)} , { Pulse .ar(440,0.2,0.3)} ]; b= Button (w, Rect (110,10,180,20)) .states_([[ "play" , Color .black, Color .green]]) .mouseDownAction_({ snd = funcs.at(menu.value).play; }) .action_({ arg butt, ...
-
... apper. A GeneralHIDSlot accesses one specific capability of a device, such as a button, an axis or an LED. Its value can be retrieved, an action can be set to be performed when data comes in, and the slot can be mapped to a control bus to u ...
-
... ufFrames .kr(b) - 1); // cursor x position controls buffer pos var write = MouseButton .kr; // button controls write action Demand .kr(write, 0, Dbufwr (val, b, pos, 1)); SinOsc .ar( Duty .kr( Dseq ([0.5, 0.75, 0.5, 1.0], inf ) * 0.2, 0, Db ...
-
... ) Hiding / Swapping You can stack CompositeViews on top of each other and use a button show only one of them ( var colors = [ Color .blue, Color .red, Color .green]; a = Window .new; q = 3; b = Button (a, Rect (0,0,160,20)); b.states = Arra ...
-
... or brevity. w.view.background = Color ( 0.6, 0.8, 0.8 ); 32.do({ arg i; // Here Button returns the button class for the current kit b = Button ( w, Rect ( rrand( 20, 300 ), rrand( 20, 300 ), 75, 24 )); b.states = [[ "Start " ++ i, Color .bl ...
-
... his Class. (OSX only). Shows methods, arguments, variables, subclasses, and has buttons for navigating to the superclass, source, helpfile, cvs, etc. findMethod(methodName) Find the Method referred to by name. If not found, return nil. find ...
-
... uments, subclasses, instance variables and class variables. Using the browser's buttons you can easily navigate to the class' superclass, subclasses, class source, method source, helpfile (if there is one), check references or implementatio ...