A Haskell implementation of a euclidean rhythm generator
This software requires Euterpea library and a MIDI synthesizer to run
Other dependencies are listed in earth.cabal, to install them run cabal build
cabal run rhythmFile
The input file specifies the rhythm in a JSON format. Here is an example of a cuban tresillo played on the E note of a slap bass:
{
"tempo": {
"numerator": 4,
"denominator": 1
},
"tracks": [
{
"instrument": "SlapBass1",
"note": "e",
"octave": 2,
"delay": 0,
"beats": 3,
"total": 8
}
]
}
All Euterpea's instruments are available, except CustomInstrument
More complex examples are provided in the examples directory. They show more articulated rhythms made by mixing together simple euclidean rhythms played on different instruments, notes, octaves and onset (delay)