sample-frame

Handling of samples in an (audio) signal

http://www.haskell.org/haskellwiki/Synthesizer

Version on this page:0.0.3
LTS Haskell 22.39:0.0.4
Stackage Nightly 2024-10-31:0.0.4
Latest on Hackage:0.0.4

See all snapshots sample-frame appears in

BSD-3-Clause licensed and maintained by Henning Thielemann
This version can be pinned in stack with:sample-frame-0.0.3@sha256:784d1e1ee19e585ba0b902f20e5d70fbd6c7b245733598d87dea3aba625d09c6,2248

Module documentation for 0.0.3

Used by 3 packages in nightly-2022-06-27(full list with versions):

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.