HIP-1411: Hanzo Sound — Music and Audio Workstation
Abstract
Hanzo Sound is a native and browser-capable digital audio workstation for recording, producing, arranging, performing and mixing music, podcasts and audio for picture. The designated public implementation repository is hanzoai/sound (planned; establish or reconcile it before implementation). This is the normative implementation target, not a claim of shipping.
Motivation
Music creation requires sample-accurate editing and immediate performance, while agents need structured operations and durable offline production. An interactive audio callback is not a distributed workflow.
Specification
The key words MUST, MUST NOT, SHOULD, SHOULD NOT and MAY are to be interpreted as in RFC 2119.
Project and transport
A Sound project MUST pin assets, tempo/meter map, sample rate, track/bus IDs, routing graph, clip source ranges, MIDI events, instruments, plugin state, automation, arrangement and session scenes. Represent audio positions as integer samples and musical positions as rational beats; changes in tempo MUST preserve the explicitly chosen absolute or musical anchor. Native snapshots are authoritative; import/export must report unsupported data. Support WAV, AIFF, FLAC, MIDI and tested compressed formats; evaluate interchange for .als and .flp independently, with read-only import first and explicit loss reports. Preserve source files and editable project state.
Perform, arrange and mix
Provide clip and scene launching with quantization (immediate, beat, bar or scene boundary), loop/legato/one-shot modes, pad grid, track mutes, count-in, overdub, swing, note repeat and performance capture to an independent editable arrangement. Recording MUST align to the audio sample clock, not UI updates. Provide multitrack audio/MIDI editing, piano roll, automation curves, nondestructive trim, split, fades, warp/time stretch, pitch, quantization, take lanes, comping and undo. A mixer MUST provide gain/pan, sends/returns, buses, sidechains, meters, master and latency compensation. Ship approved built-in synth/sampler and DSP effects; support isolated CLAP, VST3, VST2 and AU hosting only where SDK terms and platform capabilities are approved. Preserve plugin state and offer freeze/bounce and missing-plugin reports.
Agent and workflow surface
Expose typed commands for tracks, clips, scenes, MIDI, automation, routing, transport, plugin parameters, recording, mix, freeze and export. Agents MUST preview/edit using revision-aware transactions and grouped undo; live transport and monitoring require explicit user authorization. Koe handles supported speech tasks, Oto Foley, Uta music and stems, Zen planning and Enso routing; use discovered endpoints and preserve generated stems as editable assets. Flow nodes cover transcription, denoise, isolation, normalization, music/voice generation, mix, mastering and export; durable offline processing and rendering use Tasks. Real-time playback and recording do not wait on Tasks, a model call or a network service.
Acceptance
Demonstrate a multitrack recording, MIDI composition, sample-accurate automation, clip/scene performance capture, podcast mix, film audio stem handoff, plugin failure containment, offline bounce, local-only network denial, agent undo and restored session after a crash. Publish latency, underruns and round-trip fidelity on named hardware and sample rates; browser and native feature matrices are separate.
Integration and release
Implement the shared standard in HIP-1406 — Hanzo Creative — Shared Standard Library; the Studio catalog is the
project/asset owner, Flow authors graphs, Tasks owns durable runs and Auto owns
triggers. Long-running managed operations MUST return a Tasks run reference.
Expose the same typed, versioned commands through the UI, SDK, CLI, MCP and Flow;
unsupported operations fail closed and MUST NOT be advertised as shipped.
Honor local-only execution and project revision/authorization constraints.
Use Hanzo branding exclusively on product surfaces; retain required upstream
legal attribution in notices. All application chrome, mixer/inspector shells,
transport controls, dialogs, and unified Hanzo Settings MUST conform to
HIP-0504 (GPU/canvas viewports permitted
for high-FPS waveforms, piano rolls, and meters), and agent-generated rack,
synth, and mix panels MUST render via @hanzo/ui/a2ui per
HIP-1415, communicating with the
HIP-1413 DSP engine exclusively through lock-free parameter rings so UI
reconciliation never blocks audio callbacks. Publish real end-to-end fixtures,
supported platform/format matrix, pinned engine versions, hashes and run receipts.
Security Considerations
Validate all asset and project references against IAM, isolate untrusted media and code, bound CPU/memory/disk/time/network, pin dependencies and model licenses, and reject unsupported or unauthorized operations. No ambient credentials, silent cloud fallback or cross-tenant data leakage. Recording, voice synthesis and external sharing require scoped authorization; no silent microphone activation or voice cloning without consent.
References
- HIP-1406 — Hanzo Creative — Shared Standard Library
- HIP-1413 — Hanzo Audio — Real-Time DSP and Synchronization
- HIP-0506 — Studio
- HIP-1064 — Flow
- HIP-1062 — Workflow
- HIP-0010 — MCP
- HIP-0504 — Unified Cross-Platform Design System
- HIP-1415 — Generative UI Protocol (A2UI 1.0)
Copyright
Released under CC0 1.0 Universal Public Domain Dedication.