You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a new sample application, Speech Translator, under samples/apps/speech-translator/: an on-device Chinese <-> English speech-to-speech translator running on the Snapdragon NPU (HTP) through QAI AppBuilder.
Details
Pipelines: zh2en (Zipformer ASR -> OpusMT zh->en -> PiperTTS-EN) and en2zh (Zipformer ASR -> OpusMT en->zh -> MeloTTS-ZH).
Input from microphone, WAV file (--audio) or text (--text, skips ASR); output is the translated text plus a WAV file with optional playback.
All models are QNN context binaries (.bin), auto-downloaded on first use, chosen by chip (Snapdragon X Elite / X2 Elite).
Self-contained single file (SpeechTranslator.py), import-safe, usable as a library via Init / Inference / Release.
Activity
feat(samples): add Speech Translator app (on-device zh<->en speech-to…