SpectrumLib class final

Constructors

SpectrumLib(int sampleRate, int fftWindow, int processWinFreq)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

computeSpectrum(List<double> values) → void
dispose() → void
getFFTBinsFor1Hz() double
getFFTWindow() int
initParams(int upBorderFrequency, bool normalizeSpectrumByBandwidth) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pushAndProcessData(List<double> samples) → void
readRawSpectrumInfo() RawSpectrumData
readRawSpectrumInfoArr() List<RawSpectrumData>
readWavesSpectrumInfo() WavesSpectrumData
readWavesSpectrumInfoArr() List<WavesSpectrumData>
setFFTWinLengthAndProcessFreq(int fftWinLength, int processWinFreq) → void
setHammingWinSpectrum() → void
setHanningWinSpectrum() → void
setNewSampleSize() → void
setSquaredSpectrum(bool fl) → void
setWavesCoeffs(double dCoef, double tCoef, double aCoef, double bCoef, double gCoef) → void
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited