For mp3 decoding in Haskell, a quick search brought up the mp3decoder library (which is not recommended by the author, experimental only), the LAME library (encoding only). conduit-audio-lame (encoding only). Looks like mp3 decoding with lame will be a project by itself!
-------- Original Message --------
Subject: Re: [Haskell-beginners] Libraries for Playing Audio
Local Time: August 2, 2017 4:03 AM
UTC Time: August 2, 2017 9:03 AM
From: ollie@ocharles.org.uk
To: Atrudyjane <atrudyjane@protonmail.com>
The Haskell-Beginners Mailing List - Discussion of primarily beginner-level topics related to Haskell <beginners@haskell.org>, info@maximka.de <info@maximka.de>
That would be doable with SDL2, but you'll need to handle mp3 decoding yourself - perhaps using lame or something.
Hi Oliver,
The requirements are to play, pause play, and stop playing an mp3 file. Also would like to use time elapsed and duration data.
Andrea
-------- Original Message --------
Subject: Re: [Haskell-beginners] Libraries for Playing Audio
Local Time: August 1, 2017 4:01 AM
UTC Time: August 1, 2017 9:01 AM
What are your requirements? SDL2's audio module is functional, but I don't know if it's sufficient for what you're looking for.
Thanks Alexei,
Think I've narrowed it down to either sox or conduit-audio. Looks like SDL-mixer hasn't been updated in a while and it has an 'All reported builds failed' status as of 2015.
Regards,
Andrea
-------- Original Message --------
Subject: Re: [Haskell-beginners] Libraries for Playing Audio
Local Time: July 31, 2017 12:50 AM
UTC Time: July 31, 2017 5:50 AM
There is haskell wrapper for powerful sox availiable also.
Alexei
>
>
> Hello Cafe,
> Is there a recommended Haskell library for playing/manipulating audio files? There"s a long list of sound libraries on Hackage, and was thinking looking into either conduit-audio or SDL-mixer.
> Thank You,
> Andrea
>
> Beginners mailing list
_______________________________________________
Beginners mailing list