Optional
alpha?: numberOptional
colorA 256 long array of 4-element arrays. Each entry should contain a float between 0 and 1 and specify r, g, b, and alpha. Each entry should contain a float between 0 and 1 and specify r, g, b, and alpha.
Selector of element or element in which to render
Optional
fftNumber of samples to fetch to FFT. Must be a power of 2.
Optional
frequencyMax frequency to scale spectrogram. Set this to samplerate/2 to draw whole range of spectrogram.
Optional
frequencyMin frequency to scale spectrogram.
Optional
height?: numberHeight of the spectrogram view in CSS pixels
Optional
labels?: booleanSet to true to display frequency labels.
Optional
labelsOptional
labelsOptional
labelsOptional
noverlap?: numberSize of the overlapping window. Must be < fftSamples. Auto deduced from canvas size by default.
Optional
windowThe window function to be used.
Generated using TypeDoc
Some window functions have this extra value. (Between 0 and 1)