audio-playback
БесплатноБез исполняемых скриптовНе проверен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…
от sonilo-ai★ 117 звёзд на GitHubОб этом скилле
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).
Установить audio-playback в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
BashReadmcp__sonilo__*FAQ
Что делает скилл audio-playback?
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.
Как установить скилл audio-playback?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл audio-playback запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic