PortAudio¶
PortAudio is the cross-platform audio I/O library that powers AI Translate's microphone capture in the Live Translation page.
If the Live page shows the banner:
⚠️ Microphone capture needs PortAudio.
…then PortAudio isn't installed (or isn't on the standard library path).
Most users never see this banner because PortAudio ships with the
sounddevice Python wheel; it only surfaces in stripped-down Python
distributions, custom builds, or some container images.
Install¶
Verify¶
After installing, restart AI Translate (or switch tabs once) and the Live page should no longer show the PortAudio banner. If it still does:
- Confirm a real microphone is plugged in / enabled in your OS.
- On Linux, check that your user is in the
audiogroup: If not,sudo usermod -aG audio $USERand log out / back in. - Open the Live page and pick Microphone as the audio source — the banner re-evaluates on every show, so the moment PortAudio becomes available the warning clears without an app restart.
See also¶
- System Audio Capture — separate guide for capturing system audio (PulseAudio / PipeWire / BlackHole / VB-Audio) on the Live page.
- Live Translation feature