sample-frame-0.0.4: sample-frame.cabal
Cabal-Version: 2.2
Name: sample-frame
Version: 0.0.4
License: BSD-3-Clause
License-File: LICENSE
Author: Henning Thielemann <haskell@henning-thielemann.de>
Maintainer: Henning Thielemann <haskell@henning-thielemann.de>
Homepage: http://www.haskell.org/haskellwiki/Synthesizer
Category: Sound
Synopsis: Handling of samples in an (audio) signal
Description:
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@.
Tested-With: GHC==7.4.2
Build-Type: Simple
Source-Repository this
Tag: 0.0.4
Type: darcs
Location: http://code.haskell.org/~thielema/sample-frame/core/
Source-Repository head
Type: darcs
Location: http://code.haskell.org/~thielema/sample-frame/core/
Flag buildBenchmarks
description: Build benchmark executables
default: False
Flag splitBase
description: Choose the new smaller, split-up base package.
Library
Build-Depends:
storable-record >=0.0.2 && <0.1,
QuickCheck >= 1.0 && <3.0
If flag(splitBase)
Build-Depends:
base >= 2 && <5
Else
Build-Depends:
special-functors >= 1.0 && <1.1,
base >= 1.0 && < 2
Hs-Source-Dirs: src
GHC-Options: -Wall
Default-Language: Haskell98
Exposed-Modules:
Sound.Frame
Sound.Frame.Stereo
Sound.Frame.MuLaw
Executable speedtest
If flag(buildBenchmarks)
Build-Depends:
storablevector >=0.2.4 && <0.3,
storable-record >=0.0.2 && <0.1,
storable-tuple >=0.0.1 && <0.1,
QuickCheck,
base
Else
Buildable: False
GHC-Options: -Wall -fexcess-precision -threaded
-- -ddump-simpl-stats -ddump-asm
Hs-Source-Dirs: src
Default-Language: Haskell98
Main-Is: SpeedTest.hs
Other-Modules:
Sound.Frame
Sound.Frame.Stereo.Record
Sound.Frame.Stereo.Traversable