-
... | item}, FloatArray)}, {data = collection;} ); sndfile = SoundFile.new; sndfile.sampleRate = server.sampleRate; sndfile.numChannels = 1; if(sndfile.openWrite(path), { sndfile.writeData(data); sndfile.close; }, {"Failed to write data".warn;} ...
-
... } initLPCAna { sf = SoundFile.new; test = sf.openRead(path); test.if({ sr = sf.sampleRate; sf.close; sfDur = sf.duration; }, { ("Your soundfile at: "++path++" could not be opened").warn; }); } ana {arg nPoles = 35, frameSize = 400, hop = 0 ...
-
... |cmd| score.add([0.0, cmd]) }; score.recordNRT( outputFilePath: exportFileName, sampleRate: info.sampleRate, headerFormat: "W64", sampleFormat: info.sampleFormat, options: server.options, duration: info.duration, action: { buffers.do { |buf ...
-
... ewBasic to prevent file reading path.formatGPath.quote, numFrames, numChannels, sampleRate, startFrame, endFrame, rate, loop ] << ")" << if( this.write != true ) { ".write_(%)".format( this.write ) } { "" } << if( this.channel != 0 ) { ".ch ...
-
... size depends on the lowest processed frequency and highest formant ratio: // ((SampleRate.ir * minFreq.reciprocal * maxFormantRatio) + BlockSize.ir).roundUp; // e.g. for minFreq = 10 Hz and maxFormantRatio = 10, at 48kHz with block size of ...
-
... ay = [Color.red.alpha_(0.3), Color.green.alpha_(0.3)]; nyquist = Server.default.sampleRate/2; paramsHiLo = [[0,1], [0,1], [0,1]]; // range slider scale params switch(filtertype) {\empty} { this.createEmpty } {\lpf} { this.createLPF } {\bpf} ...
-
... format))); Out.ar(0, Silent.ar); }.play(server); (bufAformat.numFrames / server.sampleRate).wait; bufAformat.write(afmtDir, headerFormat: "wav", sampleFormat: "int24", completionMessage:{ ("done writing" + ir.fileNameWithoutExtension ++ "_F ...
-
... _(150) .numOutputBusChannels_(2) .numInputBusChannels_(30) .numWireBufs_(2048) .sampleRate_( 44100 ) .blockAllocClass_( ContiguousBlockAllocator ) .device_("JackRouter"); ~slaves = [ Server(\slave1,NetAddr("localhost", 57456),~soptions), Se ...
-
... Time = fadeTime.min( buf.duration ); this.copyLoopTo( buf, 0, startFrom + (this.sampleRate * fadeTime), action: { { var numChannels; numChannels = buf.numChannels; this.server.sync( nil, this.server.makeBundle( false, { SynthDef( "wslib_cf_ ...
-
... , afqc, atemp1, ax, apoly, asum3, avalue, atemp2, aflute1; var fdbckArray; sr = SampleRate.ir; cr = ControlRate.ir; block = cr.reciprocal; ifqc = freq; // noise envelope kenv1 = EnvGen.kr(Env.new( [ 0.0, 1.1 * ipress, ipress, ipress, 0.0 ], ...