-
... roxyPreset { postSettings { Document(proxy.key ++ ".pxpreset.scd", this.settingsString); } openSettingsFile { var foundfile = this.storePath.pathMatch.first; if (foundfile.notNil) { Document.open(foundfile); } { "%: no file at storePath, pu ...
-
CmdString { var <>cmdSymbol, <>args, <>cmdString; var <>comma = ", "; *new { arg cmdSymbol ... args; ^super.newCopyArgs(cmdSymbol, args).init } init { var firstWord; var numArgs; args = args.reject({ arg item, i; item == nil }); // convert ...
-
... esde el inicio. saveState { |path, fileName| var archivo, exito = false, state, string, extension; state = Dictionary.newFrom(this.oscRecievedMessages); string = state.getPairs.collect({ |item| item.asString }); extension = ".spatch"; if (p ...
-
... , fullScreen.width/2, halfHeight-winBorder].asRect; ^rect; } *warnQuestion {arg string, yesfunc, nofunc; var win, text, button1, button2; win = Window.new("WARNING", Rect(0,0,300,100).center_( Window.availableBounds.center )); text = Static ...
-
... A 02110-1301, USA. */ +VarGui { checkSingleSynthInput { |synth| case { [Symbol, String].any(synth.isKindOf(_)) } { SynthDescLib.global[synth.asSymbol].isNil.if { SimpleInitError("Synth given as " ++ synth.class.asString ++ " " ++ synth.asSt ...
-
... f| bufLoadCond.test_(true).signal; postf("soundfile loaded:\n\t%\n", buf.path.asString); } ) }); fork({ block({ |break| var currentlyPlaying; server.sync; currentlyPlaying = soundfileSynth.isRunning; if(currentlyPlaying, { soundfileSynth.re ...
-
... }; protect { PR(\mix16Touch).clone { ~uid = nil; ~chan = nil; // jeez. asPaddedString isn't core. OK. fine. whatever. ~padString = { |string, size, padWithChar($0)| string = string.asString; // if it's, say, a number as below if(string.siz ...
-
... .postln; tooltipWindow.bounds = Rect(x, y, text.size * 8 + 20, 20); tooltipText.string = text; tooltipWindow.front; }, { "Creating new tooltip window...".postln; tooltipWindow = Window("Tooltip", Rect(x, y, text.size * 8 + 20, 20), resizabl ...
-
... ateStatus; if(statusRect.notNil) { statusText = StaticText(parent, statusRect) .string_(settings.getFFTLabel) .align_(\center); }; ^popup; } updateStatus { if(statusText.notNil) { { statusText.string_(settings.getFFTLabel); }.defer; }; } ge ...
-
... ) ); this.onClose_( FunctionList() .addFunc({ this.free; }) ); thisStates = [ ( string: "I", color: Color.grey, fontColor: Color.black ), ( string: "II", color: Color.grey, fontColor: Color.black ), ( string: "III", color: Color.grey, fontC ...