-
... em{ var <data; *new{ |data| ^super.new.init( data ); } init{ |dat| data = dat ? Array.fill( 5, {DynamicScaleData.new} ); } test{ var maxscale = 0; var minscale = 100000; data.do{ |it,i| it.test; if ( maxscale < it.scale, { maxscale = it.sca ...
-
... s = numChan; spec = this.parseArgs(z); } parseArgs { // turn argument list into array of parameter arrays arg ... z; // argument list; may or may not be wrapped in an array var oneSpec, allSpecs; z = z.flat; // remove all inner array wrappi ...
-
... .triangulatePoints; // reduce triplets, call this method again with connections array triplets !? { this.connectTriplets_(triplets) }; statusTxt.string_(""); }; }, AppClock); }) .states_([["Triangulation"]]) .maxHeight_(25) ; seqBut = Butto ...
-
... ^this } dtor { this.free } makeInitArgs { arg ar; var out; ar.notNil.if({ out = Array.new; ar.pairsDo({ |name, value| if(#[\freq, \freqlag, \gate, \t_gate, \out, \outbus].includes(name.asSymbol).not // Buffers are 'noncontrol', per crucial- ...
-
... right of this brick if(matrix.cellIsInsideMatrix(part.x+1, part.y)) { if(matrix.array[part.y][part.x+1].notNil) { ^this }; } } }; matrix.deleteBrickCells(this); x = x+1; } goLeft { |matrix| // check if we can go left at all this.getParts.do ...
-
... rns the Fb1_ODEintdef instance of the Symbol key if it exists. *keys Returns an array of all keys of currently stored Fb1_ODEintdefs. *postAll Posts all keys of currently stored Fb1_ODEintdefs. *remove (key) Removes the Fb1_ODEintdef of the ...
-
... flop.collect(_.join), strings, stepForward, doc, pos, method; meters = meters.asArray; strings = phrases.collect { |phrase, i| "/%.% = %\"\";".format(key, phrase, meters.wrapAt(i) ?? { "" }) }; phrases.do { |phrase, i| \chucklibLiveCode.eva ...
-
... ring }; // if available is accessed by numbers, available could also just be an array? available = IdentityDictionary.new; rawDevList.do { |it, i| available.put(i, HIDInfo.new( *it )) }; "HID: found % devices.\n".postf( rawDevList.size ); ^ ...
-
... |unit, key, umapdef| unit.isKindOf( UPattern ).not && { [ Point, SimpleNumber, Array ].any({ |class| unit.getDefault( key ).isKindOf( class ) }) && { UAdaptSpec().canAdapt( unit.getSpec( key ) ) } }; }) .category_( 'pattern_selection' );
-
... menus; audio only is relevant here, but control is supported // index of output array has to correspond to bus number; // therefore, multichannel buses are expanded to "bus", "bus.1", "bus.2" etc. arg server, rate = \audio; var hiBus, lastB ...