Converts PCM audio data into a fully valid wave file.
The metadata uses the INFO chunk to write the information. It is encoded with utf-8.
INFO
utf-8
The PCM audio data. For stereo, pass [leftData, rightData].
[leftData, rightData]
The sample rate, in Hertz.
Additional options for writing the file.
The binary file.
Refer to `examples/midi_to_wav_node.ts` for an example of rendering audio data to a wav file. Copy
Refer to `examples/midi_to_wav_node.ts` for an example of rendering audio data to a wav file.
Converts PCM audio data into a fully valid wave file.
The metadata uses the
INFOchunk to write the information. It is encoded withutf-8.