Beats is a simple ncurses based drum machine that serves as a demo for the SchedEx library.
It was demoed at Empex 2018; video is available here
Beats is mostly a toy. Caveat Emptor etc etc.
Beats makes use of the curses library to render a retro style console interface. Though it technically works with IEx, there are some rendering glitches that make it preferred to run a built release.
To run beats:
$ mix deps.get
$ mix release ; _build/dev/rel/beats/bin/beats foreground ; stty sane
beats watches the content of the scores
folder and loads any saved score files at the end of the current measure. In
addition to this interaction, the beats console application has the fopllowing key based commands:
1
-0
: Play the corresponding beat from the current scoreu
: Speed the BPM upd
: Slow the BPM downw
: Reduce the 16th swinge
: Increase the 16th swing<space>
: Toggle play / pause of the current scores
: Toggle stats display between various modesl
: Toggle live reldraw of the gridr
: Rebuild the displayq
: Quit
MIT