-
... on a specific frequency region of interest ( ~binfreqs = (300, 310 .. 400); w = Window.new.front; m = MultiSliderView(w,Rect(10,10,~binfreqs.size*13+2,100)); //default thumbWidth is 13 ~bus = Bus.control(s, ~binfreqs.size); x = { var sig, m ...
-
... }) } } ) }; r = q.makeRecursion; r.fSpawn(350,350); win = Window( "grow! (click to restart)", Rect(10, 10, 700, 700) ); win.onClose = { run = false; }; view = UserView(win, 700@700).drawFunc_({ r.fUpdate }).clearO ...
-
... setMinis, skipjack; posPoint = posPoint ? 400@400; // where to put the gui window w = Window.new("CloudGenMiniBuf", Rect.fromPoints(posPoint, (posPoint + (400@410)))).front; w.view.decorator_(FlowLayout(w.bounds.copy.moveTo(0, ...
-
... oftSet which knows lastVal, // softVol_ and softVol_ which knows lastVol: ( w = Window("softSet, softVol", Rect(500, 200, 400, 240)).front; w.view.addFlowLayout; NdefGui(Ndef(\test), 2, w); // can lose control if wiggled too fast EZSlider(w ...
-
... ce methods Examples ( s.waitForBoot({ // only needed if you are using sound w = Window.new.front; // store various kinds of objects in the drag source // a string source a = DragSource(w, Rect(10, 10, 150, 20)).align_(\center); a.object = " ...
-
... pec,gridOnX,gridOnY).init } init { var w; userView = userView ?? { UserView(w = Window.new.front,bounds ?? {w.bounds.moveTo(0,0)}) .resize_(5) .drawFunc_({ arg v; this.bounds = v.bounds; this.draw }); }; bounds = bounds ?? {userView.bounds} ...
-
... var beepers=Array2D.new(maxWidth + 1, maxHeight + 1); var go, total; w=Window("Confetti3", Rect(400, 300, z*(maxWidth+2), z*(maxHeight+2))).front; w.view.background_(Color.white); w.front; w.drawFunc = { for (1, maxHeight, ...
-
... = "/"; timestamp = Date.localtime.format("%d_%m_%Y_%H_%M_%S"); Platform.case( \windows, {dash = "\\"; } ); recPath = Radicles.soundFilePath ++ dash ++ "Record" ++ dash; if(recStates.isNil, { recStates = 0!(mixTrackNames.size-1) ++ [1] }); ...
-
... alse }) }); server.sync; // Call done action action.value(); } } gui{ var win = Window.new(name: "PolyBufGUI"); var preview = false; var bufNames = this.buffers.collect{|buf, bufIndex| PathName(buf.path).fileName -> bufIndex }.asDict; var t ...
-
... .view.isClosed.not }) { { view.refresh }.defer; }; } close { // close enclosing window view.view.getParents.last.findWindow.close; } front { // close enclosing window view.view.getParents.last.findWindow.front; } isClosed { ^view.view.isClo ...