Exemple #1
0
        static void InitSynth()
        {
            if (settings != null)
            {
                Synth.settings = settings.GetPlatformSettings();
                if (Synth.settings.GetSynthEnum() == Synth.SynthEnum.Bass24)
                {
#if UNITY_ANDROID || UNITY_WSA
                    BASS24NETSynth.Register(settings.userName, settings.password);
#endif
                }
                Synth.Start();
            }
            else
            {
                Debug.LogError("InitSynth : MIDISettings NULL");
            }
        }
Exemple #2
0
 public static void Register(string user, string password)
 {
     BASS24NETSynth.Register(user, password);
 }