{"id":35118694,"url":"https://github.com/andreimatveyeu/rmixer","last_synced_at":"2026-06-06T10:01:25.231Z","repository":{"id":330736061,"uuid":"1123780840","full_name":"andreimatveyeu/rmixer","owner":"andreimatveyeu","description":"A low-latency audio mixer application for JACK with a terminal user interface. Written in Rust.","archived":false,"fork":false,"pushed_at":"2025-12-27T17:36:28.000Z","size":124,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-13T22:54:58.760Z","etag":null,"topics":["audio","jack","mixer","pipewire","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/andreimatveyeu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-12-27T15:55:59.000Z","updated_at":"2025-12-27T17:36:32.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/andreimatveyeu/rmixer","commit_stats":null,"previous_names":["andreimatveyeu/rmixer"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/andreimatveyeu/rmixer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreimatveyeu%2Frmixer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreimatveyeu%2Frmixer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreimatveyeu%2Frmixer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreimatveyeu%2Frmixer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andreimatveyeu","download_url":"https://codeload.github.com/andreimatveyeu/rmixer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreimatveyeu%2Frmixer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33977371,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-06T02:00:07.033Z","response_time":107,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["audio","jack","mixer","pipewire","rust"],"created_at":"2025-12-27T22:56:58.895Z","updated_at":"2026-06-06T10:01:25.214Z","avatar_url":"https://github.com/andreimatveyeu.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RMixer - JACK Audio Mixer\n\nA low-latency audio mixer application for JACK with a terminal user interface. Written in Rust.\n\n![Screenshot](screenshot.png)\n\n## Features\n\n- **Configurable Ports**: Define input and output ports in YAML format\n- **Real-time Level Meters**: Visual dB level indicators with green/yellow/red zones\n  - Green: \u003c -12 dB\n  - Yellow: -12 dB to 0 dB\n  - Red: ≥ 0 dB (clipping)\n- **5-Second Peak Hold**: Visual peak indicators with decay\n- **Volume Control**: -60 dB to +12 dB range with 0.5 dB steps\n- **Mute \u0026 Solo**: Per-channel mute and additive solo (inputs only)\n- **Mono/Stereo Support**: Channels can be mono (1 port) or stereo (2 ports)\n- **Volume Persistence**: Volume levels are saved to config file on exit\n- **Manual Connections**: Ports are exposed for manual connection via `jack_connect`, `qjackctl`, etc.\n\n## Requirements\n\n### Build Dependencies\n\n```bash\n# Debian/Ubuntu\nsudo apt install build-essential libjack-jackd2-dev libclang-dev\n\n# Fedora\nsudo dnf install gcc jack-audio-connection-kit-devel clang-devel\n\n# Arch\nsudo pacman -S base-devel jack2 clang\n\n# NixOS\n# Dependencies are handled automatically via the Makefile\n```\n\n### Runtime Dependencies\n\n- JACK server (running via `jackd`, `pipewire-jack`, or similar)\n\n## Building\n\n```bash\nmake build        # Debug build\nmake release      # Release build\n```\n\nOr directly with cargo (non-NixOS):\n\n```bash\ncargo build --release\n```\n\n## Usage\n\n```bash\nrmixer --config config.yaml\n```\n\n### Command Line Options\n\n- `-c, --config \u003cPATH\u003e`: Path to configuration file (required)\n- `-v, --verbose`: Enable verbose logging\n- `-h, --help`: Print help\n- `-V, --version`: Print version\n\n## Configuration\n\nConfiguration is done via a YAML file. See `config.example.yaml` for a full example.\n\n```yaml\n# JACK client name\nclient_name: \"Mixer\"\n\n# Input channels to mix\ninputs:\n  - name: \"Mic\"           # Display name\n    ports:\n      - \"mic_in\"          # Mono: single port\n\n  - name: \"Music\"\n    ports:\n      - \"music_in_L\"      # Stereo: two ports\n      - \"music_in_R\"\n\n# Output channels (receive sum of all inputs)\noutputs:\n  - name: \"Main\"\n    ports:\n      - \"main_out_L\"\n      - \"main_out_R\"\n```\n\nPorts are exposed as `{client_name}:{port_name}`, e.g., `Mixer:mic_in`.\n\nVolume levels are automatically saved to the config file on exit and restored on next startup:\n\n```yaml\ninputs:\n  - name: \"Mic\"\n    ports:\n      - \"mic_in\"\n    volume_db: -6.0       # Optional: saved volume level\n```\n\n## Controls\n\n| Key | Action |\n|-----|--------|\n| `←` / `→` | Select channel |\n| `↑` / `↓` | Adjust volume (±0.5 dB) |\n| `0` | Reset volume to 0 dB |\n| `m` | Toggle mute |\n| `s` | Toggle solo (inputs only) |\n| `Tab` | Switch between inputs/outputs |\n| `q` / `Esc` | Quit |\n\n## Connecting Ports\n\nRMixer does not auto-connect ports. Use external tools to make connections:\n\n```bash\n# List available ports\njack_lsp\n\n# Connect ports\njack_connect \"Mixer:mic_in\" \"system:capture_1\"\njack_connect \"Mixer:main_out_L\" \"system:playback_1\"\njack_connect \"Mixer:main_out_R\" \"system:playback_2\"\n```\n\nOr use graphical tools like `qjackctl`, `qpwgraph`, or `helvum`.\n\n## Architecture\n\n```\n┌─────────────────────┐         ┌─────────────────────┐\n│    Audio Thread     │         │     UI Thread       │\n│                     │         │                     │\n│  JACK Process       │◄───────►│  ratatui + crossterm│\n│  Callback           │  rtrb   │  Event handling     │\n│  Level metering     │         │  Rendering          │\n└─────────────────────┘         └─────────────────────┘\n```\n\n- **Lock-free communication** via `rtrb` ring buffers\n- **Real-time safe** audio processing (no allocations in audio callback)\n- **Synchronized I/O**: Single JACK process callback handles all inputs and outputs\n- **60 FPS** UI refresh rate\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandreimatveyeu%2Frmixer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandreimatveyeu%2Frmixer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandreimatveyeu%2Frmixer/lists"}