copyToChannel method

void copyToChannel(
  1. JSFloat32Array source,
  2. int channelNumber, [
  3. int bufferOffset
])

The copyToChannel() method of the AudioBuffer interface copies the samples to the specified channel of the AudioBuffer, from the source array.

Implementation

external void copyToChannel(
  JSFloat32Array source,
  int channelNumber, [
  int bufferOffset,
]);