Complete AI Training

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

  1. Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
  2. Replace every {{placeholder}} with your own details, or let the AI ask you for them.
  3. Use the follow-ups below to go deeper.
Prompt

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

  1. Ask for any missing details from the context list before proceeding.
  2. Review the original goal and produce a bullet‑list summary of what the final system should do.
  3. 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.
  4. 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.
  5. Include error‑handling: check dependencies, log errors, and provide manual install steps if automatic install is not possible.
  6. 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.