-
... } {0}}, rev:true)[1..size-1] } } } kreuzspiel { |ind| var res = Array.new; var kpop = { |ar, ind| var p1, p2; if ((ind > 0) && (ind < ar.size)) { p1 = ar[..ind-1]; p2 = ar[ind..]; p1[1..] ++ p2.last ++ p1.first ++ p2[..p2.size-2] } { ar }}; ...
-
... ollect(_.asString)); } }; while { mappings.isEmpty.not } { var input = mappings.pop(); var numChannels = 1; if (input.isString || input.isCollection.not) { input = [input]; }; if (input.collect(_[1..]).collect(_.asInteger).isSeries(1)) { nu ...
-
... to set var setter, parent, res; key = key.asCollection; setter = key.last; key.pop; if( key.size > 0 ) { parent = this.at( *key ); } { parent = this; }; if( parent.notNil ) { if( parent.isKindOf( U ) ) { if( parent.keys.includes( setter.as ...
-
... lSpec(-8, 8, 'lin', 0, 0); var ampLinesButtonLeft, ampLinesButtonRight, ampLinesPopup; var ampUsr, ampUsrAnim, ampUserView; var ampLfoDepthElement= SGUIelement(); var ampLfoDepthSpec= ControlSpec(0, 100, 'lin', 1, defaultAmpLfoDepth, "%"); ...
-
... om(method.selectors); while {toCheck.notEmpty && (i < 500)} { var sel = toCheck.pop(); if (sel.isKindOf(FunctionDef)) { toCheck.addAll(sel.selectors) } { if (sel.asSymbol.asClass.notNil) { classSelectorsList.add(sel) } { methodSelectorsList ...
-
... intCheckSet; var indices, track; key = key.asCollection; setter = key.last; key.pop; if( key.size > 0 ) { if( key.first.isNumber ) { parent = this.at( *key ); } { case { key.first.asString[0].toLower == $t } { track = key.first.asString[1.. ...
-
... { h <= max }.while{ h = this * n; result = result.add(h); n = n + 1; }; result.pop; h = result[0] ? nil; if (h.notNil, {^result}, {^nil}); } /* USAGE: a_prime.primeHarmonics(highest_harmonic) returns a nested array with all the harmonics u ...
-
... all to WsSlider and WsStaticText for label and value WsEZSlider : WsSlider {} WsPopUpMenu : WsWidget { *new { |wsWindow, bounds| ^super.new.add(wsWindow, bounds, \menu, sendNow: true); } // doesn't send to page, just inits the object *init ...
-
... nt.getPropertiesFor( \l ).size; cpc = item.asArray.size; } { out = out.add( out.pop ++ item ); cpc = cpc + item.asArray.size; } }; }); }; ^out; } addAll { |segmentsArray| segments = segments.addAll( segmentsArray.collect( _.asSVGPathSegment ...
-
... ynthNote event // value is synthdef name // env contains target and out keys // populate using a factory SY : VC { // inherits bindFact and free bindBP { |bp| bp.v[\event] = bp.v[\event].copy.putAll(( instrument: value, target: env[\target] ...