Optionalchannelsmix averages the channels into waveform; stereo returns the first two channels as left and right.
OptionaldurationWindow length in seconds, greater than 0.
OptionalpointsThin the window to this many evenly spaced samples, without averaging; every sample is returned when omitted.
OptionalsignedWhen true, preserves bipolar PCM waveform clamped to [-1, 1]; when false, maps magnitude from -70..0 dB to [0, 1].
Parameters for
audio.getWaveform. Return the most recentdurationseconds of the visualization stream, ending at its current time (streamTimein spectrum frames). Needs a spectrum subscription.