sox-0.2.3: Play, write, read, convert audio signals using Sox

Safe HaskellSafe
LanguageHaskell98

Sound.Sox.Frame

Synopsis

Documentation

class C y => C y where #

Minimal complete definition

format

Methods

format :: y -> T #

Instances

C Double # 

Methods

format :: Double -> T #

C Float #

The floating point instances are dangerous, because Storable Float may not use IEEE format that sox uses according to its man page. This is strange since sox uses the host's endianess for multi-byte values. So, why does it not use the machine's floating point format?

Methods

format :: Float -> T #

C Int8 # 

Methods

format :: Int8 -> T #

C Int16 # 

Methods

format :: Int16 -> T #

C Int32 # 

Methods

format :: Int32 -> T #

C Word8 # 

Methods

format :: Word8 -> T #

C Word16 # 

Methods

format :: Word16 -> T #

C Word32 # 

Methods

format :: Word32 -> T #

C T # 

Methods

format :: T -> T #

C a => C (T a) # 

Methods

format :: T a -> T #

withSignal :: (y -> a) -> sig y -> a #

numberOfChannels :: C y => y -> Int #

The argument is not touched and can be undefined