conduit-audio-sndfile-0.1: conduit-audio interface to the libsndfile audio file library

Safe HaskellNone
LanguageHaskell2010

Data.Conduit.Audio.Sndfile

Synopsis

Documentation

sourceSnd :: (MonadResource m, Sample a) => FilePath -> IO (AudioSource m a) Source

Uses libsndfile to load an audio file as a stream.

sourceSndFrom Source

Arguments

:: (MonadResource m, Sample a) 
=> Duration

Initial position to seek to in the file (more efficient than using dropStart)

-> FilePath 
-> IO (AudioSource m a) 

sinkSnd :: (MonadResource m, Sample a) => FilePath -> Format -> AudioSource m a -> m () Source

Uses libsndfile to write an audio stream to a file.