TroubleshootingFix: Walkie-Talkie Recording Issues

Fix: Walkie-Talkie Recording Issues

Symptom: Recording problems: too short, no audio detected, recording never stops, or WAV file is empty.

Common Causes

⚠ Recording too short

Whisper needs at least ~0.5 seconds of audio to transcribe. Speak for at least 1-2 seconds before typing /ptt again to send.

⚠ No audio captured

Check mic access (see mic troubleshooting). The recording creates /tmp/interrupt-ptt.wav — check its file size after recording.

⚠ Recording never stops

Type /ptt again to stop recording. If the command is not registering, check that the plugin's command.execute.before hook is firing.

⚠ WAV file is empty (0 bytes)

sox may not have mic access. Test sox directly: sox -d -t wav test.wav, speak, Ctrl+C. Check test.wav size.

⚠ Recording still going after /ptt

This indicates the command handler is not reaching the stop logic. Check plugin logs for errors in command.execute.before.

Fallback

If recording issues persist, restart OpenCode entirely. The plugin's recording state may have gotten stuck from a previous session.

Still having trouble?

Contact support →