Added midi file generator