17/01/2013 - Midi functions continuation.