- data AudioStreamState
- class WritableAudio a where
- emptyState :: a -> AudioStreamState
- initState :: a -> Handle -> AudioStreamState
- supportedBitDepths :: a -> SupportedBitDepths
- fileType :: a -> SupportedFileFormat
- type AudioMonad = StateT AudioStreamState IO
- module Control.Monad.Trans.State
- defaultChunkLength :: Int
- data AudioFormat = AudioFormat {}
- data SupportedBitDepths
- type NumChannels = Integer
- type SampleRate = Integer
- type BitDepth = Integer
- type FrameCount = Integer
- data SupportedFileFormat
Types
Internal types
data AudioStreamState Source
Information about the AudioStream
class WritableAudio a whereSource
Common functions for writing audio data
emptyState :: a -> AudioStreamStateSource
initState :: a -> Handle -> AudioStreamStateSource
supportedBitDepths :: a -> SupportedBitDepthsSource
fileType :: a -> SupportedFileFormatSource
type AudioMonad = StateT AudioStreamState IOSource
Audio monad stack (for writing files)
Functions to work with AudioMonad
module Control.Monad.Trans.State
Audio Format types
data AudioFormat Source
Format of audio data
AudioFormat | |
|
type NumChannels = IntegerSource
type SampleRate = IntegerSource
type FrameCount = IntegerSource
File Format Types
data SupportedFileFormat Source
An enumeration of all file types supported for reading and writing.