Starting to integrate midi playback in the engine.