Author Topic: Hungarian recognition and TTS using Google  (Read 21360 times)

0 Members and 2 Guests are viewing this topic.

krysn95

  • Contributor
  • ***
  • Posts: 81
  • Karma: 1
    • View Profile
Re: Hungarian recognition and TTS using Google
« Reply #120 on: June 29, 2020, 08:14:52 AM »
Thanks, I Will check it!

Now the biggest challenge is the VC frozen (version: 2.3.0.4)

I would like to using the VC constantly (1/day restart) but sometimes after a few, the VC is just stop working.

Everything else is working, the PC react, and the VC window also react, but the menu points are not available (tools, optiosn…etc) and not react to the voice commands.

Do you have any idea what can cause this time to time freezing?

 

Im using this configuration:

https://modecom.com/en/freepc-32gb/
 

Win 10

CPU

·         Intel Atom Z3735F

·         Quad Core

·         1330MHz

 

RAM

DDR3L

2GB

 

ROM

32GB

 

According to the task manager, the CPU and ROM are ~50% using when the VC stop working.

What is also interesting that I can not lauch the VC with the shortcut (independently the frozen) only with the full windows restart (VC launch automatically with the windows)

 

Do you have earlier VC version with the Google Speech feature or any suggestion how can I solve this?

Thanks
 

Kalle

  • $upporter
  • Hero Member
  • *****
  • Posts: 2320
  • Karma: 47
    • View Profile
Re: Hungarian recognition and TTS using Google
« Reply #121 on: June 29, 2020, 08:27:58 AM »
This Atom CPU is very old (2014 or so). Try it with deactivated not needed plugins.
Check the free memory of the system hard disk - 32GB is not much for a Win10 system.
« Last Edit: June 29, 2020, 08:40:14 AM by Kalle »
***********  get excited and make things  **********

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Hungarian recognition and TTS using Google
« Reply #122 on: June 29, 2020, 08:52:11 AM »
I do not know what is causing the freezing but you should be able to end the VoxCommando process from task manager without having to restart.

You might also be able to create a batch script to kill the process and restart VoxCommando.

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Hungarian recognition and TTS using Google
« Reply #123 on: June 29, 2020, 12:30:15 PM »


Microphone PC's chrome page refresh:
After the main VC pc restart, it has to be maually reload the chrom recognizing pages on the  microphone pc's.
Is it possibel to automate this somehow? The VC can send reload the webpage command to other pc's?

Please download the attached file and replace the one found in

VoxCommando\plugins\TCP\html\ggSpeech

It should make the page automatically attempt to reconnect after hearing a voice command. So reloading the page is not necessary.
« Last Edit: June 29, 2020, 12:30:47 PM by nime5ter »

krysn95

  • Contributor
  • ***
  • Posts: 81
  • Karma: 1
    • View Profile
Re: Hungarian recognition and TTS using Google
« Reply #124 on: June 29, 2020, 01:06:27 PM »
Great, thanks you so much!

So are you sure that the most probably reason behind the freeze is the weakness of the pc?

Kalle

  • $upporter
  • Hero Member
  • *****
  • Posts: 2320
  • Karma: 47
    • View Profile
Re: Hungarian recognition and TTS using Google
« Reply #125 on: June 29, 2020, 01:36:28 PM »
I am not sure, it can be one from many possibilities
***********  get excited and make things  **********

krysn95

  • Contributor
  • ***
  • Posts: 81
  • Karma: 1
    • View Profile
Re: Hungarian recognition and TTS using Google
« Reply #126 on: June 29, 2020, 04:41:59 PM »
VC freeze
Now I tested and it seems that the 2gb RAM is not enough. When the RAM usage is above 85%, the VC stop working. Is it possible to give more virtual memory somehowe or I need to buy a stronger main pc to run the VC?
(From the 32gb ROM more than 10gb is free. This pc stick is dedicatd to home control, so the VC, Spotify, and Chrome is the only apps what are running on it)
« Last Edit: June 29, 2020, 04:44:12 PM by krysn95 »

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Hungarian recognition and TTS using Google
« Reply #127 on: June 29, 2020, 07:52:53 PM »
I don't know if this is really what is causing the freezing but realistically the minimum RAM for Windows in my opinion is 4GB

krysn95

  • Contributor
  • ***
  • Posts: 81
  • Karma: 1
    • View Profile
Re: Hungarian recognition and TTS using Google
« Reply #128 on: June 30, 2020, 05:49:47 PM »
Im still lost with the freezing issue:-(

Now Im tried to modified some setup in spotify app to use less RAM, and succesfuly now the RAM percentage is under 80% (max 82%) constantly, but the VC still freez after ~60-70 command. Probably it is not causing by the RAM.... Everthing else is working and respond but the VC not react.

Any idea?
Should I reinstall the VC or change any setup?
The  GTTS cache can cause this?
(Now Im enabled only the TCP and GTTS plugin)
There is must be a solution...

Thanks guys!


Kalle

  • $upporter
  • Hero Member
  • *****
  • Posts: 2320
  • Karma: 47
    • View Profile
Re: Hungarian recognition and TTS using Google
« Reply #129 on: July 01, 2020, 05:11:28 AM »
I recommend to buy a more powerful PC with an Intel i3 or i5 - I don’t know if this will solve your freezing problem, but for my understanding your hardware is not powerful enough at all.
There are so much (maybe used) mini PC’s on eBay available (as example a Asus Vivo) which works without any problems running VC and other stuff.
I use a Asus Vivo i3 for my home automation with a running VC instance 24h 365 days and have it only to restart after the Win10 updates.
« Last Edit: July 04, 2020, 04:12:31 AM by Kalle »
***********  get excited and make things  **********

krysn95

  • Contributor
  • ***
  • Posts: 81
  • Karma: 1
    • View Profile
Re: Hungarian recognition and TTS using Google
« Reply #130 on: July 04, 2020, 11:11:49 AM »
Guys, for the better stability, I would like to make a command what is do this:

Restar the pc every night at 4o' clock
Restart the VC automatically after every 50 command

Someone can help me, how can I make this?

Thanks in advance!

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Hungarian recognition and TTS using Google
« Reply #131 on: July 04, 2020, 12:58:36 PM »
Did you consider learning how to use the program?

Have you tried to explore the wiki?

Have you searched the forum to see if others have discussed doing similar things?

krysn95

  • Contributor
  • ***
  • Posts: 81
  • Karma: 1
    • View Profile
Re: Hungarian recognition and TTS using Google
« Reply #132 on: July 04, 2020, 01:24:38 PM »
Yes, okay it is understandable.
I made a quick search just I didn't find solution for the command counter, but I will try again..:)

krysn95

  • Contributor
  • ***
  • Posts: 81
  • Karma: 1
    • View Profile
Re: Hungarian recognition and TTS using Google
« Reply #133 on: July 04, 2020, 02:55:51 PM »
Ok I solved the VC restart with SetEventTimer but

how can I count the commands (if I want to trigger an event according to the number of execuded commands?)
how can I reboot the pc (the mouse emulation is the only way or there is more simple possibility?) ::dis
« Last Edit: July 04, 2020, 03:08:17 PM by krysn95 »

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Hungarian recognition and TTS using Google
« Reply #134 on: July 04, 2020, 03:24:26 PM »
I think rebooting is going too far. What will it solve? Anyway you should be able to do a restart using a command line or a batch file with launch actions. But I think it's a bad idea.

Counting commands is a bit complicated. I think using a timer makes more sense.