-
... >buffer,<patchOut,<readyForPlay = false,<server; var <>size=0,<>numChannels=1,<>sampleRate=44100.0; // while building the synth def... var <>forArgi,bufnumControl; *new { arg numFrames=44100,numChannels=1,sampleRate=44100.0; ^super.new.size ...
-
... er, <patchOut, <readyForPlay = false, <server; var <>size=0, <>numChannels=1, <>sampleRate=44100.0; // while building the synth def... var <>forArgi, bufnumControl; *new { arg numFrames=44100, numChannels=1, sampleRate=44100.0; ^super.new.s ...
-
... el, DFT helper */ // the receiver is an array of frequencies freqKs { arg size, sampleRate; ^this.collect({ arg item; item.freqK(size, sampleRate) }) } // the receiver is an array of ks kFreqs { arg size, sampleRate; ^this.collect({ arg ite ...
-
... ew; var startLabel; var durationLabel; var pathLabel; var numChannelsLabel; var sampleRateLabel; var fileDurationLabel; var openFileButton; var soundFile; var soundStartPos; var soundDuration; var soundBuffer; *new { |server| if (server.isN ...
-
... //////////////////////////////////////// ATSPeakDetector { var <>fftSize; var <>sampleRate; var <>lowestBin; // Start search bin var <>highestBin; // End search bin var <>lowestMagDB; // Magnitude threshold in dB var <>lowestMagLinear; // s ...
-
... lowBin, order)); } } *sineFillWFreqs {|size = 512, freqs=86.1328125, phases=0, sampleRate = 44100| var real, temp, sigSize, realz; var root = sampleRate/size; if(freqs.size==0){freqs = [freqs]}; if(phases.size==0){phases = phases!freqs.siz ...
-
... { *hoaDist { |size, radius = (AtkHoa.refRadius), order = (AtkHoa.defaultOrder), sampleRate = nil, speedOfSound = (AtkHoa.speedOfSound)| var complexes = FreqSpectrum.hoaDist(size, radius, order, sampleRate, speedOfSound).collect({ |spectrum| ...
-
... ///////////////////////////////////////////////////////////// Z354Sound { var <>sampleRate; // Input sample rate var <>duration; // Duration in seconds var <>windowSize; // FFT window size var <>hopSize; // Hop size in samples var <>frameCo ...
-
... heckExists = true; const <canHaveGlobal = false; var <numFrames, <numChannels, <sampleRate; var <>unitArgName; // var <>buffers; // holder for all buffers // var <unit, <unitArgName; *initClass { allBuffers = IdentityDictionary(); allUnits ...
-
K2ATrig { *ar {|trig| ^(Trig.ar(K2A.ar(trig)>0, (SampleRate.ir).reciprocal) * Latch.ar(trig, trig)) } } K2ATrig1 { *ar {|trig| ^(Trig.ar(K2A.ar(trig)>0, (SampleRate.ir).reciprocal)) } }