squelch.audio-buffer
copy-from-channel
(copy-from-channel buffer destination channel-number)(copy-from-channel buffer destination channel-number start-in-channel)
Copies the samples from the specified channel of the AudioBuffer to the
destination array.
copy-to-channel
(copy-to-channel buffer source channel-number)(copy-to-channel buffer source channel-number start-in-channel)
Copies the samples to the specified channel of the AudioBuffer, from the
source array.
duration
(duration buffer)
Read only.
Returns a double representing the duration, in seconds, of the PCM data
stored in the buffer.
get-channel-data
(get-channel-data buffer channel)
Returns a Float32Array containing the PCM data associated with the channel,
defined by the channel parameter (with 0 representing the first channel).
get-sample-rate
(get-sample-rate buffer)
Read only.
Returns a float representing the sample rate, in samples per second, of the
PCM data stored in the buffer.
length
(length buffer)
Read only.
Returns an integer representing the length, in sample-frames, of the PCM data
stored in the buffer.
number-of-channels
(number-of-channels buffer)
Read only.
Returns an integer representing the number of discrete audio channels
described by the PCM data stored in the buffer.