lame

A high-level binding to the LAME encoder

https://github.com/mrkkrp/lame

Version on this page:0.2.1@rev:1
LTS Haskell 22.21:0.2.2@rev:1
Stackage Nightly 2024-05-06: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.2.1@sha256:c048dc7fa2b4d282e7eda40f79f956c6c59684b50631800ea0ef73c9f2484e96,2376

Module documentation for 0.2.1

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