The haskore package

[ Tags: gpl, library, music, sound ] [ Propose Tags ]

Compose music using programming features. Output in MIDI, CSound, SuperCollider or as an audio signal.

[Skip to Readme]


Versions 0.0.5,, 0.0.6, 0.0.7, 0.1,,,,, 0.2,,,,,,,,
Dependencies array (>=0.1 && <1.0), base (>=1.0 && <2 || >=3 && <6), bytestring (==0.9.*), containers (>=0.1 && <1.0), data-accessor (==0.2.*), event-list (>=0.0.8 && <0.1), haskell-src (==1.0.*), HUnit (==1.2.*), markov-chain (>=0.0.1 && <0.1), midi (>=0.1.1 && <0.2), non-negative (>=0.0.1 && <0.1), parsec (==2.1.*), process (==1.0.*), QuickCheck (==1.*), random (>=1.0 && <2.0), special-functors (==1.0.*), transformers (>=0.0.1 && <0.2), utility-ht (>=0.0.3 && <0.1) [details]
License GPL
Author Paul Hudak <>, Henning Thielemann
Maintainer Henning Thielemann <>
Category Sound, Music
Home page
Source repository head: darcs get
this: darcs get --tag 0.1.1
Uploaded Thu Feb 11 17:47:35 UTC 2010 by HenningThielemann
Distributions Debian:, NixOS:
Executables autotrack, test
Downloads 4258 total (26 in the last 30 days)
Rating 0.0 (0 ratings) [clear rating]
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]
Hackage Matrix CI





Choose the new smaller, split-up base package.


Build test executables


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


Maintainer's Corner

For package maintainers and hackage trustees

Readme for haskore-

[back to package description]
 			 Haskore Music System

This is a revised and extended version of Haskore from

which evolved from the February 2000 release, available from:

The features are:
 - music can be composed by programming Haskell
 - the music is output into MIDI files, CSound, or SuperCollider,
   or even rendered to an audio stream with
 - CSound instruments can generated by programming Haskell, as well

 - all modules can be used with GHC,
   and many of them with Hugs

For more details, refer to the Tutorial.

For installation we recommend Cabal.

$ ./Setup.lhs configure --user
$ ./Setup.lhs build
$ ./Setup.lhs haddock
$ ./Setup.lhs install

This way you have a usable Haskore installation.

However most modules are written in literate style with LaTeX markup.
There are no Haddock comments.
You can build a PDF file which introduces you to the internals of Haskore.
However it got a bit out of sync over the time,
many parts are now extracted into separate packages.
You can build the documentation using

$ make pdf


Certainly you will want to try some examples.
To this end you must have installed CSound or a MIDI player, respectively.

$ make ghci   # interactive session in GHC
$ make hugs   # interactive session in Hugs
*Main> :load Haskore.Interface.CSound.Tutorial
*Haskore.Interface.CSound.Tutorial> test tut13
*Main> :load Haskore.Interface.MIDI.Render Haskore.Example.ChildSong6
*Haskore.Interface.MIDI.Render> playTimidity

You can choose other MIDI players. Type

*Haskore.Interface.MIDI.Render> :browse Haskore.Interface.MIDI.Render

to see the alternatives.

If you like to play via SuperCollider,
install the haskore-supercollider package
and continue with its Readme file.

Send requests, questions and comments to
   the original author of Haskore: Paul Hudak <>
   and the reviser: Henning Thielemann <>
   and for more discussion: