Audio as Code

Get the source

Your orchestra comes in a ZIP. Download the source, open it locally, and make your first piece. Python 3.10+ required; MIT licensed.

Prefer to direct? Give it to your agent. The prompt includes this download and the composition skill, so your agent can handle setup and rendering.

Download audio-as-code-0.1.0-source.zip
Size
773 KB
Files
178
SHA-256
63d07739612b011fd2945bb87f60bb87e6dc1293d79e5167d2e451d89d685c51

Includes the renderer, example scores, guides and agent skill. Also on GitHub. Install from this folder; a registry package is not available yet.

Install it locally

Extract the ZIP, then open a terminal in the folder containing pyproject.toml. With uv:

shell
cd audio-as-code
uv sync --locked
uv run aac demo -o output/song.json
uv run aac render output/song.json -o output/song.wav --report output/report.json

Prefer pip? In the same source folder, install into your Python environment:

shell
python -m pip install -e .
aac instruments

Open output/song.wav to hear your first render. Then follow the quickstart to write your own score.