HCodecs-0.0.1: The library to read, write and manipulate MIDI, WAV, and SoundFont2 files.Source codeContentsIndex
Data.Audio
PortabilityPortable
StabilityExperimental
MaintainerGeorge Giorgidze <http://cs.nott.ac.uk/~ggg/>
Description
General purpose data type for representing an audio data.
Documentation
type Sample = DoubleSource
data Audio a Source
Constructors
Audio
sampleRate :: SampleRate
channelNumber :: ChannelNumber
sampleData :: SampleData a
show/hide Instances
type SampleRate = IntSource
type ChannelNumber = IntSource
type SampleNumber = Word64Source
type SampleData a = DiffUArray SampleNumber aSource
sampleType :: IArray DiffUArray a => SampleData a -> aSource
sampleNumber :: IArray DiffUArray a => SampleData a -> SampleNumberSource
convert :: (Audible a, Audible b, IArray DiffUArray a, IArray DiffUArray b) => SampleData a -> SampleData bSource
parseSampleData :: IArray DiffUArray a => SampleNumber -> Parser a -> Parser (SampleData a)Source
buildSampleData :: IArray DiffUArray a => (a -> Builder) -> SampleData a -> BuilderSource
class Audible a whereSource
Methods
toSample :: a -> SampleSource
fromSample :: Sample -> aSource
show/hide Instances
Produced by Haddock version 2.4.2