public static void loadXACTMusicPacks()
        {
            string[] listOfDirectories = Directory.GetDirectories(XACTMusicDirectory);
            foreach (string folder in listOfDirectories)
            {
                string waveBank  = Path.Combine(folder, "Wave Bank.xwb");
                string soundBank = Path.Combine(folder, "Sound Bank.xwb");
                string metaData  = Path.Combine(folder, "MusicPackInformation.json");
                if (!File.Exists(waveBank))
                {
                    ModMonitor.Log("Error loading in attempting to load music pack from: " + folder + ". There is no file Wave Bank.xwb located in this directory. AKA there is no valid music here.", LogLevel.Error);
                    return;
                }

                if (!File.Exists(soundBank))
                {
                    ModMonitor.Log("Error loading in attempting to load music pack from: " + folder + ". There is no file Sound Bank.xwb located in this directory. This is needed to play the music from Wave Bank.xwb", LogLevel.Error);
                    return;
                }

                if (!File.Exists(metaData))
                {
                    ModMonitor.Log("WARNING! Loading in a music pack from: " + folder + ". There is no MusicPackInformation.json associated with this music pack meaning that while songs can be played from this pack, no information about it will be displayed.", LogLevel.Error);
                }
                StardewSymphonyRemastered.Framework.XACTMusicPack musicPack = new XACTMusicPack(folder, waveBank);
                musicManager.addMusicPack(musicPack);
            }
        }
        /// <summary>
        /// Load in the XACT music packs.
        /// </summary>
        public static void loadXACTMusicPacks()
        {
            string[] listOfDirectories = Directory.GetDirectories(XACTMusicDirectory);
            foreach (string folder in listOfDirectories)
            {
                //This chunk essentially allows people to name .xwb and .xsb files whatever they want.
                string[] xwb = Directory.GetFiles(folder, "*.xwb");
                string[] xsb = Directory.GetFiles(folder, "*.xsb");

                string[] debug = Directory.GetFiles(folder);
                if (xwb.Length == 0)
                {
                    ModMonitor.Log("Error loading in attempting to load music pack from: " + folder + ". There is no wave bank music file: .xwb located in this directory. AKA there is no valid music here.", LogLevel.Error);
                    return;
                }
                if (xwb.Length >= 2)
                {
                    ModMonitor.Log("Error loading in attempting to load music pack from: " + folder + ". There are too many wave bank music files or .xwbs located in this directory. Please ensure that there is only one music pack in this folder. You can make another music pack but putting a wave bank file in a different folder.", LogLevel.Error);
                    return;
                }

                if (xsb.Length == 0)
                {
                    ModMonitor.Log("Error loading in attempting to load music pack from: " + folder + ". There is no sound bank music file: .xsb located in this directory. AKA there is no valid music here.", LogLevel.Error);
                    return;
                }
                if (xsb.Length >= 2)
                {
                    ModMonitor.Log("Error loading in attempting to load music pack from: " + folder + ". There are too many sound bank music files or .xsbs located in this directory. Please ensure that there is only one sound reference file in this folder. You can make another music pack but putting a sound file in a different folder.", LogLevel.Error);
                    return;
                }

                string waveBank  = xwb[0];
                string soundBank = xsb[0];
                string metaData  = Path.Combine(folder, "MusicPackInformation.json");

                if (!File.Exists(metaData))
                {
                    ModMonitor.Log("WARNING! Loading in a music pack from: " + folder + ". There is no MusicPackInformation.json associated with this music pack meaning that while songs can be played from this pack, no information about it will be displayed.", LogLevel.Error);
                }
                StardewSymphonyRemastered.Framework.XACTMusicPack musicPack = new XACTMusicPack(folder, waveBank, soundBank);
                musicManager.addMusicPack(musicPack, true, true);

                musicPack.readFromJson();
            }
        }