added midi Save func Skeleton

Done:
 - midi save func skeleton