midilib

Erlang MIDI Library

Build StatusErlang VersionsTag

Project Logo

Setup

Include one of the following in your project's rebar.config:

%% Latest Release
{deps, [
{midilib, "0.3.0"}
]}.

or

%% Development
{deps, [
{midilib, {git, "https://github.com/erlsci/midilib", {branch, "release/0.4.x"}}}
]}.

midimsg

Functions for creating MIDI messages, designed to be used with term_to_binary/1 and sent to Ports-capabale servers.

midifile

Reads and writes type 1 MIDI files (note that type 1 files may contain any number of tracks that would be performed synchronously.

midilib_util

Utility functions for handling note lengths, beats, quantization, and note names, and more.

Testing

Perform any checks / tests:

$ rebar3 as test check

Resources

License

MIT License