wooden-librarian-60399
08/17/2025, 6:32 PMtall-airline-16756
08/17/2025, 6:32 PMtall-airline-16756
08/17/2025, 6:32 PMwooden-librarian-60399
08/17/2025, 6:49 PMtall-airline-16756
08/17/2025, 6:49 PMWavPlayer
utility. Here’s a quick guide to help you out:
1. First, initialize the WAV Player:
from agent_extensions.utils import WavPlayer
wav_player = WavPlayer()
2. Next, play your audio file:
await wav_player.play_once(
"path_to_your_audio_file.wav",
room,
volume=0.3 # You can tweak the volume from 0.0 to 1.0 to get it just right
)
And that’s it! Your WAV file will play once in the room you specify. If you have any questions or want me to walk you through anything else, just let me know—I’m here to help!