getByteTimeDomainData method

void getByteTimeDomainData(
  1. JSUint8Array array
)

The getByteTimeDomainData() method of the AnalyserNode Interface copies the current waveform, or time-domain, data into a Uint8Array (unsigned byte array) passed into it.

If the array has fewer elements than the AnalyserNode.fftSize, excess elements are dropped. If it has more elements than needed, excess elements are ignored.

Implementation

external void getByteTimeDomainData(JSUint8Array array);