示例#1
0
        /// <summary>
        /// Default constructor, does all initialization
        /// </summary>
        public AudioManager()
        {
            _recorder = new Recorder();
            _engine = new AudioEngine();
            _engine.SetCallback(this); //Do this before anything else!
            viewModel = MainViewModel.Instance;

            isPlaying = false;

            _engine.SetBPM(120);

            LoadClickWAVFile("Assets/clickTrack.wav");
        }