/// <summary> /// Stop playing beat /// </summary> public void StopPlayingBeat() { if (Beat != null) { SoundMixer.RemoveInputStream(Beat.Channel); Beat.Dispose(); } Beat = null; BeatPlaying = false; }