Easy Audio ยป Wav

This package is for reading Wav audio files (that is if you are lucky enough:). The working process is as simple as always:
  1. Open the audio stream as an ordinary input stream with element type (unsigned-byte 8).
  2. Create a bitreader object with open-wav.
  3. Read wav chunks with metadata calling read-wav-header.
  4. 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.
  5. Read audio samples with read-wav-data.
  6. 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.
Also you can write simple PCM WAV headers with 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.