Euterpea is a Haskell library for computer music (in terms of musical structures as well as lower-level audio signals.) The current instructions for the official project site specify how to carry out an installation using the build tool cabal
, but you can also set up a stack
project to work with Euterpea as an external dependency as well. Here's how I've been able to work with Euterpea in stack
projects so far:
- Create a
stack
project directory (here, I'll call mineexample
and use thesimple
template):
$ stack new example simple
$ cd example
- I'd like to use Euterpea, so I'll add it to the
build-depends
section in my.cabal
file: