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.5.0-source.zip
Size
1,026 KB
Files
248
SHA-256
5d7c7e668759897c3058acf413e7158881742bf4762cea58013dbef7803c27bd

Includes the renderer, example scores, guides and agent skill. Also on GitHub. Use this folder for complete examples, or install the engine and CLI from PyPI.

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.