Erlang MIDI Library
Include one of the following in your project's rebar.config
:
%% Latest Release
{deps, [
{midilib, "0.4.1"}
]}.
or
%% Development
{deps, [
{midilib, {git, "https://github.com/erlsci/midilib", {branch, "release/0.5.x"}}}
]}.
Functions for creating MIDI messages, designed to be used with term_to_binary/1
and sent to Ports-capabale servers.
Reads and writes type 1 MIDI files (note that type 1 files may contain any number of tracks that would be performed synchronously.
Utility functions for handling note lengths, beats, quantization, and note names, and more.
Perform any checks / tests:
$ rebar3 as test check
- MIDI on WikiPedia
- MIDI 1.0 Specification
- MIDI File Format Specification
MIT License