Handbook
Glossary
read-wav ( filename -- audio )
Vocabulary
audio
.
wav
Inputs
filename
an
object
Outputs
audio
an
object
Definition
USING:
endian
io.encodings.binary
io.files
;
IN:
audio.wav
:
read-wav
( filename -- audio )
little-endian
[
binary
[
read-riff-chunk
verify-wav
(read-wav)
]
with-file-reader
]
with-endianness
;