Skip to content

By PromptFission2 min read

ORB makes sound effects by having a 5M-parameter model write JSON, not audio

A small planner turns a caption into a typed list of sound events, and a NumPy synthesizer renders it. The README lists which of its own targets it missed.


Text-to-audio models usually have about a billion parameters and produce a waveform you cannot edit. ORB, by Marcos Maceo (stdevMac on GitHub), goes the other way. Its model is 5.1 million parameters and never touches audio. It writes a short JSON score, and plain signal-processing code plays it.

How it works

The planner is a six-layer transformer with a byte-level tokenizer. It reads a caption and writes what the project calls a Spec: a duration between 2 and 30 seconds, a background texture, a mood, and up to eight events. Each event has a role, a start time, a length, a gain, a stereo position, and a seed. Decoding is constrained by a grammar mask, so the output is always a valid Spec.

The renderer is NumPy only. There are 47 roles: ten general ones such as whoosh, impact, and riser, and 37 physically modelled sounds such as thunder, a siren, and a clock tick. The seed picks a variant. Output is 48 kHz stereo, and the README says a 12-second cue renders in about a second on a CPU with no GPU and no PyTorch.

Because the middle step is JSON, an agent or a person can move an event by half a second or swap a role and render again.

The planner was trained on procedurally generated data, about 300,000 rows, in what the README says is under an hour on one GPU.

What it gets wrong

These are the author’s numbers. On captions written in the training grammar, the planner is right 2,000 times out of 2,000. On plain-language prompts it is fully right 58.4 percent of the time on the project’s own set of 209, and 70 percent on a blind set of 40. The usual miss is inventing an extra event for a noun it has no sound for. Counts and long multi-clause prompts are listed as weak.

There is an optional second model, a 9.1M U-Net meant to add recorded-sounding detail. The README reports that it improved its target metric by 0.84 percent against a goal of 10 percent, says so in bold, and tells readers to treat it as a subtle texture stage. It was trained on ESC-50 and is licensed for research only.

The README is also direct about the ceiling of the whole approach:

“A recorded door slam beats a synthesized one.”

ORB has no speech, no laughter, no cats or dogs, and no music. The author says they left vocal sounds out instead of faking them.

Try it yourself

The repo shows a first commit on November 16 and 29 commits through November 18. Code, planner weights, and the planner dataset are Apache 2.0, and the planner checkpoint is in the repo through Git LFS. It needs Python 3.11 or newer. python examples/04_no_torch.py runs the renderer alone, and orb-mcp starts the agent server.

We have not run it or listened to its output. This is based on the README and the commit history.