petersalomonsen/wasm-music-2026 — explained in plain English
Analysis updated 2026-05-18
Play and inspect a fully code-based song directly in your browser.
Study an example of building music instruments in the Faust DSP language.
See a real recorded example of composing music by directing an AI coding agent.
Learn how music, visuals, and synths can be combined and compiled to WebAssembly.
| petersalomonsen/wasm-music-2026 | 0xradioac7iv/tempfs | 7vignesh/pgpulse | |
|---|---|---|---|
| Stars | 0 | 0 | 0 |
| Language | TypeScript | TypeScript | TypeScript |
| Setup difficulty | easy | moderate | moderate |
| Complexity | 3/5 | 3/5 | 4/5 |
| Audience | developer | developer | developer |
Figures from each repo's GitHub metadata at analysis time.
The song plays directly in the browser via a link, no local install needed to listen.
This repository holds a single music track built with a project called WebAssembly Music, a browser based digital audio workstation where the notes, the arrangement, the synthesizer instruments, and the visuals are all written as code that compiles to WebAssembly and runs directly in a web page. Nothing here is a pre-recorded audio file: opening the song in the app clones this repo, compiles the code, and plays it live in the browser. What makes this particular track notable is how it was made. The author built it by talking with an AI agent running inside the browser, and a linked article walks through the process with screenshots of the agent writing instrument code, editing the arrangement, and pushing changes back to GitHub. The README is careful to point out that the human remains the composer throughout: this is not an AI music generator that hands back a finished audio clip. Every part, the arrangement, the patterns played in on a MIDI keyboard, and the code itself, was directed and edited by a person. The AI writes and reorganizes code on instruction, it does not compose independently. The repository is organized around a handful of files. The sequence of notes and arrangement lives in one file, the combined synth instruments are written in AssemblyScript in another, and the instruments themselves are defined using the Faust digital signal processing language in a separate folder. A shader file handles the music-reactive visuals shown alongside the track, and an included JSON file records the actual AI conversation that produced the piece, so that history travels along with the code. The project is released under the GPL-3.0 license, matching the license of the underlying WebAssembly Music project it depends on.
A single music track built entirely as code that compiles to WebAssembly, composed by a person collaborating with an in-browser AI agent to write instruments and arrange the song.
Mainly TypeScript. The stack also includes TypeScript, AssemblyScript, WebAssembly.
You can use, modify, and share this, but any project you build on it must also be released as open source under the same license.
Setup difficulty is rated easy, with roughly 5min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.