The spectrogram data in its raw form. A 2D array of 8-bit numbers.
Readonly
dataThe spectrogram data in its raw form. A 2D array of 8-bit numbers.
Get the height of the spectrogram output.
Get the width of the spectrogram output.
Generated using TypeDoc
A spectrogram is a visual representation of the spectrum of frequencies of a signal as it varies with time. This class represents a spectrogram as a 2D array of 8-bit numbers received from the API. It can be converted to a canvas or PNG buffer, or saved to disk. It is not altered or processed in any way, it is simply an interpretation of the raw data so you can do with it as you please.