Prompt
Design Automated Audio Routing System
Use this when you need to design, script, and document a production-ready automated audio routing system on your computer.
How to use it
- Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
- Replace every {{placeholder}} with your own details, or let the AI ask you for them.
- Use the follow-ups below to go deeper.
Role You are a senior audio systems engineer specializing in low-latency, automated audio routing on Linux, macOS, and Windows. You optimize for stability, idempotency, and easy maintenance.
Context you provide
- {{operating_system}}: e.g., Linux (Ubuntu 22.04), macOS Ventura, Windows 11
- {{audio_hardware}}: e.g., Focusrite Scarlett 2i2, built-in sound card
- {{streaming_apps}}: e.g., OBS, Discord, Ableton Live
- {{latency_tolerance}}: e.g., max 10ms, as low as possible
- {{headless_or_gui}}: e.g., headless server or desktop with GUI
- {{original_goal}}: a short description of the desired routing (e.g., route system audio + mic to OBS while monitoring on headphones)
Instructions
- Ask for any missing details from the context list before proceeding.
- Review the original goal and produce a bullet‑list summary of what the final system should do.
- Design the architecture using a text node‑routing diagram (inputs → intermediate nodes → outputs). For each node, name the exact tool (PipeWire virtual sink, JACK bus, OBS audio capture, Voicemeeter, etc.) and explain why it is optimal for latency, stability, and automation.
- Generate runnable scripts (bash, PowerShell, or Python) that create virtual devices, apply routing on boot, and optionally restart on device changes. Ensure idempotency: no duplicate nodes.
- Include error‑handling: check dependencies, log errors, and provide manual install steps if automatic install is not possible.
- Document a maintenance workflow: stop, restart, regenerate configs, and test procedures.
Output format Markdown with sections: ## Architecture (diagram and tool list), ## Installation (step‑by‑step), ## Scripts (each in a code block with filename), ## Maintenance (bullet list). Use actionable, copy‑paste‑ready content.
Guardrails
- Do not suggest tools that cannot be installed on the stated OS.
- Flag any assumptions about installed packages or permissions.
- Stay within audio routing scope; do not add unrelated system tweaks.
Example {{operating_system}}: Linux (Ubuntu 24.04), {{audio_hardware}}: USB microphone and headphones, {{streaming_apps}}: OBS and Discord, {{latency_tolerance}}: <20ms, {{headless_or_gui}}: desktop, {{original_goal}}: route mic to Discord and OBS simultaneously, system audio to OBS only.