-
... Item.new(scoreMenu, "Export as audio file..").action_({ UScore.current !! { |x| Dialog.savePanel({ |path| x.writeAudioFile( path ); }); }; }); SCMenuSeparator.new(scoreMenu); SCMenuItem.new(scoreMenu, "Add Event").action_({ UScoreEditorGUI. ...
-
... me top-level one-liners: Butz.addMiniMax; Butz.add('StartupDial', { StartupFile.dialog }); Butz.add('CLOSEALL', { Window.allWindows.do { |w| if (w != Butz.w) { w.close } } }); //////// ndefmixer - add to WinBounds call to Butz, make func la ...
-
... not write file:\n%\n".postf( this.class, path.quote ); }; }; if( path.isNil ) { Dialog.savePanel( { |pth| path = pth; path = path.replaceExtension( "wfspath" ); writeFunc.value; } ); } { writeFunc.value; }; } read { |path, action| // return ...
-
... { Event.default.parent.associationsDo(_.postln); }, ['system', 'post path'], { Dialog.getPaths{|paths| paths.do{|x| x.postln}}; }, ['system', 'post specs'], { Spec.specs.keysValuesDo{|key, val| if(val.class==ControlSpec, {[key, val].postln ...
-
... 220116 //replace FlowLayout with Layout and fix background colors //change from Dialog to FileDialog to better handle folders //folder selection now remember last location //progressbar now wrap around when loop is on //--changes171223: //r ...
-
... f(val>0, { this.read(soundfiles[val-1].path); }); }; readButton.action= {|view| Dialog.openPanel({|path| filePopup.items= filePopup.items.put(0, path.basename); filePopup.value= 0; this.read(path); }); }; vZoomSlider.action= {|view| waveVie ...
-
... ); // Writing your own blocks (to UserLib), then removing them again without a dialog. ~radTestRemoveUserBlock = {|key| var lib = Radicles.getLib("UserLib"); SynthFile.remove(\block, key, false, nil, lib, false); SpecFile.remove(\block, ke ...
-
... %: sorry, no preset present.\n".postf(proxy) } }; /* // two snapModes: NTMI.snapDialog = true; // open dialog(s) NTMI.snapDialog = nil; // default, saves with datestamp */ ///// add a preset on the fly while playing MFdef(\snapshot1).add(\g ...
-
... bufferByDir bufferCount bufferInfo bufferPaths cue cueAll cueDir defaultPath dirDialog dirTags fileNames fileNumChannels free freeAll freeAt freeAtAll get getFile getFromPath getGlobVar getGlobVarArr getPath globVarArray pathToTag postWin r ...
-
... l('nk2', "*trol2"); n.resetActions; ~nrBands = 8; ~nrLights = 8; ~lowBand = 50; Dialog.openPanel( {|path| { ~buf = Buffer.readChannel(s, path, channels:[0]); s.sync; SynthDef(\band, {|frlow, frhi, id| var in, filter, amplitude; in = PlayBuf ...