Added some stuff with the MidiBuffer class to try out timing midi output