where can i found the built-in audio to use it whi...
# ask-ai
d
where can i found the built-in audio to use it while the handoff?
t
Thanks for reaching out, nawaf. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Hey there! LiveKit comes with some handy built-in audio clips like
KEYBOARD_TYPING
and
OFFICE_AMBIENCE
that you can play during a session using the
BackgroundAudioPlayer
. That said, there isn’t a specific built-in audio cue just for handoff events. No worries though—you can easily add your own audio feedback during a handoff by: • Using
session.say()
to let the user know verbally before or after the handoff happens. • Playing custom or built-in ambient sounds with
BackgroundAudioPlayer
around the handoff moment. • Leveraging the
AgentHandoffEvent
to trigger audio playback programmatically. If you’d like, I’m happy to help you set up a custom audio cue for the agent handoff—just let me know! Sources: Workflows | LiveKit Docs | examples/drive-thru/drivethru_agent.py | Agent speech and audio | LiveKit Docs | Tool definition and use | LiveKit Docs
d
i want to listen to the audios
t
Hey there! LiveKit comes with some handy built-in audio clips you might find useful: • OFFICE_AMBIENCE: The gentle buzz of a busy office in the background. • KEYBOARD_TYPING: The sound of someone typing away on a keyboard. • KEYBOARD_TYPING2: A shorter, snappier typing sound. You can play these clips using the
BackgroundAudioPlayer
class. If you'd like, I’m here to help you get set up or show you how to access these audio clips—just let me know! Sources: Agent speech and audio | LiveKit Docs | livekit-agents/livekit/agents/resources/NOTICE | Ingress & Media Input | livekit/livekit_composite | DeepWiki | Media Samples & Testing | livekit/livekit_composite | DeepWiki