-
... atures; if(server.isNil){ server = Server.default }; if(File.exists(path).not){ Error("File not found: %".format(path)).throw}; if(action.isNil){action = path.splitext[0] ++ "-SOMcoords.aiff"}; server.waitForBoot { // Check data file sf = S ...
-
... s sin values based on the sin functiom (rather than table lookup). More CPU, no error SinTone : UGen { *ar {arg freq = 440, phase = 0, mul = 1, add = 0; ^this.multiNew('audio', freq, phase).madd(mul, add) } }
-
... sion = 0.5, modRate = 0.2, modDepth = 0.3 | in = in.asArray; if(in.size != 2) { Error( "NHHall expects a stereo signal, but received a size % array." ).throw; }; ^this.multiNew( \audio, in[0], in[1], rt60, stereo, lowFreq, lowRatio, hiFreq, ...
-
... .454, 0.156] ].at(order); df.isNil.if({^(this.asString+"invalid order:" +order).error}); out = (df.asArray.at(0) > 0).if({ZLPF.ar( in, freq, df)},{in}); ^out * mul + add } } BHPF { *ar { arg in, order=4, freq=440, mul=1, add=0; var df, out; ...
-
... utputs { arg numChannels, rate; if(numChannels.isNil or: { numChannels < 1 }, { Error("%: wrong number of channels (%)".format(this, numChannels)).throw }); channels = Array.fill(numChannels, { arg i; OutputProxy(rate, this, i); }); if (num ...
-
... the 4D space // Also, just for demonstration purposes, we're going to write the error values to a buffer so we can see how they evolve ~errorvals = Buffer .alloc(s, ~traindur); // Now train the SOM. To train it with data "randomly sampled" ...
-
... ound right {StkModalBar.ar(40, 5, mul:6)}.play(s) // prob // This one throws an error that seems to need fixing! {StkFlute.ar(440, 35, 0.5, mul:1) }.play(s) // This one just posts "Starting" twice and doesn't do much afterwards {StkBowed.ar ...
-
... onsets; "OnsetsDS is deprecated and will be removed. Use 'Onsets.kr' instead.".error; ^{ // Perform FFT, if needed chain = if(extchain, in, {FFT(fftbuf, in)}); // Whiten the FFT signal. Note: for MKL we don't do this! chain = if(type == \m ...
-
... nil.dup(3)); // Also, just for demonstration purposes, we're going to write the error values to a buffer so we can see how they evolve ~errorvals = Buffer .alloc(s, ~traindur); // Now train the SOM. To train it with data "randomly sampled" ...
-
... .app folder. i.e. the units will look for ../rawwaves/etc. If you get 'realtime errors' it is in the wrong place. notice: when building from source you will need to get these from the library itself (or the prebuilt lib package download fro ...