BeatOven is the Oracle-to-music compiler from Zero State. It turns a symbolic signal from the Abraxas Oracle into music: MIDI, a session recipe, and an Output Stream that a Eurorack module can play. The same input and seed give byte-identical output.
BeatOven is not Beatoven.ai. That is an unrelated company.
| Part | State |
|---|---|
Pack renderer (render_pack) |
Works. Deterministic, with provenance hashes. Returns beatoven.pack.v0 by default; schema_version="v1" returns a Pack that states its time unit and clock rate and embeds its Output Stream. |
| Output Stream, adapters, host driver | Works. Tested against a simulated device, including through the operating system's MIDI stack. |
| Driving real hardware | Never done. No Output Module has been built. Hardware control is off unless an operator supplies a grant file. |
| Older engine modules (rhythm, harmony, stems, media intelligence, mobile UI) | Present and partly tested. Not maintained in this pass. See the 2025 README. |
The hardware lives in a separate repository, working name Kiln.
git clone https://github.com/Zero-State-LLC/BeatOven.git
cd BeatOven
python -m venv .venv && source .venv/bin/activate
pip install -e ".[dev,hardware]"
python -m pytest beatoven/output_moduleCompile a BeatOven Pack to an Output Stream and check that two plays match:
python -m beatoven.output_module replay-check beatoven/output_module/vectors/stream.jsonstream_id=08592ce044c9a55020edcc006429d4720ede751373da3da400ca6ed516aa872a
run1=ed5f5523f72375e7eb6b60fa5756e9a0e2cd25e0482f86b801eb3ecd276ca92d
run2=ed5f5523f72375e7eb6b60fa5756e9a0e2cd25e0482f86b801eb3ecd276ca92d
identical=True
- Compile. An adapter turns a BeatOven Pack (or a
ResonanceFrame,AudioControlFrame,cv_gate_maporMIDIEventStream.v1) into an Output Stream. Every event has a time in microseconds and a value in microvolts at the jack. - Send ahead. The host driver syncs clocks with the device and sends each event before it is due.
- Play on the device clock. The device schedules events itself, so link jitter does not reach the jacks.
- Fail closed. If timing is lost, gates and clock go low, CV goes to a safe value, and nothing resumes without a fresh sync.
- Prove it. The device returns a hash of what it played. The simulated device also records a jack trace you can diff.
from beatoven.engine.render import render_pack
from beatoven.output_module import (
LoopbackTransport, OutputModuleDriver, SimulatedOutputModule, VirtualClock, from_pack,
)
pack = render_pack(oracle_signal, overlays={}, seed=7, daw="ableton")
stream = from_pack(pack) # Pack times are in bars; the clock follows tempo at 24 pulses per quarter note
# render_pack(..., schema_version="v1") returns a Pack with this stream already embedded
clock = VirtualClock()
device = SimulatedOutputModule()
driver = OutputModuleDriver(LoopbackTransport(device, clock), clock)
driver.connect()
report = driver.play(stream)
print(report.ok, device.trace_hash())| Command | What it does |
|---|---|
python -m beatoven.output_module compile PACK |
Pack JSON to Output Stream JSON |
... simulate STREAM |
Play on the simulated device and print the jack trace |
... replay-check STREAM |
Play twice on separately clocked devices and compare |
... ports |
List MIDI ports (needs pip install -e ".[hardware-midi]") |
... send STREAM --out NAME --in NAME --grant FILE |
Play to a real MIDI port. Refuses without a grant file |
| Read this | For |
|---|---|
| specs/001-output-module/spec.md | What the Output Module must do, the connection lifecycle, open questions |
| specs/001-output-module/plan.md | The Output Stream contract, wire format, migration from the older contracts |
| specs/001-output-module/audit.md | What was wrong before, with evidence |
| docs/decisions/ | The operator's decisions of 2026-11-12, and what was applied |
| docs/adr/ | Decisions and proposals. 0005 (CLOCK IN) and 0006 (calibration) are accepted; 0007 (play-on-arrival) is proposed and deferred |
| GLOSSARY.md | The words this project uses |
| docs/handoff/NEXT.md | Current state and what is next |
| CHANGELOG.md | What changed in each version |
| Project board | Open work across BeatOven and Kiln (organization members only) |
- SEED determinism. Identical inputs give identical bytes.
- Fail closed. A bad packet, a missing grant or lost timing ends in a safe state.
- Unknown stays unknown. A missing unit or meaning is never guessed.
- PsyFi owns visualization. BeatOven does not render visuals.
- Public shapes change by proposal. See CONTRIBUTING.md.
The full list is in the constitution, ratified as 1.0.0 on 2026-11-12.
See CONTRIBUTING.md. Report vulnerabilities as described in SECURITY.md.