These instructions assume you already have the knowledge needed to compile and run Java source files.
- Convert your .mid file to text using this free online tool with the "absolute" timestamp option
- When saving to .txt, only copy the lines that are formatted as follows:
192 On ch=1 n=36 v=23
(for optimal results, parse and compose different instruments separately) - Edit the absolute file paths for the input/output files in the main function of Main.java
- Set the composition's desired duration and speed progression by changing the parameters of the
composeScore
call - Compile and run the program
- The score text file can then be used to make MIDI notes with your method of choice; an example of how to play the notes with Pure Data is provided below:
Made by using music composed by Hans Zimmer for the Inception and Interstellar soundtracks: