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

Safe HaskellSafe
LanguageHaskell98

Sound.Sox.Frame

Synopsis

Documentation

class C y => C y where Source

Methods

format :: y -> T Source

Instances

C Double 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?

C Int8 Source 
C Int16 Source 
C Int32 Source 
C Word8 Source 
C Word16 Source 
C Word32 Source 
C T Source 
C a => C (T a) Source 

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

numberOfChannels :: C y => y -> Int

The argument is not touched and can be undefined