hsndfile-vector-0.5.2: Haskell bindings for libsndfile (Data.Vector interface)

Safe HaskellNone

Sound.File.Sndfile.Buffer.Vector.Examples

Description

This module provides some examples for soundfile I/O with Buffer. Click the Source links to access the source code.

Synopsis

Documentation

normalizeSoundFile :: FilePath -> FilePath -> IO ()Source

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.