https://github.com/ocramz/mpg123-hs
Haskell bindings to mpg123
https://github.com/ocramz/mpg123-hs
audio audio-library ffi ffi-wrapper mp3 mp3-decoder
Last synced: 6 months ago
JSON representation
Haskell bindings to mpg123
- Host: GitHub
- URL: https://github.com/ocramz/mpg123-hs
- Owner: ocramz
- License: bsd-3-clause
- Created: 2017-12-07T22:41:03.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-01-04T19:30:36.000Z (almost 8 years ago)
- Last Synced: 2025-02-01T11:29:20.787Z (8 months ago)
- Topics: audio, audio-library, ffi, ffi-wrapper, mp3, mp3-decoder
- Language: Haskell
- Size: 659 KB
- Stars: 1
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# mpg123
[](https://travis-ci.org/ocramz/mpg123-hs) [](https://hackage.haskell.org/package/mpg123) [](https://www.stackage.org/package/mpg123)
Haskell bindings to the MP3 decoding library [`libmpg123`](https://mpg123.de)
## Features
- Based on `inline-c`
## Installation
This library relies on dyamically linking to `libmpg123`; the basic installation of `libmpg123`, detailed in the following, is usually sufficient for ensuring this.
* If you don't have `libmpg123` installed already, download it via its [homepage](https://www.mpg123.de/download.shtml) (which will point you to the Sourceforge repository). After you download and decompress the archive, installation follows the usual Unix sequence:
$ ./configure
$ make
$ make install
You might need to be root or use `sudo` for the last step, which copies object files and binaries to default locations. You may choose custom locations for these during the `./configure` step, but you must ensure they are on `$PATH`.
* Now you can compile the Haskell bindings:
$ stack build
* Optionally, you can run the tests with
$ stack test
or you can just see the outcome of the automated tests on TravisCI : https://travis-ci.org/ocramz/mpg123-hs/builds