audio-playback
/audio-playback
Odtwarza lokalny plik audio na głośnikach Maca przez MCP Sonilo, zaraz po wygenerowaniu utworu.
- Autor
- sonilo-ai ↗
- Repozytorium
- skills ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 27.10.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 27.10.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Odtwarza lokalny plik audio na głośnikach Maca przez MCP Sonilo, zaraz po wygenerowaniu utworu.
Wyzwalacze z opisu
Oryginalny opis (EN)
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.
Jak działa
- Quick Start
- Tool
- Parameters
- Workflow Tips
- Error Handling
Podgląd SKILL.md
--- name: audio-playback description: 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. license: MIT compatibility: Requires the Sonilo MCP server connected — this is the one skill with no CLI equivalent, since `play_audio` exists only as an MCP tool. Does not require SONILO_API_KEY or network access — playback is entirely local. macOS and Linux use a native system player (afplay / mpg123 or aplay) when available; on Windows, and on Linux without a native player, this falls back to the sounddevice and soundfile Python packages plus PortAudio (brew install portaudio on macOS / apt-get install libportaudio2 on Debian-Ubuntu). allowed-tools: Bash, Read, mcp__sonilo__* --- # 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](../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 call `play_audio` on that same path. - **Platform playback path:** macOS uses `afplay`; Linux prefers `mpg123` for `.mp3` or `aplay` otherwise. **Windows has no native-player branch at all** and always falls back to the `sounddevice`/`soundfile` Python packages, same as Linux when neither `mpg123` nor `aplay` is installed — that fallback needs the system `PortAudio` library installed separately (`brew install portaudio` on macOS, `sudo apt-get install libportaudio2` on 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_PATH` is rejected unless `SONILO_MCP_ALLOW_ANY_PATH=true` is 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).
Wersje
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · sonilo-ai/skills | 100 | MIT |
| Bbeierle12/Skill-MCP-Claude | 95 | MIT |
Migawka bazy z 13.11.2026 · wersja paczki 8ff5e51ea99f (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 88stable-audio
Generuje lokalnie muzykę i efekty dźwiękowe w Stable Audio 3, porównuje kandydatów, dopracowuje pętle, wyciszenia i głośność oraz eksportuje WAV, OGG lub FLAC. - 98play-audio
Odtwarza lokalne pliki audio przez ffplay w tle: głośność, podgląd, przewijanie, pętle i listy odtwarzania bez blokowania sesji. - 100audio-transcribe
Zamienia mowę z plików audio (mp3, m4a, wav, ogg, flac, webm) na tekst za pomocą lokalnego narzędzia whisper, bez klucza API. - 100byted-las-audio-convert
Konwertuje formaty audio, między innymi wav, mp3, flac, m4a, ogg i aac, oraz zmienia częstotliwość próbkowania, bitrate i kanały przez Volcengine LAS. - 100audio-ducking
Obniża podkład muzyczny pod lektorem przez Sonilo, automatycznie, bez ręcznej automatyki głośności. - 100video-to-music
Komponuje oryginalną muzykę do wideo w Sonilo: model ogląda montaż i dopasowuje tempo, ruch i emocje, zwracając audio lub nowe wideo z podkładem, na licencji komercyjnej.