-
... , club, head, distance, posA, posB; var m1, m2t, out; // get heads head = parts.select{|item|item.classID == 1}.first; // get clubs clubs = parts.select{|item|item.classID == 0}; // compute distance # posA, posB = parts.collect{|p| p.pos[0. ...
-
... d in a dictionary. There are 8 different types of synthesized sound that can be selected, and the user can also write his/her own synthesis using code in a special coding window. The nodes can also contain sound samples that are triggered w ...
-
... EQuiParams(); } // default vals init {|intarget, inparams, inprefix, insr| var selected = -1; var dragY; target = intarget; prefix = inprefix; if(inparams.notNil, { params = inparams; target.set(*params.asArgsArray(prefix)); // set target ...
-
... start + 5, start + 5 + 20) }; var cands = strings.collect { |str| str.split($ ).select { |st| st.size > 7 } }.flatten(1); cands.select(_.every("1234567890.".includes(_))); }; // q.getMyIPs; }); // q.myIPs = OSCMon.getMyIPs; NetAddr.broadcas ...
-
... nits.at(unit.identityHash) ? [] } toInlet { arg inlet; ^this.toUnit(inlet.unit).select({ arg cable; cable.inlet === inlet }) } fromOutlet { arg outlet; ^this.fromUnit(outlet.unit).select({ arg cable; cable.outlet === outlet }) } }
-
/* FILENAME: Purno DESCRIPTION: Pattern implementation of an urn based random selection principle from a list. AUTHOR: Marinus Klaassen (2012, 2021Q3) EXAMPLE: */ Purno : ListPattern { *new { arg list, repeats=1; ^super.new(list, repeats); ...
-
... int = false| ^this.new1( \kr, 0, endPoint ); } *getMultiControls { |type = 'i', selector = 'ar'| ^32.collect({ |i| this.getControl( \kr, this.getControlName( type, selector, i ), "bus", i); }); } *getMultiIndex { ^\u_index.ir(0); } *new1 { ...
-
... int = false| ^this.new1( \kr, 0, endPoint ); } *getMultiControls { |type = 'i', selector = 'ar'| ^32.collect({ |i| this.getControl( \kr, this.getControlName( type, selector, i ), "bus", i); }); } *getMultiIndex { ^\u_index.ir(0); } *new1 { ...
-
... == 262144 }, { if(nv.string.interpret.class == Array and:{ nv.string.interpret.select(_.isNumber).size == mSlider.size }, { nv.doAction }) }) }) .focusColor_(Color.green) ; activeTextB = Button(parent, Rect(thisXY.x+numVal.bounds.width-8, ...
-
... ii ]; if( \TuningInfo.asClass.notNil ) { tunings = \TuningInfo.asClass.tunings.select({ |item| item.tuning.size == ii }).keys.asArray.sort; } { tunings = Tuning.all.parent.select({ |item| item.tuning.size == ii }).keys.asArray.sort; }; sca ...