Json2midi

json2midi
Json2midi is a program that can convert Piano Tiles 2 songs to MIDI Files.

MIDIs generated by this program have TPQN = 960 and BPMs = TPM/2. Source code is available here.

It might be used by command for Discord bot - Volian1.

How to use
There are 3 ways to use this program.

Automatic
If the JSON file contains bpms and baseBeats, you can just simply pass the filename as parameter. json2midi song.json

Manual
In this mode, you need to specify all required bpms and baseBeats for each part. json2midi song.json 120 0.25 122 0.25 124 0.5

Using music_json.csv
You can convert the entire CSV by passing it as parameter. You can't convert CSVs using Volian1 bot. json2midi music_json.csv