-
... ////////////////////// このルーチンを.doメッセージを使って書き直すと、loopを作ります。 ( r = Routine ({ var array; array = [ "hello, world" , "what a world" , "i am a world" ]; 3.do({ array.choose.yield }) }); ) このdo loopをルーチンの中のループよりももう1回多く実行すると、前の例と同じ様に、3つの文字列とnilを返 ...
-
... Class methods new Inherited class methods Instance methods calc draw makeWindow array normalize points Inherited instance methods Examples Classes (extension) | Red > redUniverse'>redUniverse > redUniverse>additional'>additional RedFingerpr ...
-
... can be the name of a library tuning (in which case that tuning is returned); an array of floats representing the semitone values of the tuning (in which case pitchesPerOctave will be set to the size of the array regardless of the second par ...
-
Dseq demand rate sequence generator superclass: ListDUGen *new(array, length) array array of values or other ugens length number of repeats structurally related: Pseq see also: Demand // example ( { var a, freq, trig; a = Dseq ([1, 3, 2, 7, ...
-
... .add(tab.indexOfEqual(sub)); sub= [val]; }); }; ^out.add(tab.indexOfEqual(sub)).array; } *decompress {|input| var tab= List.fill(256, {|i| [i]}); var old= input[0]; var out= List[old]; var val= old; input.drop(1).do{|k| var sub; if(tab[k].n ...
-
Additional statistics methods for arrays: Filter: Various measures to characterise the distribution percentile Histogramming Statistical measures of association Pearson correlation Kendall's W statistic Principal Component Analysis Autocorr ...
-
... }; len.wait; }}; fork { loop { var len = 16.rrand(3.5); var top_freq = Array.rand(10, 100, 7000).choose; var ugens = [LFPulse,SinOsc,LFSaw,LFNoise2]; var kind = 0.5.coin.if({ugens},{[ugens.choose]}); // mixed or not play { ...
-
... g sendreply.kr and Level-Indicator. //this block evaluate first. Synth add and arrays initialize... ( ~ocean = Array.new(8); ~oceanz = Array.new(8); SynthDef.new(\ocean,{ var sig, mod; sig = BrownNoise.ar(0.15!2); mod = S ...
-
... overridden in the subclasses) Accessing Instance and Class Variables writeLine(array) Write a line to the file. array An Array with values to write. The contents of the Array will be written to the file as the compile string of each item, ...
-
... (op, args[1..]) }; var a1 = Dual.approximate(call, ns).dual; var a2 = call.valueArray(ds).dual; this.assertFloatEquals(a1, a2, "Numerical differentiation should approximate automatic differentiation:\n%(%)".format(op, ds), within: 0.001); / ...