A reusable function to play the sound.
Future<void> runAudioPlayer(String path) async { await player.setAsset(path); await player.play(); }