-
... ) .items_([]) .resize_(5) .background_(Color.grey(0.62)) .action_({ |lview| var index = lview.value; if (lview.items.isEmpty) { "no entries yet.".postln; } { lastLineSelected = listV.items[index]; if (filtering.not) { this.postInlined(index ...
-
... = GraphParser.new(graph) ; var label, next, str ; (labelArray.size-1).do({ arg index ; label = labelArray[index] ; next = labelArray[index+1] ; str = "e+"+label+rrand(minVal, maxVal).asString+next ; parser.parse(str) ; }) ; parser.parse("e ...
-
... r.addAll(string.asStrang) } find { |string, ignoreCase = false, offset = 0| var index = offset, last; var i0 = 0; string = string.asStrang; last = string.size - 1; if(ignoreCase) { Error("ignoreCase not yet implemented").throw }; while { in ...
-
... ht be embedded at next occasion. PL_PproxyNth : PL_Pattern { var <>listProxy, <>index, <>type, <>doWrap, <>cutItems; *new { |listProxy, index, type = 1, doWrap = true, cutItems = true, envir = \current| // type: repeats factor for objects o ...
-
... ors, velAvg, posAvg, nIdx; neighbors = Array.newClear(numBoids-1); nIdx = 0; // index for neighbors vec = RealVector3D.zero; // for rule 2 count = 1; // for rule 2 // get some averages posSum = posSum + thisBoid.pos; // sum the position vel ...
-
... ors, velAvg, posAvg, nIdx; neighbors = Array.newClear(numBoids-1); nIdx = 0; // index for neighbors vec = RealVector2D.zero; // for rule 2 count = 1; // for rule 2 // get some averages posSum = posSum + thisBoid.pos; // sum the position vel ...
-
... oTypes = (); Udef.all !? { |all| all.keys.asArray.sort.do({ |key| var category, index, udef; var ioType, categories; udef = all[ key ]; ioType = udef.ioType; category = udef.category; categories = ioTypes[ ioType ] ?? { [] }; index = catego ...
-
... ,20) ],\audio); Instr([\synths,\PMOsc,\rlpf],{ arg gate=0.0, freq=440,freq2=440,index=1.0, ffreqInterval=0,rq=0.4,env; var p,width; p=PMOsc.ar(freq,freq2,index,0); p=RLPF.ar(p,freq * ffreqInterval.midiratio,rq); Enveloper2.ar(p,gate,env) }, ...
-
... } }; }; ^nil } *findSynth { |synth| ^{ runningSynths.at(synth.defName.asSymbol).indexOf(synth)}.try } *allSynths { |defName| var outArray = []; if(defName.isNil) { runningSynths.keysValuesDo({ |key, array| if(array.notNil) { outArray = outA ...
-
... rBoxView, unitView, controlSpecView ,<proxyStepsMapped, sliders, currentSelectedIndex; *new { | parent, bounds | ^super.new(parent, bounds).init(); } editMode_ { |mode| numberBoxStepCount.visible = mode; popupMode.visible = mode; } stepCoun ...