hsndfile-storablevector-0.5.2: Haskell bindings for libsndfile (Data.StorableVector interface)

Safe HaskellNone

Sound.File.Sndfile.Buffer.StorableVector.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.