yeban
Health Warn
- License — License: GPL-3.0
- Description — Repository has a description
- Active repo — Last push 0 days ago
- Low visibility — Only 5 GitHub stars
Code Fail
- rm -rf — Recursive force deletion command in .github/workflows/ci.yml
- rm -rf — Recursive force deletion command in .github/workflows/nightly.yml
Permissions Pass
- Permissions — No dangerous permissions requested
No AI report is available for this listing yet.
AI-native open-source DAW in Rust — an MCP server with 44 tools lets AI compose, arrange and mix. Windows / macOS / Linux.
English · 简体中文 | Website · Help & manuals · Documentation index
夜半 (Yeban) — a professional desktop DAW
Yeban is an open-source digital audio workstation written in Rust: a Slint native GUI on top of a pure-Rust, low-latency real-time audio engine. It ships with a complete MCP tool surface, so AI agents can compose, arrange and mix through it, side by side with the human at the desktop GUI.
Licence: GNU General Public License v3.0 (GPLv3), with the GPLv3 §7 additional permission for loading proprietary CLAP plug-ins. See Legal.
Download
Installers from the rolling nightly build (tracks the main branch; unsigned):
| Platform | Installer |
|---|---|
| Windows (x86_64) | MSI installer |
| macOS (Apple Silicon) | DMG image |
| macOS (Intel) | DMG image |
| Linux (x86_64) | DEB package |
| Linux (arm64) | DEB package |
Help and manuals
The five manuals (user guide, instruments and synthesizers, music theory, arrangement and orchestration, mixing) are on the website in Chinese and English: read them online at yeban.wangda.today/help, or download the PDFs directly:
| Manual | 中文 PDF | English PDF |
|---|---|---|
| User guide | ||
| Instruments and synthesizers | ||
| Music theory | ||
| Arrangement and orchestration | ||
| Mixing |
Source-level entry points: the 21-crate index lists each crate with its entry test command; the terminal UI component doc is crates/yeban-tui/README.md.
Portable .tar.gz archives and SHA256SUMS are on the nightly release page; all releases are listed under Releases.
Screenshots
The current interface, running the built-in demo project (drums, bass, pad, lead, strings, percussion):
What Yeban can do
- Songmap — whole-song overview (
get_song_overviewMCP tool, or--export-song-overviewon the CLI): one bar-level diagnostic in four layers — energy, frequency, density and emotion — with an automatic anomaly summary, expected-level envelope bands, three genre presets (default/orchestral/electronic), a score-dynamics ghost line, an A/B snapshot diff (compare_song_snapshotsMCP tool) and a within-song self-similarity check. - Mastering from the command line:
--loudness-targetwith--true-peak-ceilingapplies the loudness target on--export-wav; an unreachable target fails loudly instead of silently degrading. - Batch edits and stems:
--apply-opscommits a file of edit operations as one batch;--export-stemsrenders stems with the same backend as the MCP tool. - Sample-library editor:
--edit-samplescorrects each sample's pitch to within ±0.5 cents (FFT fundamental), synthesises mf/f velocity layers and normalises RMS. - Audio slicer:
--slice-audiodetects onsets, cuts audio into syllables, shifts / stretches / tape-varispeeds them and writes SFZ sampler regions. - Lyrics track:
--export-lyricsstores a lyrics timeline in the project and exports LRC. - Projects carry what they use: used samples and their SFZ definitions are embedded in the
.yebancontainer; rendering checks the embedded pool first, disk second; old projects render unchanged. - Native presets: four MCP tools (
yeban_list_presets,yeban_apply_preset,yeban_save_preset,yeban_preset_bypass) and six factory presets (piano, cello, classical guitar, flute, saxophone, drums) that load with tuned processing instead of a dry sound. - Singing synthesis, via the external SVS service:
synthesize_singingsubmits a score andsvs_jobpolls it back — Yeban is the MCP client; synthesis itself runs in the Lingren SVS service. - 48 MCP tools (Intent API v2) and a VST3 plug-in host (in-process; cross-process isolation is phase 2).
Status and platform support
Yeban is in active development. The engine renders audio deterministically; when launched without --open, the app opens the startup project chooser (new, recent, demo, or template), and there is no MPE yet. See Projects for the startup and project workflow. The roadmap is in docs/YEBAN_ENGINEERING_IMPLEMENTATION_ROADMAP.md.
macOS, Linux and Windows are all fully tested. The UI layer is still being refined.
Windows console encoding
Yeban's command-line output is UTF-8. The default Windows console code page can render it as mojibake, so run chcp 65001 in the console first to switch the code page to UTF-8 before running Yeban commands.
Build from source
You need Rust 1.99.0 (pinned by rust-toolchain.toml; rustup installs it automatically), a C++ compiler, and libclang (the yeban-dsp build generates bindings with bindgen).
Linux (Debian/Ubuntu)
sudo apt-get install -y clang libclang-dev pkg-config libfontconfig1-dev libfreetype-dev libxkbcommon-dev libxkbcommon-x11-0 libwayland-dev libx11-dev libgl1-mesa-dev libasound2-dev
git clone https://github.com/gradetwo/yeban.git
cd yeban
cargo build --release -p yeban-app
macOS
xcode-select --install
git clone https://github.com/gradetwo/yeban.git
cd yeban
cargo build --release -p yeban-app
Windows
Install LLVM and set LIBCLANG_PATH to the directory that contains libclang.dll, then:
git clone https://github.com/gradetwo/yeban.git
cd yeban
cargo build --release -p yeban-app
Run it with cargo run --release -p yeban-app (add -- --headless on a machine without a display). On a memory-tight machine, build with cargo build --profile release-small -p yeban-app instead. The full command-line reference (--help lists every switch and exit code), the MCP server modes and the development workflow are in the documentation index.
Made with Yeban
《慢性崩溃环 THE CHRONIC MOBIUS》 — a trilogy created with Yeban. Three chapters — I. 雨声太吵 (The Rain Is Too Loud), II. 失语呢喃, III. 潮·失 — in one immersive visual experience: click the topology nodes to jump between emotional phases.
▶ Listen to 《雨声太吵》 (4:24, direct audio) — the full experience, visuals synced to the music, is on the trilogy site.
Legal
| File | Contents |
|---|---|
LICENSE |
GNU GPLv3 full text with the GPLv3 §7 CLAP plug-in exception |
LEGAL.md |
Third-party trademark disclaimers, Slint dual-licensing, VST3 SDK MIT path, asset policy |
TRADEMARK.md |
"夜半 / Yeban" trademark usage guidelines |
CONTRIBUTING.md |
How to contribute (DCO 1.1, code style, GPLv3 source-distribution rules) |
SECURITY.md |
Vulnerability reporting |
THIRD_PARTY_LICENSES.md |
Dependency and asset licence audit, plus source-level port attribution |
Forking and shipping closed source requires a commercial Slint licence from SixtyFPS GmbH (see LEGAL.md).
Credits and reuse
Yeban does not reinvent what already exists. The largest concrete reuse is ~8,000 lines of dependency-free, allocation-free, unit-tested MIT Rust DSP from an earlier local project (synth-core), ported into yeban-dsp with per-file provenance in docs/ledger/dsp-core-provenance.md and attribution in THIRD_PARTY_LICENSES.md §3.
The native modal-resonator core (yeban-dsp::modal) follows the algorithm of RipplerX by tiagolr (GPL-3.0, same licence as Yeban; no JUCE framework code transplanted), whose lineage runs through Rippler2 and Saike's Partials (MIT). Its dual-resonator stage uses the normal-mode frequencies of two spring-coupled oscillators in a parallel topology; its formulas were cross-checked against the math section of MechanOdd (math only — code licence undeclared, no code taken). Per-model provenance, parameters, acceptance criteria and the full selection audit are in docs/ledger/modal-synth.md.
The full reuse audit is in docs/ledger/legacy-reuse-audit.md.
夜半 (Yeban) — GPLv3 · yeban.wangda.today · [email protected]
Reviews (0)
Sign in to leave a review.
Leave a reviewNo results found
