Playing-Midi-Files-on-Sonic-PI
Playing Midi Files on Sonic PI
This project starts by using a Midi to CSV program, downloaded from the Web, to convert a Midi format file into CSV format. The project code then operates on the CSV file to produce a CSV for each Midi track. These files contain two columns containing Midi notes, and a duration time. An example program uses these files to play the notes using Sonic PI.
Discussion
As a first cut I’m pleased with the results, although the playback has some synchronization problems. This is related to the paradigm shift of timing in Midi files and the way Sonic Pi tracks the time. Other parameters in the Midi file have been ignored such as the velocity values.
The purpose of this posting is to record what has been done so that the experts in Sonic Pi can make suggestions.