-
... ; } prShowNewInstDialog {|argOptionalBound| var okButton; var tempWin = Window("Select Instrument", argOptionalBound ? Rect(200, 200, 200, 130), resizable: false); var tempMenu = PopUpMenu(tempWin, Rect(10, 10, 180, 20)) .items_(Hadron.plug ...
-
... r <showHours = false; //set automatically at load var <>updateTime = 0.1; var isSelectingNewStartTime = false; //changes to true when setting soundfileview's cursor; used to prevent updating then var <>requireShiftSpaceForPause = false; var ...
-
... server, startPos = 0| if( which.notNil ) { U.formatArgs( (args ? []).clump(2) .select({ |arr| which.includes( arr[0] ) }).flatten(1), server, startPos ) } { []; } }) .envPut( \getInitArgsFor, { |evt, defName, args, server, startPos = 0| va ...
-
... t = false; defs = UMapDef.loadAllFromDefaultDirectory .collect(_.synthDef).flat.select(_.notNil); UMapDef.loadOnInit = true; ULib.servers.do({ |srv| if( srv.class == LoadBalancer ) { if( srv.servers[0].isLocal ) { defs.do(_.justWriteDefFile ...
-
... } prPrepareUnit { |unit| var prepareThese; prepareThese = unit.valuesToPrepare.select({ |item| item.isKindOf( UMap ); }); prepareThese.do({ |umap| if( umap.subDef.isKindOf( UPatDef ).not ) { this.prPrepareUnit( umap ); }; }); prepareThese. ...
-
... t = false; defs = UMapDef.loadAllFromDefaultDirectory .collect(_.synthDef).flat.select(_.notNil); UMapDef.loadOnInit = true; ULib.servers.do({ |srv| if( srv.class == LoadBalancer ) { if( srv.servers[0].isLocal ) { defs.do(_.justWriteDefFile ...
-
... ") } size { ^this.notes.size; } *choose { |size = 16| var loop = this.chooseFromSelected { |x| (x.size == size) }; if(loop.isNil) { "No known chord with size %".format(size).warn }; ^loop } *chooseFromSelected { |selectFunc| selectFunc = se ...
-
... .adapt(calibrateWin); if(SGUI.currentTheme!=\dark, { calibrateWin.view.children.select{|v| v.isKindOf(Slider)}.do{|v| v.background= Color.grey(0.7725, 0.5); }; }); calibrateWin.front; CmdPeriod.doOnce({calibrateWin.close}); calibrateWin.vie ...
-
... | if (ev.type == \set) { // filter just the params we are interested in ev = ev.select{ |val, key| k.paramsToRecord.includes(key) }; // rescale if rescale is on ev = k.rescaleEvent(ev); // map to the objects out specs ev = ev.collect{ |val, ...
-
... ct({ |pair| if(pair[0] != pair[1], { pair[0].asInteger }, { nil }) }); if(margs.select({ |i| i.notNil }).size > 0, { this.midiConnect(uid: margs[0], chan: margs[1], num: margs[2], slot: v[0]); }, { this.midiConnect(slot: v[0]); }) }, 0, { t ...