Skip to content

SimBridge 2.10.0: call translation upgrade and early media - #22

Merged
ttabouch12 merged 13 commits into
mainfrom
feature/natural-voice
Dec 6, 2026
Merged

ttabouch12 merged 13 commits into
mainfrom
feature/natural-voice

Conversation

@ttabouch12

Copy link
Copy Markdown
Owner

SimBridge 2.10.0: call translation upgrade and early media. Supersedes #20 (draft). Tested as 2.10.0-beta1 to -rc1 on a Pixel 9 + Galaxy A56: test call, outgoing call with an operator message, answered outgoing call.

  • Translation: free Gemini voices matched to each speaker, Gemini Live Translate (experimental), Silero VAD voice filter, echo guard, chunking for nonstop talkers, AAC uploads, gpt-oss-20b default.
  • Early media: the gateway opens call audio while dialing and sends it as 183 Session Progress; the phone plays it listen-only with captions.
  • Gateway: silent-downlink fallback to direct telephony ([BUG] Samsung Galaxy A52 – Complete bidirectional audio silence over Wi-Fi and Tailscale #21).
  • Compressed native libs (APKs ~half size), unit tests, no build warnings, CI retry on dependency download failures.

Squash-merge: an early branch commit briefly held release APKs.


Generated by Claude Code

ttabouch12 and others added 13 commits December 4, 2026 23:41
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01A6dfuLYcfqCCHsvZhJ8pKM
…0.0-beta1)

- Natural voices for translated speech: Gemini TTS or ElevenLabs Flash v2.5,
  streamed and spoken sentence by sentence, matched to each speaker's pitch.
- ElevenLabs instant clone of my own voice from a ~30 s recording.
- Gemini Live Translate (experimental): speech to speech in a voice like the
  speaker's, one session per direction.
- Voice filter: Silero VAD (MIT) replaces the loudness gate, a level gate keeps
  the main talker, Whisper segments with low confidence are dropped, and the
  translator skips words that weren't meant for the call.
- Pre-releases publish with --prerelease so self-update skips them.
- Fix a flaky SIP shutdown test and two compiler warnings.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01A6dfuLYcfqCCHsvZhJ8pKM
…0.0-beta1)

- Natural voices for translated speech: Gemini TTS or ElevenLabs Flash v2.5,
  streamed and spoken sentence by sentence, matched to each speaker's pitch.
- ElevenLabs instant clone of my own voice from a ~30 s recording.
- Gemini Live Translate (experimental): speech to speech in a voice like the
  speaker's, one session per direction.
- Voice filter: Silero VAD (MIT) replaces the loudness gate, a level gate keeps
  the main talker, Whisper segments with low confidence are dropped, and the
  translator skips words that weren't meant for the call.
- Pre-releases publish with --prerelease so self-update skips them.
- Fix a flaky SIP shutdown test and two compiler warnings.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01A6dfuLYcfqCCHsvZhJ8pKM
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01A6dfuLYcfqCCHsvZhJ8pKM
Its JNI code looks classes up by name, so R8 must not rename or drop them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01A6dfuLYcfqCCHsvZhJ8pKM
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01A6dfuLYcfqCCHsvZhJ8pKM
They belong only on publish/* branches; ignore the folder elsewhere.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01A6dfuLYcfqCCHsvZhJ8pKM
- EchoGuard: learns how loud the earpiece leaks into the mic and only
  translates my mic when I'm clearly talking; ducks the translation while I
  talk; drops lines that repeat a translation just played to me.
- Segmenter cuts nonstop speech into ~5 s chunks at a breath (8 s max).
- Speak faster when translated speech piles up.
- Start the translator (and floating button) when call audio arrives after
  the call connects.
- Remove ElevenLabs; Gemini voices and Live Translate use the free tier.
- Full-contrast colors in saved call transcripts.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01A6dfuLYcfqCCHsvZhJ8pKM
…s silent (#21)

Automatic now checks the downlink 4 s into the call. If the redirected
capture delivers digital silence, the whole call moves to Direct telephony
(record and track) and the choice is remembered per build fingerprint.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01A6dfuLYcfqCCHsvZhJ8pKM
…-rc1)

- Gateway opens call audio while an outgoing call is dialing and sends it to
  the main phone as SIP early media (183 Session Progress); the phone plays it
  listen-only and starts captions (no spoken translation before answer).
- Early taps skip the HAL and silence probes; the tap is reopened at answer.
- Native libraries stored compressed (APKs about half the size).
- Fix octave errors in pitch detection.
- Unit tests for translation logic and early media; fix or justify build
  warnings; retry Gradle in CI when dependency downloads fail.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01A6dfuLYcfqCCHsvZhJ8pKM
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01A6dfuLYcfqCCHsvZhJ8pKM
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01A6dfuLYcfqCCHsvZhJ8pKM
@ttabouch12
ttabouch12 merged commit 062df79 into main Dec 6, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant