lame: A high-level binding to the LAME encoder

[ audio, bsd3, codec, library ] [ Propose Tags ]

A high-level binding to the LAME encoder.

[Skip to Readme]


  • Codec
    • Audio
      • Codec.Audio.LAME


Manual Flags


Turn on development settings.


Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info


Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


  • No Candidates
Versions [RSS] 0.1.0, 0.1.1, 0.2.0, 0.2.1, 0.2.2
Change log
Dependencies base (>=4.15 && <5), bytestring (>=0.2 && <0.13), directory (>=1.2.2 && <1.4), exceptions (>=0.6 && <0.11), filepath (>=1.2 && <1.5), text (>=2 && <2.2), wave (>=0.1.2 && <0.3) [details]
License BSD-3-Clause
Author Mark Karpov <>
Maintainer Mark Karpov <>
Revised Revision 1 made by mrkkrp at 2023-12-31T14:42:48Z
Category Codec, Audio
Home page
Bug tracker
Source repo head: git clone
Uploaded by mrkkrp at 2023-10-25T18:36:21Z
Distributions LTSHaskell:0.2.2, Stackage:0.2.2
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 2488 total (25 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2023-10-25 [all 2 reports]

Readme for lame-0.2.2

[back to package description]

LAME for Haskell

License BSD3 Hackage Stackage Nightly Stackage LTS CI

This is a high-level Haskell binding to the LAME encoder.

Provided functionality

  • Fast MP3 encoder working in different modes.
  • Setting of all common tags, including pictures.


  • No decoding. It is done with a separate library in LAME.
  • Relatively limited (compared to ID3 specs) number of tag fields available for setting.
  • Some sample widths are not supported: less than or equal to 8 bit and greater than 16 bits (for integer samples, floats work fine).
  • Some psycho-acoustic and noise-shaping settings are not available for tweaking.


Please direct all issues, bugs, and questions to the GitHub issue tracker for this project.

Pull requests are also welcome.


Copyright © 2017–present Mark Karpov

Distributed under BSD 3 clause license.