writeFrames
Writes audio frames to the file.
This method may be called multiple times to append audio data incrementally. The data is buffered internally and flushed to disk as needed by the encoder.
Parameters
Interleaved PCM float samples to write, normalized to the range [-1.0, 1.0]. Values outside this range may be clipped by the encoder.
The number of frames to write. Each frame contains one sample per channel, so data must contain at least numFrames * channelCount elements.
Throws
if a write or encoding error occurs.
Writes audio frames to the file.
This method may be called multiple times to append audio data incrementally. The data is buffered internally and flushed to disk as needed by the encoder.
Parameters
Interleaved PCM float samples to write, normalized to the range [-1.0, 1.0]. Values outside this range may be clipped by the encoder.
The number of frames to write. Each frame contains one sample per channel, so data must contain at least numFrames * channelCount elements.
Throws
if a write or encoding error occurs.
Writes audio frames to the file.
This method may be called multiple times to append audio data incrementally. The data is buffered internally and flushed to disk as needed by the encoder.
Parameters
Interleaved PCM float samples to write, normalized to the range [-1.0, 1.0]. Values outside this range may be clipped by the encoder.
The number of frames to write. Each frame contains one sample per channel, so data must contain at least numFrames * channelCount elements.
Throws
if a write or encoding error occurs.
Writes audio frames to the file.
This method may be called multiple times to append audio data incrementally. The data is buffered internally and flushed to disk as needed by the encoder.
Parameters
Interleaved PCM float samples to write, normalized to the range [-1.0, 1.0]. Values outside this range may be clipped by the encoder.
The number of frames to write. Each frame contains one sample per channel, so data must contain at least numFrames * channelCount elements.
Throws
if a write or encoding error occurs.
Writes audio frames to the file.
This method may be called multiple times to append audio data incrementally. The data is buffered internally and flushed to disk as needed by the encoder.
Parameters
Interleaved PCM float samples to write, normalized to the range [-1.0, 1.0]. Values outside this range may be clipped by the encoder.
The number of frames to write. Each frame contains one sample per channel, so data must contain at least numFrames * channelCount elements.
Throws
if a write or encoding error occurs.
Writes audio frames to the file.
This method may be called multiple times to append audio data incrementally. The data is buffered internally and flushed to disk as needed by the encoder.
Parameters
Interleaved PCM float samples to write, normalized to the range [-1.0, 1.0]. Values outside this range may be clipped by the encoder.
The number of frames to write. Each frame contains one sample per channel, so data must contain at least numFrames * channelCount elements.
Throws
if a write or encoding error occurs.
Writes audio frames to the file.
This method may be called multiple times to append audio data incrementally. The data is buffered internally and flushed to disk as needed by the encoder.
Parameters
Interleaved PCM float samples to write, normalized to the range [-1.0, 1.0]. Values outside this range may be clipped by the encoder.
The number of frames to write. Each frame contains one sample per channel, so data must contain at least numFrames * channelCount elements.
Throws
if a write or encoding error occurs.
Writes audio frames to the file.
This method may be called multiple times to append audio data incrementally. The data is buffered internally and flushed to disk as needed by the encoder.
Parameters
Interleaved PCM float samples to write, normalized to the range [-1.0, 1.0]. Values outside this range may be clipped by the encoder.
The number of frames to write. Each frame contains one sample per channel, so data must contain at least numFrames * channelCount elements.
Throws
if a write or encoding error occurs.