Reader and writer for RIFF/WAV audio files in Standard ML
Remove some debug output
e75a70bff2a9 — Chris Cannam 10 months ago
Build with mlton, at least until Poly/ML updated with 32-bit PackReal support
7f2f179d69f0 — Chris Cannam 10 months ago
Add float format reader

heads

tip
browse log

clone

read-only
https://hg.sr.ht/~cannam/sml-wavefile
read/write
ssh://hg@hg.sr.ht/~cannam/sml-wavefile

#sml-wavefile

#Reader and writer for RIFF/WAV audio files in Standard ML

This small library provides a reader (reader.sml) and writer (writer.sml) for RIFF/WAV PCM audio files written purely in Standard ML. The reader supports 8, 16, or 24-bit PCM encodings; the writer supports only 16-bit.

Written by Chris Cannam, cannam@all-day-breakfast.com. MIT licence, see the file COPYING for details.

#TODO

  • Tests, using included test files
  • Support extended IEEE float format
  • Write formats other than 16-bit
  • Seeking