public static Metronome StopMetronome(string name) { Metronome m = GetMetronome(name); m.Stop(); return(m); }
public void Stop() { Timer?.Stop(); Metronome?.Stop(); state = state.Transition( pomStateInactive => pomStateInactive, pomStateActive => pomStateActive.Stop(), pomStateBreak => pomStateBreak.Stop() ); }
public void Dispose() { Metronome.Stop(); Sequencer.Stop(); }