I have a bottle opener that can "record" a short sound and play the sound when anything metal (bottle cap) touches the metal opener parts and complete the circuit. You can try getting one of this from dollar store and use the circuit.
OR
Get an Arduino Micro or Mini, a passive buzzer, and start to write the sound you want into an AC signal (this can be diffcult depends on what sound you want).
__________________
|