Home

Awesome

MIDI Piano Rolls

A C++ library to process MIDI files extracted from piano-roll scan images.

Downloading

To download using git in a terminal:

git clone https://github.com/craigsapp/midiroll

Compiling

To compile, type:

make

This will compile the utility programs and place them in the bin directory.

Tools

NameDescription
asciirollConvert between ASCII and binary MIDI files
countnotesCount the number of notes for each pitch. Useful to verify roll format.
fpedConvert sustain pedal into note extensions.
mirrorMirror pitch to check for images which are scaned in mirrored orientation.
notelist
roll2ms
expscale.cppRescale note velocities to a new range.
roll2mstickConvert tempo messages to millisecond tick values.
rollaccelModel roll acceleration.
rollbreak
rolltempo
rolltextAdd/read metadata entries in a MIDI file.
setinstrumentSet the instruments used in the MIDI file.
tempomm
tick2time
trackerizeModel tracker bar hole extension.