Copyright | George Giorgidze |
---|---|
License | BSD3 |
Maintainer | George Giorgidze <http://cs.nott.ac.uk/~ggg/> |
Stability | Experimental |
Portability | Portable |
Safe Haskell | None |
Language | Haskell98 |
Module for reading and writting of WAVE (.wav) audio files.
Documentation
importFile :: (MArray IOUArray a IO, IArray UArray a, Audible a, AudibleInWav a) => FilePath -> IO (Either String (Audio a)) Source #
exportFile :: (IArray UArray a, Audible a, AudibleInWav a) => FilePath -> Audio a -> IO () Source #
parseWav :: (MArray IOUArray a IO, IArray UArray a, Audible a, AudibleInWav a) => Parser (Audio a) Source #
class AudibleInWav a where Source #
parseSample :: Parser a Source #
buildSample :: a -> Builder Source #
bitsPerSample :: a -> Int Source #