audacity-0.0.1.2: Interchange with the Audacity sound signal editor

Safe HaskellNone
LanguageHaskell2010

Sound.Audacity.Project.Track.Wave

Synopsis

Documentation

data T Source #

Constructors

Cons 

Instances

Show T Source # 

Methods

showsPrec :: Int -> T -> ShowS #

show :: T -> String #

showList :: [T] -> ShowS #

data Clip Source #

Constructors

Clip 

Instances

data Block Source #

Constructors

Block 

Instances

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.