TroubleshootingFix: sox Errors in OpenCode Interrupt

Fix: sox Errors in OpenCode Interrupt

Symptom: Plugin logs show sox errors. Walkie-talkie fails with audio device errors. Mic monitoring not working.

Common Causes

⚠ sox not installed

Install sox: sudo apt install sox (Ubuntu), brew install sox (macOS), sudo pacman -S sox (Arch).

⚠ sox cannot open audio device

Test: sox -d -t wav /dev/null. If it fails, check that no other process has exclusive access to the mic. Close other audio apps.

⚠ Permission denied (Linux)

Add user to audio group: sudo usermod -a -G audio $USER. Log out and back in for the change to take effect.

⚠ ALSA vs PulseAudio conflict

If sox tries to use ALSA directly while PulseAudio is running, set the device: export SOX_DEVICE="pulse".

⚠ sox binary mismatch

Some distros package "sox" but the binary is named "rec" or "play". Verify: which sox or which rec.

Fallback

Walkie-talkie requires sox. Without it, use the text-based interruption features (trigger words in user messages).

Still having trouble?

Contact support →