StevenHickson / PiAUISuite

Raspberry PI AUI Suite
Other
695 stars 210 forks source link

Not output from voicecommand while aplay and others run just fine. #45

Closed black-snow closed 9 years ago

black-snow commented 9 years ago

Hi,

I don't get voicecommand to talk to me. aplay and mpg123 work just fine, arecord, too. !hardware==plughw:0,0

Sometimes I get output like this:

Opening config file...
running in continuous mode
verifying command as well
keyword duration is 2 and duration is 3
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 36597    0    14  100 36583      9  25085  0:00:01  0:00:01 --:--:-- 25091
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 38689    0    14  100 38675      7  19478  0:00:01  0:00:01 --:--:-- 19483
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 40122    0   234  100 39888     81  13942  0:00:02  0:00:02 --:--:-- 13941
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 38668    0   185  100 38483     92  19318  0:00:01  0:00:01 --:--:-- 19318
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 38144    0    14  100 38130      9  25881  0:00:01  0:00:01 --:--:-- 25903
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 36882    0    14  100 36868      9  25318  0:00:01  0:00:01 --:--:-- 25338

But nothing else happens. I don't hear anything during the setup.

Any guesses?

Jeins98 commented 9 years ago

Same issues her. Please help

black-snow commented 9 years ago

@StevenHickson any suggestions?

JBmiog commented 9 years ago

Same here, the .mp3 returned from google's text to speech service are 0 bytes in size, I've checked this out and i'm getting a 503 http error when trying to use their TTS service.

lemme commented 9 years ago

Same here!

StevenHickson commented 9 years ago

This should be fixed if you do a git pull. Google started using a captcha for that url so I had to modify it slightly. Can anyone run UpdateAUISuite.sh or git pull and InstallAUISuite.sh voicecommand and confirm that it is fixed?

Jeins98 commented 9 years ago

Thank you very much. I will test it when I arrive at home

black-snow commented 9 years ago

Sadly the update didn't fix anything for me. Still no sound while other applications output just fine.

Does the output on the console change when voicecommand has recognized the keyword? I'm still just getting the above console output.

lemme commented 9 years ago

me too - the update didn't fix the/my problem?!

StevenHickson commented 9 years ago

Did you run git pull? Did you run UpdateAUISuite.sh?

It is working fine on multiple computers for me.Can you run just a test with tts: tts "Testing a phrase 1 2 3"

joepdooper commented 9 years ago

The UpdateAUISuite.sh worked for me, thanks!

sudo /home/pi/PiAUISuite/Install/UpdateAUISuite.sh

black-snow commented 9 years ago

Alright, now it's talking to me during install and tts test runs fine. But it doesn't seem to recognize the keyword.

Jeins98 commented 9 years ago

Thank you! Everything works fine.

lemme commented 9 years ago

I have got the same problem as black-snow... ... I run git pull ... I run UpdateAUISuite.sh ... I tested it with tts "Testing a phrase 1 2 3" - sound works fine ... I tested it with tts -l de "Hallo ich bin ein Schweinchen" - sound works fine too ... if I start voicecommand I get: Opening config file... Not querying for answers running in continuous mode verifying command as well keyword duration is 3 and duration is 2 ... if I say "pi" - nothing happen

Is there a solution? greetz

joepdooper commented 9 years ago

Do 'voicecommand -e' and check your config file.

Check this link: https://github.com/StevenHickson/PiAUISuite/issues/42

black-snow commented 9 years ago

@lemme guess we should make a new issue for that

lemme commented 9 years ago

@joepdooper thank you for the hint (#42) but there where no empty lines (I checked ".commands.conf" and "command.conf").

@black-snow do you have the same problems? did you start a new issue?

black-snow commented 8 years ago

@lemme no, I have not start a new one yet - feel free to do so

ccurran689 commented 8 years ago

Has this issue been resolved? I've been trying to get this working for a week with no luck. I've ran all the updates and re-installed it countless times without being able to get any sound during install or when I run the actual program @black-snow @StevenHickson

joepdooper commented 8 years ago

@ccurran689 Did you check your config file for empty lines through 'voicecommand-e'? https://github.com/StevenHickson/PiAUISuite/issues/42

ccurran689 commented 8 years ago

I did yes @joepdooper

ccurran689 commented 8 years ago

@joepdooper There seems to be many with the same issue has no one resolved it? I've even tried an older version pi

black-snow commented 8 years ago

Gotta say that I haven't been trying for a while.

ccurran689 commented 8 years ago

I've tried pretty much everything I can try so just keep and eye out for me if you can

Sent from my iPhone

On 4 Jan 2016, at 19:14, Ronald notifications@github.com wrote:

Gotta say that I haven't been trying for a while.

— Reply to this email directly or view it on GitHub.

joepdooper commented 8 years ago

Does $arecord/$aplay work for you?

ccurran689 commented 8 years ago

Yep did indeed

Sent from my iPhone

On 5 Jan 2016, at 00:48, Joep notifications@github.com wrote:

Does $arecord/$aplay work for you?

— Reply to this email directly or view it on GitHub.

joepdooper commented 8 years ago

Is your hardware set correct in your config?

ccurran689 commented 8 years ago

Yeah I've used modprobe and tried changing the !hardwareplughw: to a few different settings just to check

Sent from my iPhone

On 5 Jan 2016, at 12:49, Joep notifications@github.com wrote:

Is your hardware set correct in your config?

— Reply to this email directly or view it on GitHub.

scooper86 commented 8 years ago

I too seem to have this issue, although have not yet played around with !hardwareplughw:

voicecommand setup does not recognise anything I say and comes back with symbols.

I am currently running Jessie and have also configured bluetooth a2dp so don't know if I have interfered with anything related to pulseaudio/asla.

wildbi111 commented 8 years ago

I am having a similar issue in that voicecommand and tts do not work, yet aplay, arecord and mpg123 all work. Any suggestions?