Create MIDI notes given command line arguments

Assumes that args are set as
#a1 note
#a2 velocity
#a3 duration
#a4 instrument
#a5 N/A

add_rest simply increments the time tracker.