lame

Fairly complete high-level binding to LAME encoder

https://github.com/mrkkrp/lame

Version on this page:0.1.1@rev:4
LTS Haskell 23.0:0.2.2@rev:2
Stackage Nightly 2024-12-12: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.1.1@sha256:bf6a60cb167f0b019a9ae535ebec91a2b3bad9e55ca0d69102a7545c23256664,2659

Module documentation for 0.1.1

LAME for Haskell

License BSD3 Hackage Stackage Nightly Stackage LTS Build Status Coverage Status

This is a fairly complete high-level Haskell binding to LAME.

Provided functionality

  • Fast MP3 encoder working in various modes (you specify compression ratio, desired bit-rate, or parameters for VBR), with quite a few interesting options to tweak.
  • Setting of all common tags, including pictures.

Limitations

  • No decoding for now. It’s actually done via 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 OK).
  • Some psycho-acoustic and noise-shaping settings are not available for tweaking.

Open an issue if something of this is a deal breaker for you, some of these limitations are easily lifted.

Contribution

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

License

Copyright © 2017 Mark Karpov

Distributed under BSD 3 clause license.

Changes

LAME 0.1.1

  • Improved documentation and metadata.

LAME 0.1.0

  • Initial release.