Audio Redirect: A Complete Guide to Routing Sound Between Devices
What is audio redirect?
Audio redirect is the process of sending audio streams from one device or application to another so sound input or output can be captured, processed, or played elsewhere. Common uses include forwarding microphone audio from a client to a remote machine, routing audio from a DAW to a hardware interface, or sending system audio into a virtual meeting.
Why use audio redirect?
- Flexibility: Use remote hardware (microphones, speakers) or route sound between apps without physical cables.
- Remote work: Hear or share local audio in remote desktop sessions or virtual machines.
- Recording & streaming: Capture system audio, combine sources, or feed mixes into streaming/broadcast software.
- Testing & development: Debug audio pipelines by redirecting streams into diagnostic tools.
Common scenarios
- Remote Desktop/VM audio forwarding (RDP, VNC, SPICE).
- USB/ASIO/virtual audio device routing for music production.
- Loopback capture for streaming/recording (OBS, Loopback, VB-Audio).
- Mobile-to-PC audio routing for podcasting or live streaming.
- Audio-over-IP for multi-room audio or pro-audio networks (Dante, AES67).
Key components and terms
- Source: Where audio originates (microphone, app, system audio).
- Sink/Target: Destination for audio (speakers, remote machine, recording app).
- Driver: Software that exposes devices to the OS; can be physical (ASIO, WASAPI) or virtual (VB-Cable, BlackHole).
- Samplerate/Bit depth: Must match or be resampled to avoid glitches.
- Latency: Delay between source and sink—critical for monitoring and live performance.
- Codec/Compression: Affects bandwidth for networked redirect; uncompressed gives best quality but uses more bandwidth.
Methods and tools by platform
Windows
- Native: RDP supports audio redirection (client settings: “Play on this computer” or “Leave at remote computer”).
- Virtual drivers: VB-Audio (VB-Cable, VoiceMeeter) to create virtual inputs/outputs and route between apps.
- Pro audio: ASIO drivers for low-latency audio interfaces; use aggregated routings in DAWs.
- Streaming: OBS can capture desktop audio or a specific audio device; use virtual cables to feed mixed output.
macOS
- Native: Screen Sharing and some remote tools offer audio forwarding.
- Virtual drivers: BlackHole, Soundflower for loopback routing.
- Aggregated devices: Create multi-output or aggregate devices in Audio MIDI Setup for combining hardware and virtual devices.
- Streaming/DAW routing: Route app audio to virtual device then capture in OBS or Logic Pro.
Linux
- PulseAudio / PipeWire: Use loopback modules and virtual sinks/sources to route audio between apps and network.
- ALSA: Lower-level device control; often used alongside JACK for pro audio routing.
- JACK: Professional low-latency routing between apps and hardware; connect graphically or via command line.
- Network audio: RTP/JackTrip for remote low-latency streaming.
Networked/pro-audio
- Dante, AES67/RAVENNA: Professional audio-over-IP standards for multi-channel, low-latency routing across networks.
- NDI audio: Part of NDI streams for AV over IP workflows.
Step-by-step: Basic desktop-to-desktop redirect (example: Windows RDP)
- On the remote (host) PC, ensure Remote Desktop is enabled.
- On the local (client) PC, open Remote Desktop Connection → Show Options → Local Resources → Remote audio → Settings.
- Choose “Play on this computer” to hear remote audio locally, or “Record from this computer” to forward local microphone to the remote session.
- Connect; confirm playback device on the remote is set correctly.
Step-by-step: Capture system audio for streaming (cross-platform)
- Install a virtual loopback driver (VB-Cable on Windows, BlackHole on macOS, PipeWire/PulseAudio loopback on Linux).
- Set system output to the virtual device (or create an aggregate device including your speakers and the virtual device to monitor locally).
- In your streaming/recording app (OBS, Audacity, DAW), select the virtual device as an input source.
- Adjust levels and monitor latency; add filters or EQ as needed.
Managing latency and quality
- Use direct, low-level drivers (ASIO, JACK, PipeWire) for low-latency tasks.
- Match sample rates and buffer sizes across devices; smaller buffers reduce latency but increase CPU load and risk of dropouts.
- For network redirect, use wired Ethernet and QoS where possible; choose codecs and transport that balance latency and bandwidth.
Troubleshooting checklist
- No audio: Verify source/sink selection, volume/mute states, and driver installation.
- High latency: Increase buffer sizes cautiously, switch to lower-latency drivers, or reduce sample rate.
- Glitches/dropouts: Update drivers, reduce CPU load, check cables and network stability.
- Wrong channels: Confirm channel mapping and stereo/mono settings in the routing tool or DAW.
- Permission issues: On macOS, grant microphone and screen-recording permissions for apps capturing audio.
Security and privacy considerations
- Restrict who can receive redirected audio in remote sessions.
- When sending microphone/system audio over networks, use encrypted transports (VPN, TLS) to protect content.
- For public streams, be mindful of accidentally exposing private audio (notifications, messages).
Useful tools and resources
- Windows: VB-Audio (VB-Cable, VoiceMeeter), OBS, RDP.
- macOS: BlackHole, Soundflower, Audio MIDI Setup, OBS.
- Linux: PipeWire, PulseAudio, JACK, JACK Trip.
- Pro audio: Dante Controller, AES67 tools, ASIO drivers.
Quick reference — when to pick which approach
- Low-latency music production: ASIO or JACK/PipeWire.
- Simple streaming/recording of system audio: Virtual loopback drivers + OBS.
- Remote desktop audio use: Built-in RDP/SPICE audio redirection.
- Multi-room or pro networks: Dante/AES67.
If you want, I can provide platform-specific commands/configs (Windows registry/RDP settings, macOS Audio MIDI steps, or PipeWire/PulseAudio commands) for a particular setup—tell me which platform and goal.
Leave a Reply