lame

Fairly complete high-level binding to LAME encoder

https://github.com/mrkkrp/lame

Version on this page:0.1.1
LTS Haskell 22.13:0.2.2@rev:1
Stackage Nightly 2024-03-14:0.2.2@rev:1
Latest on Hackage:0.2.2@rev:1

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:48fe5ce46b79deb514742044703760542fba79557ed2e10a004c2787ecdf1e70,2575

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.