-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Haskell bindings for libsndfile (Data.Vector interface). -- -- Haskell bindings for libsndfile (Data.Vector interface). -- -- libsndfile is a comprehensive C library for reading and writing a -- large number of soundfile formats: -- http://www.mega-nerd.com/libsndfile/. @package hsndfile-vector @version 0.4.0 -- | This module provides a Sound.File.Sndfile.Buffer instance for -- Data.Vector.Storable.Vector, wrapped in a newtype. See -- Sound.File.Sndfile.Buffer.Vector.Examples for some example -- code. module Sound.File.Sndfile.Buffer.Vector -- | Newtype wrapper for Data.Vector.Storable.Vector. data Buffer a -- | Construct a Buffer from a Data.Vector.Storable.Vector. toBuffer :: Vector a -> Buffer a -- | Extract the Data.Vector.Storable.Vector from a Buffer. fromBuffer :: Buffer a -> Vector a withBuffer :: (Vector a -> Vector b) -> Buffer a -> Buffer b instance Storable a => Buffer Buffer a -- | This module provides some examples for soundfile I/O with -- Sound.File.Sndfile.Buffer.Vector.Buffer. Click the -- Source links to access the source code. module Sound.File.Sndfile.Buffer.Vector.Examples -- | Read a sound file, normalize the contents and write it back. -- -- The file is read into memory in its entirety, which may not be -- feasible for large files. No deinterleaving is needed in this case. normalizeSoundFile :: FilePath -> FilePath -> IO ()