audio-playback
Skill117 starsChanged 3 months agoMITView on GitHub
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.
- Reads credentials
- Installs packages
1 other project uses a version of this.
Adopted by
Most recently taken up by
- Bbeierle12/Skill-MCP-Claudetheir own version, first seen Nov 1, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- Bbeierle12/Skill-MCP-Claude★ 9same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository14 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- accountSkill
- audio-duckingSkill
- auto-dubbingSkill
- proofreadSkill
- setup-api-keySkill
- task-recoverySkill
- text-to-musicSkill
- text-to-sfxSkill
- video-analysisSkill
- video-to-musicSkill
- video-to-sfxSkill
- video-to-soundSkill
The file
Files
Sonilo Audio Playback
Play a local audio file out loud through the system's default output device. This is the one Sonilo tool that makes no network call — it's pure local playback, useful right after a generation so the user can hear the result without leaving the conversation.
Setup: just needs the Sonilo MCP server connected — no API key required (see setup-api-key if the server itself isn't connected yet).
Quick Start
MCP tool call
play_audio(input_file_path="~/Desktop/thunder.m4a")There is no REST, Python/JS SDK, or CLI equivalent — this is local-only playback specific to the MCP server, not a Sonilo API call at all. If you're integrating via the SDK or CLI instead of MCP, just play the saved file with whatever your own language/platform normally uses for local audio playback.
Tool
| Tool | Description |
play_audio(input_file_path) | Play a local audio file through the system's default speakers. |
Parameters
| Parameter | Type | Notes |
input_file_path | string | Absolute path, or relative to SONILO_MCP_BASE_PATH. Supports .wav/.mp3/.m4a/.aac/.ogg/.flac. |
Workflow Tips
- Natural follow-up after any generation tool. Once
text_to_music,text_to_sfx,video_to_music, etc. return a saved path, offer (or default, if the user's phrasing implies it — e.g. "play what you just made") to callplay_audioon that same path. - Platform playback path: macOS uses
afplay; Linux prefersmpg123for.mp3oraplayotherwise. Windows has no native-player branch at all and always falls back to thesounddevice/soundfilePython packages, same as Linux when neithermpg123noraplayis installed — that fallback needs the systemPortAudiolibrary installed separately (brew install portaudioon macOS,sudo apt-get install libportaudio2on Debian/Ubuntu). Everything else in this repo works without PortAudio. - Respects the same file-access confinement as every other tool: a path outside
SONILO_MCP_BASE_PATHis rejected unlessSONILO_MCP_ALLOW_ANY_PATH=trueis set.
Error Handling
Raises if the file doesn't exist, isn't a recognized audio format, is outside the confined base path, or if no player is available on the platform (with a message naming what's missing).
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

