-
... .new; // name, countFunc, openFunc AllGui.add(\Karlo, { rrand(1, 5).postln }, { Window("Karlo!").front }); AllGui.new; // protect against closing a.parent.userCanClose_(false); // osx: add a menu item to "Library" Menu: CocoaMenuItem.add([" ...
-
... play': // trace indicates all events with delta = 0 (maxNull = 128) in the post window // Pseq("ab", inf).trace.symplay // ATTENTION: with Psym the example leads to a SC hang ! // Psym(Pseq("ab", inf), currentEnvironment).trace.play )
-
... ons PER segment // use ScatterView in MathLib to show interpolated points ( w = Window (bounds: Rect (40, 40, 800, 800)).front; a = ScatterView (w, Rect (10, 10, 760, 760),b.interpolate(20), ControlSpec (0.0,5.0), ControlSpec (0.0,5.0)); a. ...
-
... tScoring { scoreManager = ChordtrisScoreManager.new; } initShutdown { chordtris.window.onClose_{ updateTask.stop; soundModule.stopMusic; chordtris.setPauseMenuItemEnabled(false); chordtris.setResumeMenuItemEnabled(false); chordtris.unregist ...
-
... hannels; var stereoButt, monoButt, preRecButt; var <bufferPoolNum; var soundFileWindowsList, ram, ramview, fileramview, fileramarray; var cmdPeriodFunc; var txtv, ram; //, loadBufTask; var ampslider, ampAnalyserSynth, responder, vuview, amp ...
-
... if(setting.isNil, {Point(110, 250)}, {setting[1]}); xiigui = nil; // not using window server class here params = if(setting.isNil, {[0,0,1]}, {setting[2]}); win = GUI.window.new("- basic music theory -", Rect(point.x, point.y, bounds.width ...
-
... ltWidth+4*num); height= 8+RedGUICVSlider.defaultHeight; if(parent.isNil, { win= Window( redEffectModule.class.name, Rect(position.x, position.y, width, height), false ); parent= win; win.front; CmdPeriod.doOnce({this.close}); }); ^View(pare ...
-
... amp, i; this.addCosine(2*(i+1), amp, phases @@ i) }); this.overWrite(Signal.hannWindow(this.size) * this) } packetFill2 { arg list; this.fill(0.0); list.do({ arg item, i; var harm, amp, phase; # harm, amp, phase = item; this.addCosine(2*har ...
-
... )) } }; rect = Rect(0, 0, 1024, 80); } *makeWin { |message="Shout this!"| win = Window("Shout'er", rect).front; win.alpha_(0.7); win.view.background_(Color.clear); win.alwaysOnTop_(true); txtView = TextView(win, win.bounds.moveTo(0,0)); txt ...
-
... s set to true, my own changes are passed into the action function (e.g. the log window) logAll_(bool) if logAll is true, I can see all messages that are coming in, even if they do not effect me (listeningKeys != \all). This is only allowed ...