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 Source #

Minimal complete definition

format

Methods

format :: y -> T Source #

Instances

C Double Source # 

Methods

format :: Double -> T Source #

C Float Source #

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 Source #

C Int8 Source # 

Methods

format :: Int8 -> T Source #

C Int16 Source # 

Methods

format :: Int16 -> T Source #

C Int32 Source # 

Methods

format :: Int32 -> T Source #

C Word8 Source # 

Methods

format :: Word8 -> T Source #

C Word16 Source # 

Methods

format :: Word16 -> T Source #

C Word32 Source # 

Methods

format :: Word32 -> T Source #

C T Source # 

Methods

format :: T -> T Source #

C a => C (T a) Source # 

Methods

format :: T a -> T Source #

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

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

The argument is not touched and can be undefined