This repository has been archived by the owner on May 5, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
hsynth.cabal
107 lines (95 loc) · 3.13 KB
/
hsynth.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
name: hsynth
version: 0.2.0.0
synopsis: A audio synthesis library for Haskell
license: BSD3
license-file: LICENSE
author: Sven Keidel
maintainer: [email protected]
copyright: Copyright (c) 2016, Sven Keidel
category: Language
build-type: Simple
cabal-version: >=1.10
tested-with: GHC >= 8.0
flag jack
description: Enable Jack support
default: False
flag examples
description: Enable examples
default: False
flag plot
description: Enable functionality for plotting audio Signals
default: False
library
exposed-modules: Data.MidiFile,
Data.MidiMessage,
Data.MidiManufacturer,
Data.SMPTE,
Language.Frontend,
Data.Stream,
Sound.Amplifier,
Sound.Oscillators,
Sound.Oscillators.Saw,
Sound.Oscillators.Sine,
Sound.Oscillators.Square,
Sound.Oscillators.Triangle,
Sound.Types
other-modules: Data.MidiManufacturerTH,
Language.Constant,
Language.Expression,
Language.SimpleExpression,
Language.GroundExpr,
Language.Function,
Language.SynArrow,
Language.CodeGen.TH,
Data.MidiManufacturerTH
build-depends: base >=4 && <5,
cassava,
mtl,
containers,
text,
vector,
binary,
bytestring,
unix,
template-haskell,
ghc-prim
ghc-options: -Wall -O2
if flag(jack)
pkgconfig-depends: jack
exposed-modules: Sound.Driver.Jack
if flag(plot)
build-depends: plot,
plot-gtk,
hmatrix
exposed-modules: Sound.Plot
hs-source-dirs: src
default-language: Haskell2010
executable example-jack
main-is: examples/ExampleJack.hs
if flag(jack) && flag(examples)
build-depends: base,
hsynth
else
buildable: False
ghc-options: -Wall -O2 -threaded
default-language: Haskell2010
test-suite specs
type: exitcode-stdio-1.0
ghc-options: -Wall
hs-source-dirs: test
main-is: Spec.hs
build-depends: base,
binary,
bytestring,
hsynth,
hspec
default-language: Haskell2010
benchmark bench
type: exitcode-stdio-1.0
hs-source-dirs: bench
main-is: Main.hs
build-depends: base,
criterion,
ghc-prim
ghc-options: -Wall -O2 -threaded
default-language: Haskell2010