conduit-audio-lame-0.1.1: conduit-audio interface to the LAME MP3 library

Safe HaskellNone
LanguageHaskell2010

Data.Conduit.Audio.LAME

Description

Uses the LAME library to write audio streams to MP3 files.

Synopsis

Documentation

sinkMP3 :: MonadResource m => FilePath -> AudioSource m Float -> m () Source

Saves an audio stream to an MP3 file. Uses the default VBR mode.

sinkMP3WithHandle :: MonadResource m => FilePath -> (LAME -> m ()) -> AudioSource m Float -> m () Source

Lets you perform arbitrary setup on the lame handle before encoding. You must select a quality somewhere in the setup action, such as with setVBR.