audacity-0.0.2.2: Interchange with the Audacity sound signal editor
Safe HaskellSafe-Inferred
LanguageHaskell2010

Sound.Audacity.Project.Track.Wave

Synopsis

Documentation

data T Source #

Constructors

Cons 

Instances

Instances details
Show T Source # 
Instance details

Defined in Sound.Audacity.Project.Track.Wave

Methods

showsPrec :: Int -> T -> ShowS #

show :: T -> String #

showList :: [T] -> ShowS #

data Clip Source #

Constructors

Clip 

Instances

Instances details
Show Clip Source # 
Instance details

Defined in Sound.Audacity.Project.Track.Wave

Methods

showsPrec :: Int -> Clip -> ShowS #

show :: Clip -> String #

showList :: [Clip] -> ShowS #

data Sequence Source #

Instances

Instances details
Show Sequence Source # 
Instance details

Defined in Sound.Audacity.Project.Track.Wave

data SampleFormat Source #

data Block Source #

Constructors

Block 

Instances

Instances details
Show Block Source # 
Instance details

Defined in Sound.Audacity.Project.Track.Wave

Methods

showsPrec :: Int -> Block -> ShowS #

show :: Block -> String #

showList :: [Block] -> ShowS #

data BlockFile Source #

Instances

Instances details
Show BlockFile Source # 
Instance details

Defined in Sound.Audacity.Project.Track.Wave

toXML :: T -> [[T T String]] Source #

pcmAliasSequence :: Monad m => SampleFormat -> Int -> Int -> FilePath -> Int -> Monad m Sequence Source #

maxSamples_ must be at least 1024, otherwise you get an error about clip values if you load the project to Audacity. However, 1024 is not necessarily a good value. Audacity uses 524288 by default.

data BlockOrder Source #

This type lets you specify how to order blocks of multi-channel sounds. Both orders always work but Haskell's garbage collector works best, if the order matches the order of the data production.

Constructors

Serial

All blocks of a channel are stored adjacently.

Interleaved

Blocks of channels are interleaved.

pcmAliasSequencesFromStorableVectorChannels :: MonadIO m => BlockOrder -> Int -> FilePath -> [Vector Float] -> Monad m [Sequence] Source #

It is an unchecked error if StorableVectors have different lengths.