JSON template

General
JSON stands for JavaScript Object Notation.

JSON is a lightweight format for storing and transporting data.

JSON is often used when data is sent from a server to a web page.

JSON is "self-describing" and easy to understand.

(Read more about it here.)

Example
This is an example of how the song looks. You can also check the formatted example below.

There are some values: "scores":["first path","second path","third path","fourth path"], You can put the custom amount of paths; it depends on what method is planned to use. If you use more than one, be sure that there is no delay (all tracks are played at the same moment, and the total length of each path should be the same).
 * "baseBpm" - in nowadays it doesn't matter what value will be there because BPMs are usually defined in "musics" section. It was setting starting BPM in the past.
 * "musics" - must be given:
 * "id" - defines one star. For standard songs, there might be only three ids, for challenges more than 3.
 * "bpm" - required for tools like json2midi or info checker. Optional, because given bpms matter only in music_json.csv
 * "baseBeats" - required to define the length of tiles.
 * "instruments" or "alternatives" - optional, you don't need to put it.
 * "scores" - all data about notes and lengths (tiles). You can put there a few paths, for example:
 * "audition" - optional, you don't need to put it.

Filename
Example: song.json

You can name song however you want and rename it in language_music.csv to any name. So the conflict between duplicated names can be solved by naming a song "song1.json", and renaming that back to "song" in language_music.csv. All JSON files of songs are located in /assets/res/song/ folder.