-
... dump their names Window.allWindows.collect { | w | w.name }.postln; ( // change background colors of all open windows Window.allWindows.do { | window | window.view.background = Color.new(0.5 + 0.5.rand, 0.5 + 0.5.rand, 0.5 + 0.5.rand); } ) ...
-
... .latency= 0.05; s.boot //--simple test //make sure AudioMulch is running in the background (press play) //and that chase network sync is enabled in the control meny c= ClockAudioMulch(123/60, addr:NetAddr("127.0.0.1", 7000)); d= Pbind(\dur, ...
-
... = Window("bmp", Rect(300, 300, a.width*scale, a.height*scale), false); win.view.background= Color.red; a.data= a.data.reverse; //mess with the image pixel data win.drawFunc= { Pen.smoothing= true; a.data.do{|c, i| Pen.fillColor= Color(c.blu ...
-
... adjusted: Parameter Description Default Value Music Volume Sound volume of the background music 0.4 Sound Volume Volume of the game sounds 0.3 Keyboard Volume Volume of the MIDI Keyboard notes 0.5 Chord Name Language Note language to displ ...
-
... ); var synthsFree = false; var win = Window( "Harmos", Rect( 0, 0, 600, 400 ) ).background_(Color.black); var ampSlider = GMFaderSlider() .centerValue_(false) .action_({ |value| amp = value / nHarmo; synths.do({ |synth, index| synth.set(\am ...
-
... ited instance methods Examples ( var win = Window( "", Rect(0, 400, 200, 100)) .background_(Color.black); // Instanciate the View and configure it var button = GMCheckButton(); button.displaySymbol_(\circle); button.action_({ |pressed| pres ...
-
... ); var synthsFree = false; var win = Window( "Harmos", Rect( 0, 0, 600, 400 ) ).background_(Color.black); var ampSlider = GMSymbolSlider() .centerValue_(false) .displayLine_(\value) .symbol_(\diamond) .action_({ |value| amp = value / nHarmo ...
-
... f it ( w = Window.new; w.front; // comment this to copy offscreen window w.view.background_(Color.white); w.drawHook = { Pen.translate(100, 100); 10.do{ // set the Color Pen.color = Color.blue(rrand(0.0, 1), rrand(0.0, 0.5)); Pen.addWedge(( ...
-
... ach vector ( w= Window("k-means plot", Rect(100, 100, 640, 480), false); w.view.background= Color.black; w.drawFunc= { var colors= {|i| Color.hsv(i/a.k, 1, 1)}.dup(a.k); b.do{|vec, i| Pen.fillColor= colors[a.classifications[i]]; Pen.fillRec ...
-
... onds is passed in as a parameter. For example, use this to launch and stop some background action like audio file playback and such. Note, when doStopOnSeek is true, both onStop and onSeek will be called for each seek operation. . onSeek Us ...