Loading...
Loading...
Play a local audio file through the system's default speakers using Sonilo's MCP server. Use after generating a track with Sonilo (or for any local WAV/MP3/M4A/AAC/OGG/FLAC file) when the user wants to hear it immediately instead of just getting the saved path.
npx skill4agent add sonilo-ai/skills audio-playbackSetup: just needs the Sonilo MCP server connected — no API key required (see setup-api-key if the server itself isn't connected yet).
play_audio(input_file_path="~/Desktop/thunder.m4a")| Tool | Description |
|---|---|
| Play a local audio file through the system's default speakers. |
| Parameter | Type | Notes |
|---|---|---|
| string | Absolute path, or relative to |
text_to_musictext_to_sfxvideo_to_musicplay_audioafplaympg123.mp3aplaysounddevicesoundfilempg123aplayPortAudiobrew install portaudiosudo apt-get install libportaudio2SONILO_MCP_BASE_PATHSONILO_MCP_ALLOW_ANY_PATH=true