-
... ol; fileNames[key] = path; } } *findCurrentStartup { var startupPointsTo, stat, index, path; // the current startup file is the one symlinked to the extensions folder path = startupFilePath.escapeChar($ ); if(pathMatch(path).isEmpty) { curr ...
-
... OSSIA_Node) || (n.class.superclass == OSSIA_Base)) { // check if the node has a index var index, splitedName = n.name.split($.); index = splitedName[splitedName.size - 1].asInteger; // returns 0 if no index is found if ((index == 0)) { name ...
-
... hannels}); /*this.getInputs(\track).collect{|item| item.numChannels} .do{|item, index| sysChans[index] = item; };*/ mixTrackNames.do{|item| var spatialType; spatialType = space.flop[1][space.flop[0].indexOf(("space" ++ item.asString.capital ...
-
... ies = []; UMapDef.all !? { |all| all.keys.asArray.sort.do({ |key| var category, index, udef; udef = all[ key ]; if( filter.isNil or: { filter.value( udef ) == true }) { category = udef.category; index = categories.indexOf( category ); if( i ...
-
... ers; var routineSerial, routineGui; var matchArr, matchArrCopy, matchFunc, matchIndex; var matchArr2, matchArr2Copy, matchFunc2, matchIndex2; var lastArr= Array.newClear(16); var lastArr2= Array.newClear(16); //--gui var onButton; var plate ...
-
... t.value = argStepCount; stepCount = argStepCount; } addStep { |initVal = 0| var index = proxySteps.size; var newSliderStep = Slider() .orientation_(\vertical) .minHeight_(100) .value_() .action_({ |sender| proxySteps[index] = sender.value; ...
-
... / currently biases sharps. may use a mapping table later degree = ((scale.detectIndex { |x| absKey < x }) ?? { scale.size }) - 1; // degree index + octave offset + remaining semitones as 0.1 degree + (octave * scale.size) + (0.1 * (absKey - ...
-
... , hiBin) Creates a new PV_BinRange object. buffer - FFT buffer. loBin - low bin index of resulting range. hiBin - high bin index of resulting range. Examples ( s = Server .local; Server .default = s; s.boot; ) // frequencies are rounded to ...
-
... + ArrayedCollection { swapI { arg i, j; ^this.copy.swap(i,j) } remoteAtI { arg index; ^this.copy.removeAt(index) } addI { arg item; ^this.copy.add(item) } sortI { |f| ^this.copy.sort(f) } prependI { |item| ^[item]++this } takeN { |n| ^this ...
-
... e open source menu by its words ~radPick = {|words| var list = ~radMenuList.(), index; index = list !? {|l| l.items.indexOfEqual(words) }; if(index.notNil, { list.valueAction = index }, { ("menu has no " ++ words.cs).warn }); 0.3.wait; }; ~ ...