midifiletoolsR Midi files (a standard way to represent music as file) are binary files and cannot be handled easily in R. This toolkit allows to create midi files from dataframes by mapping variables to pitches, durations, volume, and instruments.