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

[ bsd3, library, sound ] [ Propose Tags ]

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.


Automatic Flags

Build benchmark executables


Choose the new smaller, split-up base package.


Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info


Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


  • No Candidates
Versions [RSS] 0.0.1, 0.0.2, 0.0.3, 0.0.4
Dependencies base (>=1.0 && <5), QuickCheck (>=1.0 && <3.0), special-functors (>=1.0 && <1.1), storable-record (>=0.0.2 && <0.1), storable-tuple (>=0.0.1 && <0.1), storablevector (>=0.2.4 && <0.3) [details]
License BSD-3-Clause
Author Henning Thielemann <>
Maintainer Henning Thielemann <>
Category Sound
Home page
Source repo this: darcs get --tag 0.0.4
head: darcs get
Uploaded by HenningThielemann at 2023-01-06T20:21:40Z
Distributions LTSHaskell:0.0.4, NixOS:0.0.4, Stackage:0.0.4
Reverse Dependencies 8 direct, 8 indirect [details]
Executables speedtest
Downloads 3940 total (28 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]