-
... Boston, MA 02110-1301 USA */ CVCenter { classvar <all, nextCVKey, <cvWidgets, <window, <childViews, <tabs, <prefPane, swFlow, removeButs; classvar prefPaneBounds, tabsBounds; classvar <>midiMode, <>midiResolution, <>ctrlButtonBank, <>midiM ...
-
... dt - a number, function or stream for the wait time between random moves. ( w = Window ( "autorand" ).front; w.addFlowLayout; e = EZSlider (w, 300@20, \freq , \freq ); // the controller to randomize a = AutoRand (e, e.controlSpec, rd: 0.2, ...
-
... as ("<pxPresetNameHere>.addSettings(" + settings.asCompileString + ")") .newTextWindow(proxy.key ++ ".pxpreset.scd"); } storeDialog { |name, loc| // check before overwriting a setting? var w; loc = loc ?? {400@300}; if (name.isNil, { count ...
-
... ge(SInstruments.rootDir+/+"images/sStream-screenshot.png"), ]; //--gui var win= Window("sLauncher", Rect.aboutPoint(Window.availableBounds.center, size/2, size/2)); win.userCanClose= false; win.layout= VLayout( StaticText().string_("Click t ...
-
/* Test main window for multiple screen sizes, e.g.: Tdef(\guiTest).getHalo(\allExtents) remaining problem: in 4/3 ratio, the pads are very wide and the mviews not wide enough // test all these in a row: Tdef(\guiTest).set(\winExtent, nil). ...
-
... e.duration / freq).plot; }; ) // 1. inspecting effect of impulseAtt on timbre ( Window.closeAll; Pbind( \instrument, "ksbass", \dur, 1/4, \rel, 0.7, \ctranspose, -18, \amp, 0.5, \degree, Pseq([-2, -2, \rest, -2, 0, 1, 0, 2, 4, 1, 1, \rest, ...
-
... ,bounds,title, small=false; if(lay.isNil,{ masterLayout = lay = ResizeHeightFlowWindow (title ?? { model.asString.copyRange(0,50) }, Rect(0, 0, width1 + if(small, 10, width2 + 30), height)); iMadeMasterLayout = true; // now when I'm removed ...
-
... unds, title, small = false; if(lay.isNil,{ masterLayout = lay = ResizeHeightFlowWindow (title ?? { model.asString.copyRange(0,50) }, Rect(0, 0, width1 + if(small, 10, width2 + 30), height)); iMadeMasterLayout = true; // now when I'm removed ...
-
... } makeCurrent { |bool| if( bool == true ) { current = this } } front { view.findWindow.front } init { |parent, bounds| if( parent.notNil ) { bounds = bounds ?? { parent.bounds.moveTo(0,0).insetBy(4,4) }; } { bounds = bounds ? Rect( Window.s ...
-
... should be not nil. Note ( "G4" ); // -> will show as a name string in the post window (asString) Note ( "G4" ).asCompileString; // -> will show as a name string in the post window (asString) Note ( midi: 65 ); Note ( freq: 456 ).asCompileS ...