-
... n (0.0, 1.0, 0.1, inf ); c = a.asStream.nextN(500); w = Window .new( "Pbrown" , Rect (10, 10, 540, 800)); // plot the values c.plot(bounds: Rect (10, 10, 520, 380), discrete: true , parent: w); // a histogram of the values c.histo(500).plot ...
-
... e("Courier New") ? Font.defaultSansFace, 10); bounds !? { thisBounds = bounds.asRect }; if(parent.isNil) { window = Window("shortcut editor:"+name, thisBounds ?? { thisBounds = Rect( Window.screenBounds.width-600/2, Window.screenBounds.heig ...
-
... : 0.0 ) }.dup(board.numChannels); //--window var win= Window("fft plot widget", Rect(1000, 1000, 512, 338));//changed by kh to be top right; var fs= "Frequency (Hz)"; var as= "Amplitude (uV)"; win.view.minSize= Size(502, 145); win.backgroun ...
-
... licenses/>. It is possible to add more type instances by adding the functions directly to the dict from the initClass function of the class that one wants to make an instance of some type class. Memory tests: ~consume = { |xs| 0.01.wait; "p ...
-
... ethods Instance Methods . makeWindow As simple as possible. Arguments: bounds A Rect that defines the position and size of the window. rate A Float for changing playback rate of animated GIFs. E.g. 0.5 will play at half speed. interpolation ...
-
... 1, 2); ~setParams.value(1, 3, 4); ~free.value; ////////////////////////// RECT 1 ( SynthDef(\rect, {|freq = 0.5, modFreq = 0.8, amp = 1, offset = 0.6| var src = GRectangle.gr(SinOsc.kr(freq, 0, amp, offset), SinOsc.kr ...
-
... Methods *new (parent, bounds) parent - The parent view. bounds - An instance of Rect , or a Point indicating width@height. ( w = Window ( "NumberBox Example" , Rect (100, 500, 400, 120)); b = NumberBox (w, Rect (150, 10, 100, 20)); b.value ...
-
... scope.xZoom = 16; }, scopeSize@scopeSize); /* freqScope = PlusFreqScope(parent, Rect(0, 0, scopeSize, scopeSize)); freqScope.inBus = model.master.bus.index; freqScope.dbRange = 18; freqScope.freqMode = 1; freqScope.active = true; */ }); par ...
-
... ger, and anything else as code on an EZText. First examples: w = Window("test", Rect(20, 820, 400, 100)).front; w.addFlowLayout; ~pv = ParamView(w, Rect(20, 20, 360, 20)); ~pv2 = ParamView(w, Rect(20, 20, 360, 40)); // not working properly ...
-
... eViewController; *initClass { StartUp.defer({ DrawIcon.drawFuncs.put( \lock, { |rect| var size = rect.width.min( rect.height ) * 0.8; var radius = size/6; var corners = [ -1 @ 0, -1 @ -2, 1 @ -2, 1 @ 0 ] * radius; Pen.use({ Pen.translate( * ...