Local AI BGM and sound effects for Claude Code and any MCP client. Stable Audio 3 on Apple Silicon (MLX) and Windows NVIDIA GPUs (PyTorch). No cloud, no API key.
Python apple-siliconaudio-generationclaude-codecudagame-audiomcpmcp-servermlxmusic-generationpytorchsound-effectsstable-audiowindows
Release v0.2.0: bump version and add release notes
Kana4c1efef7ef53
diff --git a/.github/release-notes/v0.2.0.md b/.github/release-notes/v0.2.0.mdnew file mode 100644index 0000000..4e902d3--- /dev/null+++ b/.github/release-notes/v0.2.0.md@@ -0,0 +1,61 @@+**Audio Studio MCP now runs on Windows PCs with an NVIDIA GPU**, as well as on Apple Silicon Macs. It is still all local: no cloud service, no API key.++[🎧 Listen to samples](https://kanaworksai-hue.github.io/audio-studio-mcp/) · [English](https://github.com/kanaworksai-hue/audio-studio-mcp#readme) · [简体中文](https://github.com/kanaworksai-hue/audio-studio-mcp/blob/main/README.zh-CN.md) · [日本語](https://github.com/kanaworksai-hue/audio-studio-mcp/blob/main/README.ja.md)++## License++- The copyright holder in `LICENSE` and the `authors` field in `pyproject.toml` are now **東京AI映像合同会社 (Tokyo AI Visuals LLC)**. The license is still MIT.+- The KanaWorks_AI name, logo and the Kana character are now credited to 東京AI映像合同会社. As before, they are not covered by the MIT license (see [docs/brand](https://github.com/kanaworksai-hue/audio-studio-mcp/blob/main/docs/brand/README.md)).++## New: Windows (NVIDIA GPU)++- New `sa3-torch` backend built on the official Stable Audio 3 PyTorch API. It is used automatically on Windows and Linux; macOS keeps the MLX backend.+- New `install.ps1` installer. It installs PyTorch with CUDA 12.6 (new `cuda` extra), clones the pinned Stable Audio 3 runtime and downloads the medium model (~10.4 GB). Use `-Model all` to also get the small `sm-music` / `sm-sfx` models.+- Full-length generations up to 380 s. Tested on an RTX 3060 12 GB, where the medium model peaked at about 5.3 GB of VRAM.+- The Windows weights are gated on Hugging Face. The installer asks for a read token when needed. When it runs without a console (for example, started by an AI agent), it does not prompt. It prints the steps to accept the model licenses and log in, then stops, and you re-run it afterwards. The READMEs include notes for AI agents that install it for you.+- New `AUDIO_STUDIO_DEVICE` setting picks the PyTorch device (`cuda`, `cuda:1`, `cpu`).+- `.json` sidecars and other text files are now written as UTF-8, so non-ASCII prompts work with any Windows locale.+- Linux with an NVIDIA GPU should work with the same backend, but it is untested and has no installer yet (see the FAQ).++## Fixes (macOS)++- On Apple Silicon, `install.sh` could pick an x86_64 Python running under Rosetta (for example an old Intel Homebrew). That silently skipped MLX and later failed with "Intel Macs are not supported". The installer now asks uv for an arm64 Python, rebuilds a non-arm64 `.venv`, and checks after install that `.venv` is arm64 and that MLX imports. It also explains a failed `uv sync` when `UV_PYTHON` is set. The server now tells you when it is running under Rosetta. Fixes #3, thanks to @HirokiSatoyoshi for the report and diagnosis.++## Docs++- The READMEs (English, 简体中文, 日本語) now cover Windows: requirements, install, configuration, performance and FAQ.+- The banners and the social preview now show Mac and Windows.+- The commercial-use FAQ now says "less than US$1M in total annual revenue", matching the Stability AI Community License.+- Added a star request to the READMEs.++## Install++Let your agent do it. Paste into Claude Code:++> Install https://github.com/kanaworksai-hue/audio-studio-mcp by following its README, then register it as an MCP server.++Or by hand. macOS (Apple Silicon):++```bash+git clone --branch v0.2.0 https://github.com/kanaworksai-hue/audio-studio-mcp.git+cd audio-studio-mcp+./install.sh+```++Windows (NVIDIA GPU):++```powershell+git clone --branch v0.2.0 https://github.com/kanaworksai-hue/audio-studio-mcp.git+cd audio-studio-mcp+powershell -ExecutionPolicy Bypass -File install.ps1+```++No release assets are needed. The installers fetch the Stable Audio 3 runtime (pinned at `77e0398`) and the model weights from Hugging Face.++## Requirements++- **macOS:** Apple Silicon Mac (M1 or later), 16 GB RAM recommended, about 6 GB of disk+- **Windows:** 64-bit Windows 10 or 11, an NVIDIA GPU with 8 GB of VRAM or more and a current driver, about 14 GB of disk, and a Hugging Face account that has accepted the [Stable Audio 3 medium](https://huggingface.co/stabilityai/stable-audio-3-medium) license+- Python 3.10–3.13, `git`, `ffmpeg`++**Full changes:** https://github.com/kanaworksai-hue/audio-studio-mcp/compare/v0.1.0...v0.2.0diff --git a/pyproject.toml b/pyproject.tomlindex 0215dcd..9bc13cc 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -1,6 +1,6 @@[project]name = "audio-studio-mcp"-version = "0.1.0"+version = "0.2.0"description = "Local AI BGM and sound-effect generation (Stable Audio 3) as an MCP server"readme = "README.md"license = "MIT"diff --git a/src/audio_studio_mcp/__init__.py b/src/audio_studio_mcp/__init__.pyindex bb7c286..1afd893 100644--- a/src/audio_studio_mcp/__init__.py+++ b/src/audio_studio_mcp/__init__.py@@ -1,3 +1,3 @@"""Audio Studio MCP: local AI BGM and sound-effect generation for MCP clients."""-__version__ = "0.1.0"+__version__ = "0.2.0"diff --git a/uv.lock b/uv.lockindex 17cf1e5..2e6f2b1 100644--- a/uv.lock+++ b/uv.lock@@ -59,7 +59,7 @@ wheels = [[[package]]name = "audio-studio-mcp"-version = "0.1.0"+version = "0.2.0"source = { editable = "." }dependencies = [{ name = "mcp" },