Step 1.

Upload your MIDI on this Website: https://tonejs.github.io/Midi/and copy the JSON output.

Step 2.

Paste the JSON output in that input:

Step 3.

Click on the button below. This website should ask to download a file.
Put this file into the "data/notty/functions/songs" folder inside the Datapack.