I know that you cannot play music to your phone call without hacking the code as discussed here but I would like to connect an audio generator to a phone call. This approach should be simpler because I have the synthesizer code myself. Assume the code can be run in real-time with only a little tau time-lag so fits very well in such an application. I am not sure how you can reach an real-time access from your keyboard to your phone call.

Cases where the feature is needed

  • Sometimes, I am in a library where I cannot talk and I cannot move without disturbing my work. However, I could easily type to the caller such that the text would be converted to speech in real-time.
  • Person with a disability that he cannot speak but only type. People are calling him, but currently, he cannot provide discussions because of restrictions and little understanding about the tech.

I am using Samsung Galaxy S4 GT-i9506 with CyanogenMod 13 (Android 6.0). So I want

  1. Type with your Laptop or Bluetooth keyboard connected to your phone.
  2. Synthesize the typed text in real time to the phone conversation.

How can you connect audio generator to your phone call?

  • Why do you think this would be any different from playing music to your phone call? – Dan Hulme Feb 19 '16 at 14:30
  • I cannot answer your question. Technically, it should be possible. I do not understand the parts of Android system that are limiting the solution. I updated little the body. – Léo Léopold Hertz 준영 Feb 19 '16 at 14:37

As you've already said you don't mind typing on your laptop to achieve this, it's perfectly possible. Just use any text-to-speech system on your laptop (Windows has one built-in, and you can buy/download extra voices for it), and make it output to your laptop's headphone jack. Then you need an adapter cable to connect the headphone output of the laptop to the handsfree kit of your phone. Alternatively, you can use your PC as a Bluetooth headset for your phone instead of using a tangible cable.

Note that this technique isn't specific to Android at all: it would work just the same with an iPhone or even a 'dumbphone'.

Doing it on the device might not be possible, even with a custom ROM. My answer here about recording calls explains why not all phones can do this: often, the phone call audio goes directly from the Bluetooth interface or speaker/mic to the mobile baseband, so the application processor has no way to send other audio to it (or to intercept the received audio).

|improve this answer|||||
  • Yes, it is possible to use USB keyboard with Oneplus 3. Now, the only problem is to connect any speech synthesizer with your calling. - - I think it is not possible at the moment because of security issues. – Léo Léopold Hertz 준영 Aug 10 '16 at 10:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.