Skip to content
mika edited this page Dec 27, 2025 · 2 revisions

Welcome to the GameMusicLibraryForUnity wiki!

Current v1 json format

{
  "version": 1,
  "basePath": "music/",
  "tracks": [
	{
	  "id": "Pixelated Showdown",
	  "title": "Pixelated Showdown",
	  "author": "unitycoder.com",
	  "category": "Retro",
	  "style": "Synthwave",
	  "tags": [
		"chiptune",
		"video game music",
		"electronic",
		"retro"
	  ],
	  "aiGenerated": true,
	  "duration": 212
	},
	{
	  "id": "Pixelated Showdown 2",
	  "title": "Pixelated Showdown 2",
	  "author": "unitycoder.com",
	  "category": "Retro",
	  "style": "Synthwave",
	  "tags": [
		"retro",
		"night",
		"drive",
		"loop"
	  ],
	  "aiGenerated": true,
	  "duration": 222
	}
  ]
}

C# Class

    [Serializable]
    private class Catalog
    {
        public int version;
        public string basePath;
        public List<Track> tracks;
    }

    [Serializable]
    private class Track
    {
        public string id;
        public string title;
        public string author;
        public string category;
        public string style;
        public string[] tags;
        public bool aiGenerated;
        public int duration;
    }

Clone this wiki locally