How to get MidiFile format type

Thank you reuk ! :pray: That’s wonderful :slight_smile:

As for the second question, I found the example in this answer to be particularly useful, and yes it’s pretty much exactly as you said <3