Create a new {@link AudioAnalyser | AudioAnalyser}.
Optional
fftSize: numberSee AnalyserNode.fftSize. Expects a unsigned integer
. Default 2048
.
An AnalyserNode used to analyze audio.
A Uint8Array with size determined by analyser.frequencyBinCount used to hold analysis data.
Get the average of the frequencies returned by the getFrequencyData method.
Uses the Web Audio's getByteFrequencyData method
Create a AudioAnalyser object, which uses an AnalyserNode to analyse audio data. This uses the Web Audio API.
Example
See