sample-frame-0.0.1: Handling of samples in an (audio) signal



class C y whereSource


numberOfChannels :: y -> IntSource

The argument is not touched and can be undefined

sizeOfElement :: y -> IntSource

Size of elements. In a nested record type, like Stereo (Stereo a), it is the size of the atomic element, in our example a.


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

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