Thread: Text to speech in realtime pause from phone call - Sony Cross-Device General

I'm working on a project that include 2 main threads.
1th thread is the phone call. 2nd thread is text to speech in realtime from phone call.
It works properly on Lenovo K3 Note but when I run the code on Samsung it pauses the 2nd thread, when I cancel the call the 2nd thread continues.

Related

TTS Discussion

Hi. This thread is made to bring all text to speech related topics in one place.
Post all your TTS queries here.
my queries
Which is the best free TTS engine? and which is the best paid one?
Also which is the best ebook reader with tts support?
Is TTS very taxing on the cpu? Does it drain battery quite fast or not?
Please reply.
I have a problem with Pico TTS. If I uninstall it, on boot the home screen is unresponsive until I press the Home key or the Back key. I'm on stock ROM with franco v14.1 kernel.
The problem goes away if I reinstall Pico TTS.
How do I fix this?
Sent from my LG-P500
VTTS Text-To-Speech service https://vtts.xyz/home lets you instantly get a human sounding voiceover. It is super easy to use. Just paste the text you want to be transformed into our online text editor and let one of our A.I. engines check your text and will add all the punctuation marks needed to make the speech sound natural. You can preview each voice to hear and find the one that best fits your needs. Also, you can add breathing sounds, longer pauses in the speech and even choose the tone of the speech: Serious, Joyful or just normal. In less than 10 seconds you’ll have your voiceover generated. You can play the voiceover directly from VTTS to see if you like it or you want to try a different voice go to: https://vtts.xyz/home/tryme
Transform any text into speech, Male & Female voices included. The only text-to-speech engine that adds inflections in the voice. Over 30 human-sounding voices

[Q] Receive fake SMS and CALL (programmatical)

So this is what i was thinking, making an app (running in the background probably) that would do the following:
- at a specific time of day, my android device would (fakely) receive an sms, with my predefined content, of course
- at a specific time of day, my android device would (fakely) receive a phone call, and when i answer, let's say some song starts playing, like from the other end of the line, not in the out speakers
Can this be done? And how? This should be done without any gsm network, I don't want any fees involved, but getting a notification and all, just like the real deal.
PS: I'm pretty new to android programming, so please be as detailed as possible. Thanks!
Additional Details
To sum it up: you have an app running in the background, at 2PM it "calls" you. as in, you receive a call, but not from a real person, it just looks like it. you answer and a song starts playing in the speaker, instead of an actual person talking.
I'm asking for where to begin, some lines of code that would help and so on, not the whole app
I would say that for the "specific time of day" feature, I would look into the AlarmManager class: http://developer.android.com/reference/android/app/AlarmManager.html
It really depends on how authentic you need to be with your "fake text" and "fake call", but you can easily create a notification that looks like a text using the Notification.Builder class: http://developer.android.com/reference/android/app/Notification.Builder.html. If you need it to pull up a text message like interface after tapping on it, you could either design some xml to look just like the Messaging app or just display a fullscreen screenshot of it.
As for the phone call, I would probably just display a fullscreen screenshot of a phone call if you didn't need interactivity with it. You can have your phone play your ringtone by using the MediaPlayer class: http://developer.android.com/guide/topics/media/mediaplayer.html
so basically they are all workarounds, except for the notification. i want them to look as real as possible.
thanks for the ideas, will look into.
i found this app which does exactly what i need. maybe way too much, as i don't need all those settings. can anyone give any feedback on it, on how it's done?
play.google.com/store/apps/details?id=com.popularapp.fakecall

[Q] No sound during calls and dialer freezes

Hello, I am having an issue with my Samsung Galaxy S4 Canadian Rogers edition. I am unable to make calls and a number of the application involving the phone's mic are no longer working. Also the speakers are not working at all.
When trying to make a call through the stock dialer (i tried a 3rd party dialer as well) the phone usually freezes on a black screen with the notification bar on the top (see attached file for screenshot) or a message will show up saying "Phone isn't responding, do you want to close it?"
This problem occurred after trying to unlock my phone using this guide found here.
[ I am unable to post links, the guide can be found by googling "how to carrier unlock samsung galaxy s4", (I used the first guide on gs4.wonderhowto)]
I feel like I might have made some sort of mistake while in the service menu and would greatly appreciate it if someone could help me.
Attached are screenshots of my phone

Text to speech

How to make my TTS software to read each sentence automatically for 10 times , before moving onto next sentence.

Call Recording

Hey,
I saw a call recording setting in the stock voice recorder app provided !!
There must be a way to enable call recording without any applications!!!
Swagnik said:
Hey,
I saw a call recording setting in the stock voice recorder app provided !!
There must be a way to enable call recording without any applications!!!
Click to expand...
Click to collapse
In the rom inbuilt call recording is their?
I don't get any option to record call but there is a setting in the stock voice recorder regarding call recording!!
@Swagnik THREAD CLOSED as another subject matter related thread already exists, in which you even made the same post as here minutes before you created this one. I copied above posts no. 2 and 3 to the other thread.
https://forum.xda-developers.com/max-pro-m2/help/recording-calls-t3920410
XDA Forum Rules (excerpt):
...
5. Create a thread topic or post a message only once, this includes external links & streaming media.
As a large forum, we don't need unnecessary clutter. You're free to edit your message as you like, so if you do not receive an answer, revisit your message and see if you can describe your problem better. Not everyone is online at the same time so it might take a while before you receive an answer.
You can bump your unanswered question once every 24 hours
Duplicate threads and posts will be removed
Always post in an existing thread if a topic already exists, before creating a new thread.
Use our search function to find the best forum for your device.
Links to an external source are only allowed if relevant to the topic in hand. A description must be included, no copy & pasting from the original source.
Self-promotion is forbidden, this includes blogs, social media and video channels etc. Random links will be removed.
...
Click to expand...
Click to collapse

Categories

Resources