protected override void KeyPressed(KeyEventArgs e) { switch (e.KeyCode) { case KeyCode.F1: if (_groovyMusic.IsPlaying) { _groovyMusic.Pause(); } else { _groovyMusic.Play(); } break; case KeyCode.F2: _groovyMusic.Stop(); break; case KeyCode.Space: _doomShotgun.Play(); break; case KeyCode.F3: _doomShotgun.Volume -= 0.1f; break; case KeyCode.F4: _doomShotgun.Volume += 0.1f; break; case KeyCode.F5: Audio.MasterVolume -= 0.1f; break; case KeyCode.F6: Audio.MasterVolume += 0.1f; break; case KeyCode.F7: if (_waveform.IsPlaying) { _waveform.Pause(); } else { _waveform.Play(); } break; } }