Repository navigation
Live Turkish ↔ English call translation - #1
Merged
Merged
Conversation
Captions: the caller's Turkish is transcribed and shown in English (Translate in the in-call notification opens CaptionActivity). Captions + voice: my English is transcribed, translated and spoken to the caller in Turkish in place of my mic. Cloud: Groq free tier (whisper-large-v3-turbo + chat model, default openai/gpt-oss-120b). On-device: Android's recognizer fed by a pipe, ML Kit translation (full flavor only). Cloud failures fall back to on-device per line. CI now builds both phone flavors. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01A6dfuKXonbMrZt6eppeqNz
- Floating translate button over the call screen; expands to a mini chat with mode buttons (needs Display over other apps). - Caller and own language pickers (19 languages). - Engines: Groq GPT-OSS 120B/20B, Cerebras GPT-OSS 120B, Gemini 2.5 Flash-Lite, on-device ML Kit; separate keys; model override. - Faster: heard text shows before translation, reused and pre-warmed connections, pause length option (0.45/0.6/0.9 s), last 3 lines as context; per-line timing log. - Optional: read the caller's translation to me in the earpiece. - Readable caption colors and a large-text option. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01A6dfuKXonbMrZt6eppeqNz
The caption list is laid out bottom-up, so a line stays in view while its translation fills in. Full build ships arm64 only (ML Kit native libs made the APK 67 MB; now 20 MB). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01A6dfuKXonbMrZt6eppeqNz
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Phase 1 of call translation for relayed calls.
Untested on a device yet.
Generated by Claude Code