-
... uffer, server side a = Array.fill(1024, { 256 }); // array, language side w = Window("Draw your waveform!", Rect(100, 100, 1024, 512)).front; u = UserView(w, w.view.bounds); // function that changes the array and the buffer, and makes ...
-
... 200, 24) }; } makeParent { |inparent, inname| parent = inparent ?? { inparent = Window(inname ? this.class.name, bounds).front; // when in its own window, move to top left bounds = bounds.moveTo(0,0); inparent; }; } makeViews { uv = UserVie ...
-
... llect{|x| a.filter(x)}; [~squarewave, ~smoothed].plot; //gui example ( var win= Window(); var flt= RedSmoothUD(0.95, 0.05, 0.5); var numberUp, numberDown, slider, plot, fifo; numberUp= NumberBox(win, Rect(10, 10, 90, 20)); numberUp.value= f ...
-
... tSampleRate, board.bufferSize ); }); }; ~makeBandpassFilter.value('5-50'); win= Window("fft gui example userview", Rect(100, 100, width, height)).front; img= Image.color(width, fft.fftSize2+1, Color.black).interpolation_(\fast); win.drawFun ...
-
... ted action (and globalAction). Use a ActionQSubMenu to create a sub-menu. ( w = Window.new("ActionMenu Examples").front; // action arguments are |val,modifier,buttonNum| w.flow{arg w; var b; ActionQMenu(w,Rect(0,0,80,25),"Vocalize",[ \sing ...
-
... x.stop; // PHSusePlayer doesn't control HS - HS synth still running, see server window y.free; // PHSplayer controls HS - this also stops HS synth x.free; ⧉ ✔ helpfile source: /tmp/scquark_hs/miSCellaneous_lib/HelpSource/Classes/PHSusePlaye ...
-
... ton . prGetColor . prUpdateFont Inherited instance methods Examples ( var win = Window.new( "", Rect(0, 400, 400, 100) ); ~console = GMConsole(); ~console.postMsg("Sneaky message"); ~console.postMsg("Hello World !"); // Nest it inside a Lay ...
-
... 200, 24) }; } makeParent { |inparent, inname| parent = inparent ?? { inparent = Window(inname ? this.class.name, bounds).front; // when in its own window, move to top left bounds = bounds.moveTo(0,0); inparent; }; } makeViews { uv = UserVie ...
-
... world=ssWorld; // drawFunc } draw { // return a function to be evaluated inside window.userView.drawFunc ^{ ///////////////////////////////////////////////////////////////// // draw static elements Pen.strokeColor=Color.blue; Pen.alpha=1; / ...
-
... for this module. . gui Create a RedEffectModuleGUI . Arguments: parent Can be a Window or a View . position A Point . . synth The internal effect node. Inherited instance methods Examples a= RedEfxBit8(0); c= {SinOsc.ar([400, 404], 0, 0.25) ...