A library to read, write and manipulate MIDI, WAVE, and SoundFont2 files.


Version on this page:0.5
LTS Haskell 19.14:0.5.2
Stackage Nightly 2022-07-06:0.5.2
Latest on Hackage:0.5.2

See all snapshots HCodecs appears in

BSD-3-Clause licensed by George Giorgidze
Maintained by George Giorgidze (giorgidze@gmail.com)
This version can be pinned in stack with:HCodecs-0.5@sha256:6a03880ecd7342d43d7d7995ecbb2c11c087e1c6b91db77f75ac0420fbd33f80,1476

Module documentation for 0.5

  • Codec
    • Codec.ByteString
      • Codec.ByteString.Builder
      • Codec.ByteString.Parser
    • Codec.Midi
    • Codec.SoundFont
    • Codec.Wav
  • Data
    • Data.Audio
Used by 1 package in lts-0.7(full list with versions):

The library provides functions to read, write and manipulate MIDI, WAVE and SoundFont2 multimedia files. It is written entirely in Haskell (without any FFI). It uses efficient parsing and building combinators for binary data stored in ByteStrings (based on the one in binary package).

Correctness of significant parts of the library has been validated with QuickCheck and Haskell Program Coverage (HPC) tool-kits.