-
... loseAll; q.cap.win = Window("capture caps").front; Button(q.cap.win, (100@30).asRect) .states_([["getRange"], ["capturing..."]]) .action_({ q.cap.getRange(12) }); INSIGHTS SO FAR: *** frame rate seems rather constant at 0.04 - not very fast ...
-
... waitForBoot({ /* m.server.boot; */ // m.server.scope(q.numChans).window.bounds_(Rect(700, 5, 261, 250)); /////////// HELPER NDEFS /////////////////////// "loading HELPERS...".inform; m.loadFiles("helperNdefs", ["amplitudeTracker"]); /////// ...
-
... padding. Signal .welchWindow(1024).plot; Signal .welchWindow(1024, 512).plot; *rectWindow(size) Fill a Signal of the given size with a rectangular window. size - the number of samples in the Signal. pad - the number of samples of the size ...
-
... Marinus Klaassen (2012, 2021Q3) EXAMPLE: w = Window().front; a = SCMButtonAdd(w,Rect(0,0,80,80)).action_({ "release function".postln; }); */ SCMButtonAdd : UserView { var pressed=false, strokeColor, highLightColor; *new { |parent, bounds| ^ ...
-
... svg is an SVG file created with Adobe Illustrator CS2 as SVG1.1 // containing a rect, a line, a text ("test svg file") and a filled circle f.objects; f.postTree; "" ; // posts the tree of objects f.plot; // plots the file in a window ( work ...
-
... ist, methodlist, lookUp; this.findTestClasses; w = Window.new("[UnitTest GUI]", Rect(100, 100, 415, 615), resizable: false); w.addFlowLayout; StaticText(w, Rect(0,0, 400, 40)) .string_("Select a category, then a test method, and press Enter ...
-
... }, gui: { arg layout; var l; l = layout ?? {PageLayout(~source.instr.asString, Rect(0, 0, 500, 600))}; ~source.gui(l); if(layout.isNil, { l.resizeToFit }) } ));
-
... value.wait; }}); // Grain display window = Window.new("Grain display", Rect(200, 300, 740, 300)); fileView = SoundFileView().readFile(soundFile).gridOn_(false); grainView = UserView().resize_(5); window.layout = StackLayou ...
-
... rc); }); Pen .fillColor = Color .blue; Pen .strokeColor = Color .green; Pen .addRect( Rect (x-r+rrand(-50.0, 50.0), y-r+rrand(-50.0, 50.0), 2*r, 2*r)); Pen .stroke; }; bkgrnd = { arg perc, dict; image.drawInRect( Rect (0, 0, 500, 500), imag ...
-
... v[0], v[1])*size; }; } draw {|dotSize= 5| renderedPoints.do{|p, i| Pen.fillOval(Rect.aboutPoint(p, vectors[i][2]+1*dotSize, vectors[i][2]+1*dotSize)); }; } drawOutlines { outlines.do{|o| Pen.line(renderedPoints[o[0]], renderedPoints[o[1]]); ...