-
... Cancel Solo main_cancel_solo { a.sendMsg("Main/cancel-solo") } // Close Current Dialog main_close_current_dialog { a.sendMsg("Main/close-current-dialog") } // Duplicate Tracks/Busses... main_duplicate_routes { a.sendMsg("Main/duplicate-rout ...
-
... ock = TempoClock.new; (GUI.id == \cocoa).if({ (argsoundfilepath.isNil).if({ GUI.dialog.getPaths({arg paths; argsoundfilepath = paths[0]; this.soundfile_(argsoundfilepath, argFormatOut, argstarttime, argoutbus, argamp, argxywz, argenv)}, {"c ...
-
... tton() .states_([["Load"]]) .action_({ |but| fork({ var loadCond = Condition(); Dialog.openPanel({ |path| audition.loadSoundfile(path, loadCond); }); loadCond.wait; }, AppClock ) }); fileTxt = StaticText(); diffRttChk = CheckBox() .action_( ...
-
... = [false, false]; } test { |server, doAtStart, doWhenCanceled, conf| // gives a dialog first var def, synth; server = server ? Server.default; //def = WFSSynthDef( 'linear_blip', conf ); //def.load( server ); def = 'linear_blip'; synth = WF ...
-
... + 12), 1, 45, 12 ) ) .label_( "bounce" ) .border_( 1 ) .radius_( 2 ) .action_({ Dialog.savePanel( { |path| chain.bounce( chain.units.indexOf( unit ), path ); }); }).resize_(3); }; }; unit.addDependant( unitInitFunc ); currentUMaps = unit.ge ...
-
... ] ).action_({ sources.get[currentSource].stream.valueAction_(false); this.prFileDialog(sources.get[currentSource].file); }); bLoad.visible_(false); bStream = Button(win, Rect(83, 50, 79, 20), "Stream") .focusColor_(palette.color('midlight', ...
-
... utton.states = [["save as", fontColor, saveButtonColor]]; saveButton.action = { Dialog.savePanel({ arg path; File(path, "w").write(varGui.saveData.asCompileString).close; },{ }) } }{ playerView.decorator.shift(globalButtonWidth + decoratorG ...
-
... lse. 6.) Save and load A VarGui's slider state can be saved via save button and dialog. Loading is straightforward with Synths. You just have to give the correct path and synth arg (which maybe has to be an array). // change slider position ...
-
... + 4 + 12 + 4 + 12), 1, 45, 12 ) ) .label_( "bounce" ) .radius_( 2 ) .action_({ Dialog.savePanel( { |path| chain.bounce( chain.units.indexOf( unit ), path ); }); }).resize_(3); }; } { if( chain.canRemoveAt( i ) ) { min = SmoothButton( comp, ...
-
... ws[ \genWindow ], 80@18 ) .extrude_(false) .label_( [ "generate" ] ) .action_({ Dialog.savePanel({ |path| { vws[ \genWindow ].name = "danstowel (generating)"; }.defer; path = path.removeExtension; PartConvBuffer.convertIRFileMulti( vws[ \va ...