-
... tem| if(inputArray.includes(item), { thisInputLabel = inputs.flop[1][inputArray.indexOf(item)]; if(thisInputLabel.isArray, {thisInputLabel = thisInputLabel.collect{|item| item.key}; }, { thisInputLabel = thisInputLabel.key;}); if(item != \m ...
-
... rces found, maybe not initialized.".format(this)); ^nil }; ^sources } *srcAt { |index = 0| var src, sources; this.checkIns; sources = this.sources; if (sources.notNil) { src = sources[index]; }; if (src.isNil) { inform("%: no src at index % ...
-
... n.isNumber } { if( in < types.size ) { ^types[ in.asInteger ]; } { "%:getType - index (%) out of range, using % instead\n" .format( this.class, in, types[0] ) .warn; ^types[0]; }; } { ^types[0]; }; } *getClipMode { |in| var modes; modes = t ...
-
... s.isNil, { recStates = 0!(mixTrackNames.size-1) ++ [1] }); recStates.do({|item, index| if(item == 1, { recTracks = recTracks.add(("space" ++ mixTrackNames[index].asString.capitalise).asSymbol); }); }); recBStoreArr = []; if(recInputArr.isNi ...
-
... super.interactionRect.height / super.values.size; }; super.values.do({ |value, index| if(super.polarity == \uni) { thisAlpha = value.linlin( super.min, super.max, thisMinAlpha, 1 ); } { if(value.abs == super.min) { thisAlpha = thisMinAlpha ...
-
... // Scott Carver, 2013, MIT License SatieQueryTree { var server, msg, <nodeIds, index; *get { |server, action| var node = RootNode(server); OSCFunc( { |msg| var snapshot = SatieQueryTree(server, msg); action.value(snapshot); }, '/g_queryTre ...
-
... system, <>length, <>theta, <>scale, <>noise, <>commands, <>preCommandAction, n, index; *new {|lsystem, length= 40, theta= 20, scale= 1, noise= 0| ^super.newCopyArgs(lsystem, length, theta, scale, noise).initRedLTurtle; } initRedLTurtle { co ...
-
TWindex triggered windex *kr(trig,array,normalize) When triggered, returns a random index value based on array as a list of probabilities. by default the list of probabilities should sum to 1.0, when the normalize flag is set to 1, the valu ...
-
... nes.add(gplane); ^gplane; } *gplanes {var resultArr, planeArr; planeArr = super.indexArr; planeArr.do{|item, index| if((item[1][0] == \gplane), { resultArr = resultArr.add(item); }); } ^resultArr; } *indexArr {var arr, result, aplaneArr; ar ...
-
... t, gap+mainView.bounds.top, width-gap, dragHeight)) .string_("MT(" ++ model.collIndex.asShortString ++ ")") // midi channel index .font_(this.class.font).align_(\center); // like mixingboard -- create them and index them, then place them dr ...