Maolan
An Open Source
Digital Audio Workstation
A modern Rust-based DAW and plugins for recording, MIDI editing, automation, plugin routing, and music production workflows. Built by the community, for the community.
See Maolan in Action
Explore the interface, workflow, and core production tools built into Maolan.
Multi-Track Timeline
Organize and arrange unlimited tracks with precise timing controls.
Piano Roll Editor
Advanced MIDI editing with velocity, note properties, and automation.
Mixer & Routing
Flexible plugin hosting and track routing for complex mixing setups.
The Challenge
Closed Ecosystems
Most modern DAWs are proprietary black boxes. You can't inspect the code, understand how they work, or modify them for your needs.
High Costs
Professional DAWs require expensive licenses. For students, hobbyists, and developers, this creates barriers to entry.
Limited Flexibility
Extending functionality or integrating custom workflows is difficult or impossible without source code access.
The Solution
Maolan is a free, open-source DAW built in Rust. It prioritizes transparency, performance, and community-driven development.
Inspect every line of code. Build custom features. Contribute improvements. Own your tools.
- ✓ 100% open source under a permissive license
- ✓ Built with Rust for safety and performance
- ✓ Community-driven development and improvements
- ✓ Forever free, no licensing fees
Modern, transparent audio production
Key Capabilities
Multi-Track Audio & MIDI
Record and arrange unlimited audio and MIDI tracks with precise timing and flexible mixing.
Piano Roll MIDI Editing
Intuitive piano roll interface for composing, editing, and refining MIDI performances.
Automation & Envelopes
Create track and plugin automation for volume, balance, mute, and loaded CLAP, VST3, or LV2 parameters. Save session and track templates for repeatable setups.
Plugin Hosting & Routing
Load CLAP, VST3, and LV2 plugins, create complex routing chains, and design custom signal flows with explicit audio, MIDI, and sidechain paths.
Export & Format Support
Export mixdowns or stems to WAV, MP3, OGG, and FLAC with normalization and master-limiter options saved in the session.
Autosave & Recovery
Automatic project backups and recovery features protect your work from unexpected interruptions.
Complete Production Workflow
Recording
Record audio from your microphone or instruments. Monitor latency-free with multiple input sources simultaneously.
Editing & Composition
Edit audio clips and MIDI notes with precision. Use the piano roll for composing melodies and harmonies, with clip grouping and per-clip FX available for deeper editing workflows.
Plugin & Routing
Load CLAP, VST3, and LV2 plugins on tracks. Create explicit routing chains for parallel processing, sidechains, and MIDI flow.
Automation
Automate any parameter across time. Create dynamic mixes with volume, pan, and plugin automation curves.
Mixing & Mastering
Balance levels, EQ, compress, and process your mix. Prepare your final master for distribution.
Export
Export your final mix to WAV, FLAC, MP3, or other formats. Ready for streaming, distribution, or further processing.
Modulators
LFO-style modulators bring motion to tracks, plugins, and MIDI controllers.
Modulator Shapes
Sine, Triangle, Saw, Square, and Sample & Hold waveforms.
Rate and Timing
Run modulators in Hz or lock them to musical divisions such as beat, bar, and note values, with per-modulator phase offset and an enable toggle.
Targets
Assign modulators to track parameters, plugin parameters, and MIDI controllers, with per-assignment min/max range scaling.
Editing
Create and edit modulators in the Modulators pane, toggled with M
or from the View menu.
Routing and Mixing
Flexible routing supports complex signal chains and professional mixing workflows.
Track Controls
- Track arm, mute, solo, input monitor, and disk monitor
- Volume, balance, aux send level/pan, and pre/post send routing
- MIDI learn targets for volume, mute, solo, track toggles, and global transport actions (play/stop/record)
- Audio/MIDI passthrough defaults and aux send management
- Aux return creation from selected tracks
Mixer Workflow
- Insert effects and signal chains
- Pre-fader and post-fader routing
- Session-wide mixing organization
- CLAP/VST3/LV2 per-track graph and plugin automation paths
- Plugin scan/load/unload and graph restore for CLAP/VST3/LV2
- Offline plugin bounce path for freeze/export workflows
Plugin Blocklist
Known-problematic plugins can be hidden from the plugin browser and skipped during scans via ~/.config/maolan/plugin-blocklist.json. Entries can be added automatically when a plugin scan fails.
Live Session View
An Ableton Live-style clip-launch grid for performance-oriented workflows.
Launch and Scene Workflow
- Clip-launch grid: rows are tracks, columns are scenes
-
Switch between Workspace and Session view with
Tab -
Launch or stop slots with a click or
Return - Launch whole scenes from the Master column
-
Stop all clips with
Shift+Space - Per-track strip with mute, solo, arm, volume, and pan controls
Arrangement Integration
- Slots reference arrangement clips by stable clip ID, so arrangement edits are reflected in the grid
- Move, duplicate, and copy slot references between the grid and the arrangement
- Record directly into slots
- “Rec to Arr” records the session performance into the arrangement
- Import the arrangement into the grid
Scene Options
- Rename scenes and set colors from the scene header context menu
- Per-scene tempo
- Configurable launch quantization
cargo run -p maolan-generate --release -- \
--model happy-new-year \
--backend vulkan \
--tags "ambient, cinematic, downtempo" \
--length 12000 \
--cfg-scale 1.5 \
--topk 50 \
--temperature 1.0 \
--ode-steps 10 \
--output output.wav \
--lyrics "stars drift over the late train home"
Backends
CPU and Vulkan execution paths are available in the current Burn-based generate flow.
Modes
Prompt or lyrics generation, plus decode-only reconstruction from a saved frames JSON.
maolan-generate
Maolan includes a separate generation crate and CLI for HeartMuLa text-to-audio work, with the same runtime pieces used by the desktop app for in-process decode.
Current capabilities
- Prompt-driven or lyrics-driven audio generation with optional style tags
-
Model choices:
happy-new-yearandRL - Controls for CFG scale, top-k, temperature, ODE steps, decoder seed, and output length in milliseconds
-
--decode-onlymode using--frames-jsonfor saved token-frame output -
--decode-threadsoverride for decode-only CPU worker count -
--model-diroverride for local Burn exports instead of cache-based lookup
Expected model assets
HeartMuLa repos
maolandaw/HeartMuLa-happy-new-year-burn
maolandaw/HeartMuLa-RL-oss-3B-20260123
Expected files: heartmula.bpk, tokenizer.json, gen_config.json.
HeartCodec repo
maolandaw/HeartCodec-oss-20260123-burn
Expected file: heartcodec.bpk.
Integration path
The CLI is not just a side tool. The desktop application uses the same generate crate and runtime components when launching AI audio generation from the GUI.
Pitch Correction
Fine-grained pitch correction for audio clips with cached analysis and editable correction windows.
- Cached source analysis per session in the
pitch/directory for quick revisits. - Saved clip correction points can reopen without re-analyzing when source segment details still match.
- Tune detection granularity and merge-aware segmentation.
- Manual retargeting, optional inertia/merging behavior, and formant compensation support.
- Local segment editing is undoable and can be applied without destructively rewriting source audio.
- Real-time playback and freeze rendering use the corrected output path for exports and monitoring.
- MP3/OGG/FLAC/WAV export targets remain standard outputs.
SIMD Acceleration
The Maolan audio engine uses SIMD intrinsics throughout the DSP hot path. CPU features are detected at runtime and the best available code path is selected automatically.
Instruction Sets
- AVX — 8-lane f32 (preferred path on x86_64)
- SSE / SSE2 — 4-lane f32 fallback on x86_64
- Scalar — universal fallback on all architectures
Accelerated Operations
- Buffer add, multiply, and FMA (fused multiply-add)
- Peak detection and clamp
- NaN / Inf sanitization
- Sine / cosine fade envelopes
- Sample format conversion (i8, i16, i24, i32 ↔ f32)
Runtime Dispatch
CPU feature detection runs once at engine start. Each DSP call goes to the best available implementation without a per-call branch penalty.
FMA (fused multiply-add) is used for add_scaled_inplace
when available, reducing rounding error and instruction count simultaneously.
Open Source & Community Driven
Why Open Source?
Maolan is open source because we believe audio production tools should be transparent, accessible, and shaped by their users.
You can inspect the code, understand how features work, and contribute improvements directly. The community drives the direction of the project.
- → Contribute code to core features or plugins
- → Report bugs and suggest improvements
- → Write documentation and tutorials
- → Build plugins and extensions
Project Stats
Repository
github.com/maolan/maolan
License
BSD-2-Clause
Language
Rust
Status
Active Development
Frequently Asked Questions
Is Maolan free? +
Yes! Maolan is completely free and open source. There are no licensing fees, subscriptions, or paywalls. The source code is available on GitHub under an open-source license.
Which platforms are supported? +
Maolan is built with Rust and supports Linux, FreeBSD, and Windows. Linux and FreeBSD builds run on Wayland when available and fall back to X11 (Xorg) when Wayland is unavailable, while Windows uses WASAPI.
Which plugin formats are supported? +
Maolan currently supports CLAP, VST3, and LV2 plugin formats on Linux and FreeBSD. LV2 remains Unix-only in the current codebase.
How does autosave and recovery work? +
Maolan writes autosave snapshots every 15 seconds into
<session>/.maolan_autosave/snapshots/<timestamp>/.
On startup or when opening a session, it can detect when a newer
snapshot exists, preview track and clip count changes, and recover
the latest valid snapshot first.
Does Maolan support templates? +
Yes. Session templates preserve track structure, routing, plugin graphs, plugin state, metadata, and export settings. Track templates preserve one track's settings, plugin graph, plugin state, and that track's connections, while intentionally leaving out audio and MIDI clips.
How can I contribute? +
There are many ways to contribute to Maolan:
- Code: Submit pull requests for features, bug fixes, or improvements
- Documentation: Help improve guides, tutorials, and API docs
- Testing: Report bugs, test features, and provide feedback
- Design: Contribute UI/UX improvements and design ideas
- Community: Help other users, answer questions, and promote the project
Visit the GitHub repository to get started. All contributors are welcome!
Can I reuse it in my Rust project? +
Maolan is a two-part project: engine and GUI. The engine is independent of the GUI and you can use it in your project. If you need to import the engine in your Rust project use: