Instruments and alternatives

General
Instruments and alternatives define the kind of instrument which might use for some path. It's an optional function, so it's possible to make a JSON song without it. You can put any instrument you want with supported sounds in .mp3 format. Instruments are located in /assets/res/music/ folder. Default instrument is piano.

Instruments
They should be equal to the number of paths - for each track choose the instrument. Example: "instruments":["piano","piano"] All two tracks will get piano sounds. It's possible to create another path with drum sounds or other instruments you want. The sounds should be named similar to piano notes - the more comfortable way. If the file is named kick.mp3, you can put the note like "kick[M]," - kick.mp3 will play during gameplay. In the main Piano Tiles 2 JSON files, we can notice some special instruments which might be downloaded from Cheetah Mobile servers, like "free_loop_bass". That's unique bass sounds.

Alternatives
Alternative instruments for each part in offline mode - it might be blank, but PT2 creators intended it to play other instruments if it's impossible to connect with their servers. Example (with used instruments): "instruments":["free_loop_bass"],"alternatives":["bass"]