-
... ed as event pattern, lookBack given as pattern Ex.3a: lookBack indices given as array Ex.3b: lookBack indices given as Function Ex.3c: lookBack indices given as Pattern Ex.4a: loopFunc given as Function Ex.4b: loopFunc given as Pattern Ex.4 ...
-
... ome to play // Linearly distributed parameters var tempos = Array.fill(numMetronomes, { |i| bpmMin + (bpmMax - bpmMin) * (i / (numMetronomes - 1)) }); var frequencies = Array.fill(numMetronomes, { |i| freqMin + ...
-
... ).dup }.play; window = Window("rms", Rect(800, 200, 400, 150)).front; sliders = Array.fill(2, { Slider().orientation_(\horizontal) }); numbers = Array.fill(2, { NumberBox().fixedWidth_(60) }); window.layout = VLayout( *Array.fill(2, { |i| H ...
-
... s, view); } cvWidgetDisconnect { |object| object.remove; // ^object = nil; } } +Array { cvWidgetConnect { |view| ^CV.viewDictionary[view.class].new(this, view); } cvWidgetDisconnect { |object| object.remove; // ^object = nil; } }
-
... nklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ + Symbol { miSC_specAsArray { | synthName, metaKey = \specs, useGlobalSpecs = true | var desc, spec; desc = SynthDescLib.global[synthName.asSymbol]; spec = desc.tryPerform(\metadata) ...
-
... rs ); } asPatternPairs{ |parNames| // var outEvent = (); parNames = parNames ?? Array.fill( pars.size, {|i| ("plPar"++i).asSymbol; }); ^( [\plName, name ] ++ [ parNames, pars].flop).flatten } } PLBranch : List { printOn { arg stream; stream ...
-
... rst time the source is set, it derives its bus arguments from that input ~x = { Array.fill(14, { SinOsc.kr(1.0.rand, 0, 100) }) }; //~x is now 14 channels control rate ~x; ⧉ ✔ in order to reset these properties, clear is used: ~x.clear; //n ...
-
... Box(es) for attribute" + attribute).postln; if(interface.notNil) { { if(value.isArray and: { interface.isArray}) { value.do { |val, i| interface[i].value_(val); }; } { if(value.isNumber) { interface.value_(value); } { ("not a number for att ...
-
+ Collection { detectAll { | function| // variation on select var res = Array.new(this.size); this.deprecated( thisMethod, this.class.findRespondingMethodFor( \select ) ); this.do {|elem, i| if (function.value(elem, i)) { res.add(i) } } ^re ...
-
... v| network.setData( id, v ) } ) }, dt, autostart: false ); network.setData( id, Array.fill( bus.numChannels, 0 ) ); this.node.bus_( bus ); } start{ watcher.start; } stop{ watcher.stop; } node{ ^network.nodes[id]; } } SWCombineNode{ var <net ...