-
/* a player that can switch between different players using a socket numChannels will cause all players played within the socket to automatically adapt : stereo mixed to mono, mono expanded to stereo */ PlayerSocket : AbstractPlayerProxy { ...
-
... width-400, Window.availableBounds.height, 400, 400); //x, y, w, h var palette= SGUI.palette((highlight: Color.grey(2/3, 0.5))); var numPlayers= 8; s.options.numWireBufs= s.options.numWireBufs.max(128); s.options.memSize= s.options.memSize.m ...
-
... and a little window to test that slider control works as intended // use 3 NdefGui to see changes on the sources q.pxwin = Window("sources", Rect(10,100, 400, 250)).front; q.pxwin.addFlowLayout; EZSlider(q.pxwin, 380@30, \sliderSet, [0, 1] ...
-
... '); // turn posting off MKtl('my2ndFerrari').trace(false); MKtl('my2ndFerrari').gui; // test group actions: MKtl('my2ndFerrari').elementAt(\bt).action = { |bt, grp| "group action:".postln; [bt.name, grp.name].postln; }; MKtl('my2ndFerrari') ...
-
... rm }); }); } noteOff {} active { ^(resp.size > 0) } //////////////// PRINTING & GUI SUPPORT //////////////// postStatus { // list all midi note nums & process names in the output window ("MIDI source: " ++ parent.channel.asString).postln; t ...
-
... rm }); }); } noteOff {} active { ^(resp.size > 0) } //////////////// PRINTING & GUI SUPPORT //////////////// postStatus { // list all midi note nums & process names in the output window ("MIDI source: " ++ parent.channel.asString).postln; t ...
-
... ass { makeViewFuncDict = ( 'button': { |parent, bounds, label = ""| label = MKtlGUI.splitLabel(label); MButtonView( parent, bounds.insetBy( MKtlGUI.margin ) ) .states_([[ label ],[ label , Color.black, Color.gray(0.33) ]]); }, 'slider': { | ...
-
... storage for MIDI data MIDIBufManager .new( nil , 0) => MBM .prNew(0); MBM (0).v.gui; // using a weird modal definition ModalSpec .new(#[0, 1, 4, 5, 7, 8, 11], 12, 2) => Mode ( \default ); TempoClock .default.tempo = 104/60; // chord forms M ...
-
... storage for MIDI data MIDIBufManager .new( nil , 0) => MBM .prNew(0); MBM (0).v.gui; // using a weird modal definition ModalSpec .new(#[0, 1, 4, 5, 7, 8, 11], 12, 2) => Mode ( \default ); TempoClock .default.tempo = 104/60; // chord forms M ...
-
... MIDI 3 4 > MIDI 4 ****/ /**** // EXAMPLES m = MKtl('captain', "captain-midi") m.gui; // Test outputs Tdef(\outTester, { loop{ var out = ['a', 'b', 'c', 'd'].choose; var val = rrand(0.0,1.0); "Setting output % to %".format(out, val).postln; ...