The framework for modern audio software.
Write your instrument once in TypeScript — ship it to the browser, to VST3, and to the desktop. Designed from the start to be built with AI, and to run AI models inside your sound.
One codebase, every format
Write it once. Export it everywhere.
Audio software usually means picking a lane: a native plugin, or a web demo that is a second, lesser implementation. Here the DSP is written once and the compiler produces every target from that single source.
npx codex export vst3 # → MyModule.vst3
npx codex export web # → AudioWorklet + WASMBuilt for the AI era
Make instruments with AI — and instruments that use it.
Audio frameworks were designed for a world where a person typed every line of C++ and every model lived on a server. Both assumptions expired. This one is built for how audio software actually gets made now.
The developer story
It's TypeScript. All the way down.
You write a process function and a parameter schema. The compiler turns that into real-time-safe code for every target — you never touch a native toolchain, a build matrix, or a plugin SDK header. Your interface is a web page, in whatever framework you already use, and it renders the same in the browser and inside the DAW.
No C++ and no DSP degree required. If you have shipped a web app, you have most of the skills already.
import { defineModule, lowpass, saw } from "@codex-music/audio-sdk";
export default defineModule({
params: {
cutoff: { min: 20, max: 18000, default: 2200, unit: "Hz" },
drive: { min: 0, max: 1, default: 0.35 },
},
process(ctx, p) {
return lowpass(saw(ctx.pitch) * (1 + p.drive), p.cutoff);
},
});Built with the framework
Modules you can play right now.
Every one of these is an ordinary project built on the framework — running here in your browser, and exportable to your DAW from the same source. Open one to hear it, or read its code as a starting point for your own.
Made something good? Share it.
Publish a module to the directory and anyone can play it in the browser from a link, or download it for their DAW. Set your own terms, or put it in the shared pool and earn from usage.
How publishing worksA research preview, in active development. Modules are free to play in your browser.