sndfile-enumerators-0.5.0: Audio file reading/writing

Sound.Iteratee.Base

Contents

Synopsis

Types

Internal types

data AudioStreamState Source

Information about the AudioStream

Constructors

WaveState !(Maybe Handle) !(Maybe AudioFormat) !Integer !Integer !Integer

Handle, format, Total bytes written, data bytes written, data chunklen offset

NoState 

type AudioMonad = StateT AudioStreamState IOSource

Audio monad stack (for writing files)

Functions to work with AudioMonad

Audio Format types

data AudioFormat Source

Format of audio data

Constructors

AudioFormat 

Fields

numberOfChannels :: NumChannels

Number of channels in the audio data

sampleRate :: SampleRate

Sample rate of the audio data

bitDepth :: BitDepth

Bit depth of the audio data

File Format Types

data SupportedFileFormat Source

An enumeration of all file types supported for reading and writing.

Constructors

Raw 
Wave