split out midi from layout