$ pip install --upgrade git+https://github.com/UCLeuvenLimburg/midihelper.git
Install local version in development mode (not meant for students):
$ git clone https://github.com/UCLeuvenLimburg/midihelper.git
$ cd midihelper
$ pip install -e .
$ midihelper dump FILENAME [--format FORMAT] [--filter FILTER]
FORMAT determines the format for events.
%b
bytes in decimal%x
bytes in hexadecimal%T
delta time%t
event type%d
associated data
FILTER determines which events are shown.
$ midihelper notes FILENAME [--format FORMAT]
FORMAT placeholders:
%c
channel%n
note%s
start%e
end%d
duration%i
instrument
$ midihelper play FILENAME
Converts notes to midi file.
$ midihelper convert FILENAME NOTES [--beat BEAT] [--velocity VELOCITY]
Example:
$ midihelper convert test.mid "E8 Eb8 E8 Eb8 E8 b8 D8 C8 a"