sox-0.2.3.2: Play, write, read, convert audio signals using Sox
Safe HaskellSafe-Inferred
LanguageHaskell98

Sound.Sox.Frame

Synopsis

Documentation

class C y => C y where Source #

Methods

format :: y -> T Source #

Instances

Instances details
C Int16 Source # 
Instance details

Defined in Sound.Sox.Frame

Methods

format :: Int16 -> T Source #

C Int32 Source # 
Instance details

Defined in Sound.Sox.Frame

Methods

format :: Int32 -> T Source #

C Int8 Source # 
Instance details

Defined in Sound.Sox.Frame

Methods

format :: Int8 -> T Source #

C Word16 Source # 
Instance details

Defined in Sound.Sox.Frame

Methods

format :: Word16 -> T Source #

C Word32 Source # 
Instance details

Defined in Sound.Sox.Frame

Methods

format :: Word32 -> T Source #

C Word8 Source # 
Instance details

Defined in Sound.Sox.Frame

Methods

format :: Word8 -> T Source #

C T Source # 
Instance details

Defined in Sound.Sox.Frame

Methods

format :: T -> T0 Source #

C Double Source # 
Instance details

Defined in Sound.Sox.Frame

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?

Instance details

Defined in Sound.Sox.Frame

Methods

format :: Float -> T Source #

C a => C (T a) Source # 
Instance details

Defined in Sound.Sox.Frame

Methods

format :: T a -> T0 Source #

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

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

The argument is not touched and can be undefined