This project plays a provided MIDI file using the MIDI syscalls the MARS emulator provides.
To accomplish this the program:
- Reads the MIDI Headers
- Reads each audio track, converting start/end times to start and total times.
- Combines each track into one big array
- Plays the array sequentially
Playing Rick Astley - Never Gonna Give You Up
This project was fueled by a desire to play Owl City - Fireflies using MIPS. I have gotten the project to a point where I believe that Fireflies is distinguishable, and will leave it there. Other files may (and usually don't) work very well.