-
... les.size > 0, { ^poles }, { ^nil }) } poles_ { arg newPoles; var angle; poles = Array.new; //Check and parse input args if(newPoles != nil, { if(newPoles.isKindOf(Array), { newPoles.do({ arg pole; if(pole.isKindOf(Polar), { angle = pole.ang ...
-
... ArduinoParserSMS : ArduinoParser { var msg, msgArgStream, state; parse { msg = Array[]; msgArgStream = CollStream(); state = nil; loop { this.parseByte(port.read) }; } finishArg { var msgArg = msgArgStream.contents; msgArgStream.reset; if ...
-
... e2(a,w) } ) } } /* 5.pure(WriterReader).tell(["hello"]).run(3) WriterReader.ask(Array).run(3) WriterReader.ask(Array).tell(["abc9"]).run(3) WriterReader.ask(Array).tell(["abc9"]).local(_+1).run(3) */
-
... s.at(defName).size < maxCount ) { synth = Synth.newKeepArgs(defName, args.asArgsArray, server, addAction); synth.isPlaying = true; if( watch ) { NodeWatcher.register(synth); }; // should be fast enough to catch the \n_go if(warn) { ("SynthT ...
-
... , freqOffset=300,decay=0.001,excite=0.1; creates random frequency and ring time arrays posts those if you like what you hear you can use those for writing other instr var env; var z, f1, f2,p; env=Env.perc(0.0,0.05 ); p=rrand(8,30); f1 = 50 ...
-
... NonSpec ) | var linkfunc; spec = spec.asSpec; linkfunc = switch( objset.class, Array, `{ obj.perform( *( objset++[spec.map( this.input )] ) ) }, Function, `{ objset.value( obj, spec.map( this.input ), this ) }, `{ obj.perform( objset, spec ...
-
... Resonator1D.new,Resonator1D.new(101)]; this.connPointMatrix = connPointMatrix ? Array2D.fromArray(2,1,[0.5,0.5]); this.massMatrix = massMatrix ? Array2D.fromArray(2,1,[1,1]); this.excPointMatrix = excPointMatrix ? Array2D.fromArray(2,1,[0.2 ...
-
... ,[rrand(100,400),rrand(400,1000),rrand(10,100),10]]; beta = rrand(0,1); gamma = Array.series(rrand(1000,5000), rrand(5000,15000), 5); gamma = gamma ++ gamma.reverse; alphaB = [[0,20000,300,0.01],[rrand(100,400),rrand(400,1000),rrand(10,100) ...
-
... Event.addEventType(\fadeBus, #{ |server| var bundle, instrument, rate, bus; var array = ~array.as(Array); var numChannels = min(~numChannels.value ? 1, array.size); if(numChannels > SystemSynthDefs.numChannels) { Error( "Can't set more than ...
-
... v, \all, nil classvar <>defaultNCols = 8; // only used in case of creation with array *new { |events, nCols| ^super.new.init( events, nCols ); } init { |inEvents, nCols| nCols = nCols ? defaultNCols; case { inEvents.isArray } { events = Ord ...