%%VERSION%%
Mu is an OCaml module for declaring music. It provides a simple type for representing music and combinators to define and compose it.
Music values are interpreted by renderers. Mu has built-in support for rendering music values to MIDI files.
Mu is distributed under the ISC license. It has no dependencies.
Homepage: https://erratique.ch/software/mu
Mu can be installed with opam
:
opam install mu
If you don't use opam
consult the opam
file for build
instructions.
The documentation can be consulted online or via odig doc mu
.
A few basic sample programs can be found in the test directory.
Questions are welcome but better asked on the OCaml forum than on the issue tracker.
Mu is essentially a port of the Euterpea library described in:
- Paul Hudak and Donya Quick. The Haskell School of Music. 2018