squelch.nodes.analyser
get-byte-frequency-data
(get-byte-frequency-data analyser dest)
Copies the current frequency data into a Uint8Array (unsigned byte array)
passed into it.
get-byte-time-domain-data
(get-byte-time-domain-data analyser dest)
Copies the current waveform, or time-domain, data into a Uint8Array (unsigned
byte array) passed into it.
get-fft-size
(get-fft-size analyser)
Is an unsigned long value representing the size of the FFT (Fast Fourier
Transform) to be used to determine the frequency domain.
get-float-frequency-data
(get-float-frequency-data analyser dest)
Copies the current frequency data into a Float32Array array passed into it.
get-float-time-domain-data
(get-float-time-domain-data analyser dest)
Copies the current waveform, or time-domain, data into a Float32Array array
passed into it.
get-frequency-bin-count
(get-frequency-bin-count analyser)
Read only.
Is an unsigned long value half that of the FFT size. This generally equates
to the number of data values you will have to play with for the
visualization.
get-min-decibels
(get-min-decibels analyser)
Is a double value representing the maximum power value in the scaling range
for the FFT analysis data, for conversion to unsigned byte values — basically,
this specifies the maximum value for the range of results when using
getByteFrequencyData().
get-smoothing-time-constant
(get-smoothing-time-constant analyser)
Is a double value representing the averaging constant with the last analysis
frame — basically, it makes the transition between values over time smoother.
set-fft-size
(set-fft-size analyser fft-size)
Is an unsigned long value representing the size of the FFT (Fast Fourier
Transform) to be used to determine the frequency domain.
set-min-decibels
(set-min-decibels analyser max-decibels)
Is a double value representing the maximum power value in the scaling range
for the FFT analysis data, for conversion to unsigned byte values — basically,
this specifies the maximum value for the range of results when using
getByteFrequencyData().
set-smoothing-time-constant
(set-smoothing-time-constant analyser constant)
Is a double value representing the averaging constant with the last analysis
frame — basically, it makes the transition between values over time smoother.