Node.AnalyserSourceAnalyser nodes.
The type for AnalyserOptions.
val opts :
?channel_count:int ->
?channel_count_mode:Channel_count_mode.t ->
?channel_interpretation:Channel_interpretation.t ->
?fft_size:int ->
?max_decibels:float ->
?min_decibels:float ->
?smoothing_time_constant:float ->
unit ->
optsopts () are analyser node options with given parameters.
The type for AnalyserNode objects.
get_float_frequency_data n d copies frequency data into d.
get_byte_frequency_data n d copies frequency data into d.
get_float_time_domain_data n d copies time-domain data into d.
get_byte_frequency_data n d copies time-domain data into d.
fft_size n is the window size of n.
frequency_bin_count n is the frequency bin count of n.
min_decibels n is the lower bound on results of n.
set_min_decibels n v sets min_decibels of n to v.
max_decibels n is the upper bound on results of n.
set_max_decibels n v sets max_decibels of n to v.
smoothing_time_constant n is the averaging constant of n.
set_smoothing_time_constant n v sets smoothing_time_constant of n to v.