termux / termux/termux-api

termux-tts-speak heard by other party during phone call

Open
#144 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
4.3k
Forks
920
PR merge metrics
No merged PRs in 30d

Description

On two phones, both running android 6.x, this behavior is different.

On phone 1, if termux-tts-speak overlaps with a call, I hear it locally but the remote party doesn't hear it. This behavior is desirable for my purpose.

On phone 2, under the same scenario, remote party gets to hear whatever I hear from tts locally, which is undesirable for my purpose.

Speech engine in use is Google TTS.

I tried using all -s options of termux-tts-speak on phone 2 which did not help. Either the behavior doesn't change or the sound doesn't play at all.

Would appreciate help with any workaround at either android settings or tts engine or at termux api level.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the termux-tts-speak entry point and reproduce the behavior on the two Android 6.x phones using Google TTS. Compare the available -s options and investigate whether Android settings, the TTS engine, or the Termux API controls call-audio routing. Done means documenting a working workaround or confirming that the behavior cannot be controlled at the API level.

Written by the indexing model from the issue text.

Assessment

Tech stack
android
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.