Fast test implementation of a midi-fader based software
Go to file
Dandaedre 563a8e34ba
feat: edit capture patterns with a cursor
Open capture patterns in a dedicated popup with insertion-point navigation, local Backspace/Delete editing, Home/End movement, and cancellable changes. Preserve the existing selector apply flow and document the interaction.\n\nTests: cargo fmt --all -- --check\nTests: cargo check --workspace --all-targets --all-features\nTests: cargo test --workspace --all-targets --all-features\nTests: cargo test --workspace --doc --all-features\nTests: cargo clippy --workspace --all-targets --all-features -- -D warnings\nTests: cargo build --workspace --release --all-features\nTests: cargo check --workspace\nTests: cargo check --workspace --no-default-features\nTests: cargo check -p midi --no-default-features --features midir\nTests: cargo check -p volume_lib --no-default-features --features pulse
2026-10-15 22:39:14 +02:00
config feat: persist themes with a single save action 2026-10-15 22:29:56 +02:00
core feat(M1.4): reserve stateful relative groups 2026-10-15 03:14:36 +02:00
docs ci: add portable FreeBSD gate mode 2026-10-15 18:56:54 +02:00
examples/profiles feat: persist themes with a single save action 2026-10-15 22:29:56 +02:00
fader_master feat: persist themes with a single save action 2026-10-15 22:29:56 +02:00
midi feat(M5.3): own live MIDI surface connections 2026-10-15 02:37:30 +02:00
scripts ci: export native backend parameter 2026-10-15 19:44:04 +02:00
sound feat(M7.4): make runtime polling configurable 2026-10-15 03:54:10 +02:00
tui feat: edit capture patterns with a cursor 2026-10-15 22:39:14 +02:00
.gitignore ci: establish implementation fallback baseline 2026-10-05 07:28:08 +02:00
AGENTS.md docs(M1): record verified domain milestone and M2 boundary 2026-10-05 08:20:15 +02:00
Cargo.lock feat(M7.1): activate server and diagnostic commands 2026-10-15 00:15:21 +02:00
Cargo.toml feat(M7.2): authenticate and bound local clients 2026-10-15 01:14:50 +02:00
Jenkinsfile ci: export native backend parameter 2026-10-15 19:44:04 +02:00
LICENSE
…
README.md feat: edit capture patterns with a cursor 2026-10-15 22:39:14 +02:00
architecture.md feat: edit capture patterns with a cursor 2026-10-15 22:39:14 +02:00
checklist.md docs: condense the M9 and M10 hardware checklist 2026-10-15 04:33:32 +02:00
rust-toolchain.toml build(M0.1): pin reproducible Rust foundation 2026-10-05 07:47:49 +02:00
task.md feat: edit capture patterns with a cursor 2026-10-15 22:39:14 +02:00

README.md

fader_master

Version Tests Coverage

Linux application volume and mute control from one or more USB MIDI surfaces.

This repository contains tested domain and configuration libraries, a PulseAudio protocol worker compatible with pipewire-pulse, a local per-user server, and a live terminal mixer. The domain layer supports matching, routing, balanced group volume plans, and mute intent. Atomic TOML persistence, checkpointing, and live profile application/group aggregation are implemented; persistent MIDI lifecycle, pickup/feedback, and the configuration editor remain on the ordered backlog:

Run the live TUI

Start the server in one terminal:

cargo run --locked -p fader_master -- serve \
  --config examples/profiles/arch-pipewire.toml --audio pulse

Then start the client in another:

cargo run --locked -p fader_master -- tui

Use Up/Down or J/K to select a configured fader or separator, Left/Right to change its volume, M to toggle mute, T to cycle the profile's theme draft, and Q to open the quit confirmation. Escape cancels the active editor or dialog and does not quit from the main screen. Pass --theme dracula, nord, gruvbox-dark, catppuccin-mocha, or solarized-dark to choose an initial session theme. Save from Config to persist a theme selected with T. Offline objects remain visible, and aggregate rows show MIXED when member state differs. See the hands-on checklist for the exact milestone scope and restoration steps.

The mixer is also the primary configuration surface. Shift+Up/Down reorders the selected fader or separator; A adds a separator; E edits a selected fader or separator; D removes a selected separator; and h hides a fader. Fader editing provides capture Field/Exact-or-Regex/Pattern controls, group membership and mode, and separate controller, Learn MIDI, and Unlearn MIDI actions for both volume and mute. Learning opens a waiting popup and captures the next supported fader movement or button press from the selected controller. Capture patterns open in a cursor-aware popup, so individual characters can be inserted or removed without replacing the whole value. The editor also provides per-fader Size (Slim, Standard, or Thick) and visibility. Slim faders occupy one terminal row in Vertical mode; Standard remains the compatible default. Horizontal mode presents side-by-side fader strips with bottom-up meters, status, percentage, and bottom labels, with Size controlling strip width. The separator name is entered in a centered popup for both add and rename actions. The Config tab is a settings/status page: change the profile theme, switch the persisted mixer layout between Vertical and Horizontal, select the profile's default MIDI controller, restore individual hidden faders, inspect backend and MIDI-device state, and save the server-owned draft. Save both activates the validated configuration and persists it; there is no separate Apply step. Unassigned volume and mute controls inherit that default for MIDI learn. Vertical mode keeps the stacked card appearance; both modes keep separators full-width. The old Shift+h hidden-list mode and pipe-delimited object editors are no longer used.

References