- Open the audio stream as an ordinary input stream with element
type
(unsigned-byte 8)
. - Create a bitreader object with
open-wav
. - Read wav chunks with metadata calling
read-wav-header
. - Because the metadata can be placed after the audio data itself,
rewind the reader to the beginning of audio data calling
reader-position-to-audio-data
. - Read audio samples with
read-wav-data
. - Optionaly,
decode-wav-data
. Usually this step can be ommited because the audio stream already has uncompressed PCM data.decode-wav-data
is no-op in this case.
write-pcm-wav-header
function and with-output-to-wav
macro.API
No node with name
read-wav-header
.No node with name
reader-position-to-audio-data
.No node with name
read-wav-data
.No node with name
decode-wav-data
.No node with name
samples-num
.No node with name
get-info-metadata
.No node with name
+wave-format-pcm+
.No node with name
+wave-format-float+
.No node with name
+wave-format-alaw+
.No node with name
+wave-format-mulaw+
.No node with name
+wave-format-extensible+
.No node with name
format-subchunk
.No node with name
data-subchunk
.No node with name
fact-subchunk
.No node with name
info-subchunk
.No node with name
wav-error
.No node with name
wav-error-chunk
.No node with name
wav-warning
.No node with name
wav-unknown-chunk
.No node with name
write-pcm-wav-header
.No node with name
with-output-to-wav
.