/// <summary> /// Silences all notes on this output device. /// </summary> /// <exception cref="InvalidOperationException">The device is not open.</exception> /// <exception cref="DeviceException">The message cannot be sent.</exception> public void SilenceAllNotes() { lock (this) { CheckOpen(); CheckReturnCode(Win32API.midiOutReset(handle)); } }