-
... 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 ...
-
... contained in the snapshot to its coresponding value in the snapshot. Arguments: dialog a Boolean denoting whether the snapshot name can be set in a dialog (default: false - the snapshot's name will be the current timestamp) Returns: this (C ...
-
... FileAutoComplete( "*.sc" ); // wildcards are supported To bring up an open-file dialog: Document .openAutoComplete Autocompletion will be integrated more tightly into the code editor. Summary: While editing code in an auto-complete code win ...
-
... %: 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 ...
-
... tance methods. Just pick any file to see all the parts of its path. /* ( GetFileDialog.new( { arg ok, path; var myPathName; if (ok, { myPathName = PathName.new(path); "New PathName object/ ".postc; myPathName.postln; "fileName only/ ".postc ...
-
... he next bar). Returns: this . save Save the Mx as a document (initiating a file dialog if there is no path yet) which should reproduce the current state of the Mx and all of its objects. Not all objects may support saving and loading, and a ...
-
... 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 ...
-
... "do nothing"}, { player.stop; player = nil; }); // Let user select files: Dialog.openPanel( okFunc: {arg pathList; pathList.do({arg path; bufferList.add(Buffer.readChannel(s, path, channels: [0])); displayFileName ...