lame

A high-level binding to the LAME encoder

https://github.com/mrkkrp/lame

Version on this page:0.2.2@rev:1
LTS Haskell 23.1:0.2.2@rev:2
Stackage Nightly 2024-12-26:0.2.2@rev:2
Latest on Hackage:0.2.2@rev:2

See all snapshots lame appears in

BSD-3-Clause licensed and maintained by Mark Karpov
This version can be pinned in stack with:lame-0.2.2@sha256:d767b761d9e523c811089e6311846de86e1d4cca01e006cc1ea8427e5eee22b4,2321

Module documentation for 0.2.2

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.

Limitations

  • 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.

Contribution

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

Pull requests are also welcome.

License

Copyright © 2017–present Mark Karpov

Distributed under BSD 3 clause license.

Changes

LAME 0.2.2

  • Maintenance release with more modern and minimal dependencies.

LAME 0.2.1

  • Works with text-2.0 and older.
  • Dropped support for GHC 8.x.

LAME 0.2.0

  • Got rid of data-default-class. Instead of making EncoderSettings an instance of Default we export defaultEncoderSettings.

LAME 0.1.1

  • Improved documentation and metadata.

LAME 0.1.0

  • Initial release.