Anrufer Ankündigung durch Sprache
Moderator: Martin
Anrufer Ankündigung durch Sprache
Sprachausgabe(contact_name) stoppt immer, flow wird rot. Warum?
Re: Anrufer Ankündigung durch Sprache
Try the speech output with other text. Does it still red (and stuck)? Maybe there is some problem with the text to speech engine. try to download offline voices and use embedded option.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
Re: Anrufer Ankündigung durch Sprache
After changed (incoming_contact) to (incoming_number)and then back to (incoming_contact) it works very well. But why?
Re: Anrufer Ankündigung durch Sprache
Sometimes the media server got stuck. I got the same error once in a while. I use speech output everyday, with trigger time, almost no error. The error typically occur when there is other mic/speaker usage, either from automagic (input speech or other sound action) or other app. In your case, it is the phone ringing. I still don't know what exactly is the cause.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
Re: Anrufer Ankündigung durch Sprache
Thank you for your effort to help me!
Re: Anrufer Ankündigung durch Sprache
Hi,
I've the same problem at
Huawei P20, 9. 0
I tried the additionally uninstall ADB of Power Genius.
After restarting the phone, no effect.
In AM there is a workaround for the speech output, if I check Or uncheck it, it works for a while.
If I stop AM and start it again it is possible that it works for a while - but not directly after restarting the phone.
The script itself works till the speech output, see the picture Also in the script I tried command screen on and pause with phone awakened - not working.
I added also an action to the speech output with exception, but the exception never gets focus, the speech output stays red.
Any hints are welcome, I miss the reliable hands free solution to hear my next calendar entries or the incoming sms reading I'd my BT device is active...
Regards,
Fritz
PS Hatte mit P9 lite, 7. 0 noch funktioniert
I've the same problem at
Huawei P20, 9. 0
I tried the additionally uninstall ADB of Power Genius.
After restarting the phone, no effect.
In AM there is a workaround for the speech output, if I check Or uncheck it, it works for a while.
If I stop AM and start it again it is possible that it works for a while - but not directly after restarting the phone.
The script itself works till the speech output, see the picture Also in the script I tried command screen on and pause with phone awakened - not working.
I added also an action to the speech output with exception, but the exception never gets focus, the speech output stays red.
Any hints are welcome, I miss the reliable hands free solution to hear my next calendar entries or the incoming sms reading I'd my BT device is active...
Regards,
Fritz
PS Hatte mit P9 lite, 7. 0 noch funktioniert
"You cannot know the meaning of your life until you are connected to the power that created you.”
Shri Mataji Nirmala Devi, founder of Sahaja Yoga
Shri Mataji Nirmala Devi, founder of Sahaja Yoga
Re: Anrufer Ankündigung durch Sprache
@yogi108 : What TTS do you use? Embedded or Network? I use VocalizerEx2, Embedded (offline). Working most of the time and once in a while will error when using my speech project flow. Can't you try other TTS engine to see if there is problem? Or maybe different language.
Exception won't work here, since the stuck is at the speech output action. Maybe you need logcat/enable debug log to see the error.
Exception won't work here, since the stuck is at the speech output action. Maybe you need logcat/enable debug log to see the error.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
Re: Anrufer Ankündigung durch Sprache
@DesmantoDesmanto wrote: ↑28 Jan 2020 18:26@yogi108 : What TTS do you use? Embedded or Network? I use VocalizerEx2, Embedded (offline). Working most of the time and once in a while will error when using my speech project flow. Can't you try other TTS engine to see if there is problem? Or maybe different language.
Exception won't work here, since the stuck is at the speech output action. Maybe you need logcat/enable debug log to see the error.
TTS is standard Google engine, I tried embedded, network and now none is checked, also different voices.
My phone shuts down before sleeping and is aweakened automatically at specified time.
After login and Automagic finishing boot the speech output doesn't work (wether normal or over bluetooth).
The workaround at the moment AFTER finishing boot process:
I'm checking now if it lasts till the next phone shutdown in the evening - yesterday it was succesfull working till then.Automagic menu-> stop service, then start service again
I've no idea about logcat, debug log seems not to show more than "speech output" and then stops - another try now see at the end, gets an error also.
At the moment I can live with this workaround, thanks for your hints,
Regards,
Fritz
PS: Just tried a reboot, so it is not the same as phone turning off, following from the log, maybe Martin can have a look at this:
29.01.2020 09:55:16.209 [adebug] Starting to execute flow 'adebug' with Context.......
29.01.2020 09:55:16.212 [adebug] Start executing action 'Lautstärke einstellen: Medien auf Level 6'
29.01.2020 09:55:16.220 [adebug] End executing action 'Lautstärke einstellen: Medien auf Level 6'
29.01.2020 09:55:16.254 [adebug] Flow continues executing with the next step.
29.01.2020 09:55:16.255 [adebug] Start executing action 'Script: zeit="{triggertime,dateformat,HH:mm}";'
29.01.2020 09:55:16.279 [adebug] End executing action 'Script: zeit="{triggertime,dateformat,HH:mm}";'
29.01.2020 09:55:16.304 [adebug] Flow continues executing with the next step.
29.01.2020 09:55:16.305 [adebug] Start executing action 'Sprachausgabe: Aktuelle Zeit {zeit}1'
29.01.2020 09:55:17.008 [adebug] End executing action 'Sprachausgabe: Aktuelle Zeit {zeit}1' and exception TTS task finished with an unknown error
29.01.2020 09:55:17.023 [adebug] Flow ends execution due to errors
29.01.2020 09:55:17.023 [adebug] Error:
ch.gridvision.ppam.androidautomagiclib.util.m: TTS task finished with an unknown error
at ch.gridvision.ppam.androidautomagic.util.cm$5.run(SourceFile:587)
at android.os.Handler.handleCallback(Handler.java:907)
at android.os.Handler.dispatchMessage(Handler.java:105)
at android.os.Looper.loop(Looper.java:216)
at android.app.ActivityThread.main(ActivityThread.java:7625)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:524)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:987)
29.01.2020 09:55:17.041 [adebug] Flow ended.
29.01.2020 09:55:46.057 [adebug] Starting to execute flow 'adebug' with Context............
29.01.2020 09:55:46.061 [adebug] Start executing action 'Lautstärke einstellen: Medien auf Level 6'
29.01.2020 09:55:46.065 [adebug] End executing action 'Lautstärke einstellen: Medien auf Level 6'
29.01.2020 09:55:46.094 [adebug] Flow continues executing with the next step.
29.01.2020 09:55:46.095 [adebug] Start executing action 'Script: zeit="{triggertime,dateformat,HH:mm}";'
29.01.2020 09:55:46.116 [adebug] End executing action 'Script: zeit="{triggertime,dateformat,HH:mm}";'
29.01.2020 09:55:46.132 [adebug] Flow continues executing with the next step.
29.01.2020 09:55:46.133 [adebug] Start executing action 'Sprachausgabe: Aktuelle Zeit {zeit}1'
29.01.2020 09:55:51.249 [adebug] End executing action 'Sprachausgabe: Aktuelle Zeit {zeit}1'
29.01.2020 09:55:51.263 [adebug] Flow ended.
"You cannot know the meaning of your life until you are connected to the power that created you.”
Shri Mataji Nirmala Devi, founder of Sahaja Yoga
Shri Mataji Nirmala Devi, founder of Sahaja Yoga
Re: Anrufer Ankündigung durch Sprache
Oh, I don't get the exact meaning at your first post. Turns out the problem only happen after booting. This seems to be a problem that your TTS service is not starting after boot. Maybe you can check at the TTS setting. Some ROM have the capability to limit or disable some startup app. You need to check yours.
I just check mine. Even if I force stop the vocailizer, then start speech output, it is still working fine. So there must be some service on lower level than app, that is required by Automagic to start speech output. And somehow it can be restarted by restarting automagic. Or maybe that service got delayed, and started only after Automagic has started. So, when you restart Automagic, it then succesfully hook to that service.
I just check mine. Even if I force stop the vocailizer, then start speech output, it is still working fine. So there must be some service on lower level than app, that is required by Automagic to start speech output. And somehow it can be restarted by restarting automagic. Or maybe that service got delayed, and started only after Automagic has started. So, when you restart Automagic, it then succesfully hook to that service.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.
Re: Anrufer Ankündigung durch Sprache
@DesmantoDesmanto wrote: ↑30 Jan 2020 17:57Oh, I don't get the exact meaning at your first post. Turns out the problem only happen after booting. This seems to be a problem that your TTS service is not starting after boot. Maybe you can check at the TTS setting. Some ROM have the capability to limit or disable some startup app. You need to check yours.
I just check mine. Even if I force stop the vocailizer, then start speech output, it is still working fine. So there must be some service on lower level than app, that is required by Automagic to start speech output. And somehow it can be restarted by restarting automagic. Or maybe that service got delayed, and started only after Automagic has started. So, when you restart Automagic, it then succesfully hook to that service.
Yes, you are right. After two days testing it seems to be only problem after boot.
At the TTS settings I didn't find any useful information...
Thanks again,
Regards
Fritz
"You cannot know the meaning of your life until you are connected to the power that created you.”
Shri Mataji Nirmala Devi, founder of Sahaja Yoga
Shri Mataji Nirmala Devi, founder of Sahaja Yoga