Midi and Xml export