-
... ounds directory s.boot; ( a= RedSampler (s); p= PathName ( "sounds" ).deepFiles.select{ |x| var sf= SoundFile .openRead(x.fullPath); if(sf.notNil, { sf.close; true ; }, { false ; }); }; p.do{ |x| var sf= SoundFile (x.fullPath); var len= if( ...
-
... is.allControlNames.collect({ |name| var changedSpec; changedSpec = changedSpecs.select({ |item| item[0].asSymbol == name.name.asSymbol; }).first ? []; [ name.name, changedSpec[1] ? 0.min(name.defaultValue), changedSpec[2] ? 1.max(name.defau ...
-
... nit| var ins, outs, mix; ins = unit.audioIns; outs = unit.audioOuts; mix = outs.select({ |item| unit.keys.includes( unit.getIOKey( \out, \audio, item, "lvl" ) ) }); ^[ ins, outs, mix ]; } getHeight { |units, margin, gap| ^units.collect({ |u ...
-
... 1. To make sure your icontrols uses the default numbers, get the iControls app, select mapping "user defined", then the controller number below will match. They are different from the ones given in the linux-based desc file "icon-icontrols" ...
-
... ectList; // default width of number boxes var numberBoxWidth = 45; // currently selected object (name of object as symbol) var selectedObject; // List of DIMPLE attributes which are monitored with the GUI // initialized in init() var attrib ...
-
... ; c.free(false); }); } search { arg v; var temp; v.isNil.if({ ^nil }); channels.select({ arg c; c.notNil }).do({ arg c; temp = c.search(v); // returns socket object or nil temp.notNil.if({ ^temp }); }); ^nil } resetAll { this.init(src); // ...
-
... xt editing, shortcuts, running and stopping code -> See Language Menu: Evaluate selection Stop Help - Writing code that does what you want -- syntax, logic, testing, ... this takes some time ... - Combining stuff into setups -- write or fin ...
-
EventListPlayerGui : AbstractPlayerGui { var tg, zoomCalc, rs, hitAreas, selected, mouseDownPoint; var manager; guiBody { arg parent, bounds; // zoom control if top // test buttons to click each one ToggleButton(parent, "debug", { model.ver ...
-
... ame| ^this.isSlotActive(slotName).if({ var value = this.keysValuesAt(slotName) .select{|i| i[0] == paramName }; if(value.isNil, { "Chain: % is nil".format(paramName).warn }, { value.flatten[1] }); }); } // @TODO does not work if slotNames i ...
-
... nList = functionList.put(index, time-value); }); }; functionList = functionList.select({ arg i; i.notNil }); }; } plot { arg timeUnitLength = 70; var plotWindow, plotUserView, currentForLine, currentForDots, orderedList; var makeLine, makeD ...