If i remove some parts of the midi file source it works but i dont see any reason for that