Copyright | George Giorgidze |
---|---|
License | BSD3 |
Maintainer | George Giorgidze <http://cs.nott.ac.uk/~ggg/> |
Stability | Experimental |
Portability | Portable |
Safe Haskell | None |
Language | Haskell98 |
General purpose data type for representing an audio data.
Documentation
Audio | |
|
type SampleData a = UArray Int a Source #
data SampleMode Source #
sampleType :: IArray UArray a => SampleData a -> a Source #
sampleNumber :: IArray UArray a => SampleData a -> Int Source #
convert :: (Audible a, Audible b, IArray UArray a, IArray UArray b) => SampleData a -> SampleData b Source #
parseSampleData :: (MArray IOUArray a IO, IArray UArray a) => Int -> Parser a -> Parser (SampleData a) Source #
buildSampleData :: IArray UArray a => (a -> Builder) -> SampleData a -> Builder Source #
fromSample :: Audible a => Sample -> a Source #