out put mid file for mallet