| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Data.Conduit.Audio.LAME
Description
Uses the LAME library to write audio streams to MP3 files.
- sinkMP3 :: MonadResource m => FilePath -> AudioSource m Float -> m ()
- sinkMP3WithHandle :: MonadResource m => FilePath -> (LAME -> m ()) -> AudioSource m Float -> m ()
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.