-
... b, x; var closeFunc; x = sndFile; f = this.performSndFile( \asSoundFile ); w = Window(f.path, Rect(200, 200, 850, 400), scroll: false); a = SoundFileView.new(w, w.view.bounds); a.resize_(5); a.soundfile = f; a.read(0, f.numFrames); a.elast ...
-
... endOnNBox,startOffNBox,endOffNBox, startOnN, startOffN,endOnN, endOffN; //window w = Window("Control Panel", Rect.new(470,300,502,235),resizable:true, border:true) .background_(Color.grey(0.05)).front .alwaysOnTop = true; w.vi ...
-
... } Try this after you have added the class to the class library: ( GUI.cocoa; w=Window.new.front; v=MyWidget(w, Rect(10,20,200,20)).valueAction_(0.5); q=MyWidget(w, Rect(10,60,200,20)).valueAction_(0.3); ) source: /usr/local/share/SuperColl ...
-
... uns twice - why? x = 0; j = JITView(123); // now type "x = x + 1" // -> 2 // 2. Window resize by code loops when userview with drawfunc is present. m = MView(123); m.drawFunc.disable(\all); m.parent.bounds_(Rect(100, 100, 150, 24)); // cras ...
-
... (tr); }; wi = bounds.width; if( parent.isNil ){ parent = Window("Pad Generator",bounds); parent.front; }; mhb = { |row=0,msg("")| Button(pa,Rect(wi-he,he*(dr+row),he,he)+Rect(2,2,-4,-4)) ...
-
... randChromFunc, fitnessFunc, mutationFunc); gaInstance.mutationProb = 0.2; win = Window .new( "TSP" , Rect (300, 300, 500, 500)); view = UserView (win, win.view.bounds).background_( Color .black) .drawFunc_ ({ var fittest = gaInstance.genePo ...
-
... #bigfont, midfont, smallfont = [16, 14, 12].collect(Font("Helvetica", _)); w = Window("Tuning Editor", Rect(300,20, 1120, 755), false); w.view.decorator = FlowLayout(w.bounds.moveTo(2, 2)); w.view.keyDownAction = { |topview, char| var play ...
-
... s.left + 0.5, bounds.top + 0.5, bounds.width, bounds.height); if(w.isNil, { w = Window("BoxMatrix", bounds.resizeBy(40,40).moveTo(10,250) ); w.front }); bounds = Rect(bounds.left+1, bounds.top+1, bounds.width, bounds.height); view = UserVie ...
-
... n element of a particular basis for a function space. See Basis function . beam Window in the spatial domain. component normalisation Spherical harmonic coefficient normalisation convention. E.g., maxN, N3D, SN3D. See normalisation . compon ...
-
... stored by the Ndef's name in NdefPreset.all z = NdefPreset ( Ndef ( \a )); w = Window("NdefPreset test", Rect(200, 200, 420, 250)).front; w.addFlowLayout; // a gui for the NdefPreset g = ProxyPresetGui (z, parent: w); // and one for the Nd ...