Reader and writer for RIFF/WAV audio files in Standard ML
6a7708464502 — Chris Cannam default tip a month ago
Fix crash on reading following a seek beyond end of file
7dcfa253e494 — Chris Cannam 11 months ago
Add flush
d231891c7cb9 — Chris Cannam 4 years ago
Remove some debug output

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