BSD-3-Clause licensed and maintained by Henning Thielemann
This version can be pinned in stack with:sample-frame-0.0.4@sha256:0e1f4ecd8c475bd288713d5e76009c45911219cf921aba8e7599fca44ef62037,2359

Module documentation for 0.0.4

This package provides a type class to handle signed and unsigned samples of various size and number of channels in a uniform way.

We expect that you use the types Int8, Word8 and so on for monophonic samples and thus provide instances of the class for them. Further we define Stereo record and mu-law sample type. Quadrophony can be achieved by nested Stereo value, but I'm uncertain, whether this is a good way to go. Maybe we add 5+1 channels or so in future.

This is used by packages sox, alsa, synthesizer.