Add the ButtonAudioPlayer node to any Button node (Button, TextureButton, etc.), add the sound effects to play in the inspector. Each key event can correspond to a different sound effects.