StevenHickson / PiAUISuite

Raspberry PI AUI Suite
Other
695 stars 210 forks source link

No Audio Output #47

Open TewGer opened 8 years ago

TewGer commented 8 years ago

Hello,

i have a Problem with the Audio Output of PiAUISuite, because there is no Audio Output. My Speakers are working good, i can Play Audio, but with PiAUISuite there is nothing. For Example by running the Setup, i couldn´t hear anything. By Starting PiAUISuite everything was ok, but after some minutes the Audio Output was dead.

Do you have any Idea about it?

zeneslev commented 8 years ago

I'm having a similar problem. I was able to run the setup fine, but when I try to use voicecommand -c I don't get any audio output. After checking out the tts scrip that runs to generate the .mp3 file for playback, I believe the issue is with the Google Translate API now only servicing a few requests per day.

RenierD commented 8 years ago

Hi guys. This is such a useful little suite. Thanks Steve! I've been fiddling with it a lot. During the last month or so I've also been getting this problem. I also believe that it is a limitation from Google. Some days, when I start working on it after a few days I manage to get a about 2 TTS playback then it stops again.

Is there any workararound on this yet? Seems like google want us to register (as developers?) but where and how?

zeneslev commented 8 years ago

I made a workaround which I documented here: http://www.modified.systems/archives/68

Hope it helps On Nov 4, 2015 1:00 PM, "RenierD" notifications@github.com wrote:

Hi guys. This is such a useful little suite. Thanks Steve! I've been fiddling with it a lot. During the last month or so I've also been getting this problem. I also believe that it is a limitation from Google. Some days, when I start working on it after a few days I manage to get a about 2 TTS playback then it stops again.

Is there any workararound on this yet? Seems like google want us to register (as developers?) but where and how?

— Reply to this email directly or view it on GitHub https://github.com/StevenHickson/PiAUISuite/issues/47#issuecomment-153810157 .

kwkevinlin commented 8 years ago

I'm receiving the same issue here too. I think I heard a response back the first few times I tried it (ex: during setup), but not it's not responding again.

zeneslev commented 8 years ago

Kevin,

See if this workaround helps: http://www.modified.systems/archives/68

On Wed, Nov 11, 2015 at 9:30 PM, Kevin notifications@github.com wrote:

I'm receiving the same issue here too. I think I heard a response back the first few times I tried it (ex: during setup), but not it's not responding again.

— Reply to this email directly or view it on GitHub https://github.com/StevenHickson/PiAUISuite/issues/47#issuecomment-155978130 .

kwkevinlin commented 8 years ago

I actually tried that, but I think I'm getting some errors on the PiAUISuite side. Every time I exit out of voicecommand, I have to reboot or else it won't detect my sounds anymore (no more recording activity on the console). Also, when built-in TTS worked for a while, it wouldn't detect "Pi" for some reason. I took off !verify, then it started responding with "Yes Sir?". Do you know what might be the problem?

frozenpandaman commented 8 years ago

Thank you @zeneslev! You can also just use the "say" command (if you have it installed).

RenierD commented 8 years ago

Kevin's workaround works well for the TTS side, but it now also seems like the STT side is not working as well. As kwkevinlin said, by deactivating !verify, VoiceCommand responds, but cannot register a command? Is there anyone that has a similar problem?

ccurran689 commented 8 years ago

did you get this resolved @TewGer

TewGer commented 8 years ago

Yes,

Google only allow a few Connections per day. There is no Audio Output because you don´t get an reply from the Google engine.

promo81 commented 8 years ago

@TewGer i'm trying to put my Trial Google Api Key (Translate API)...you know how?

ccurran689 commented 8 years ago

@tewger so what did you do to fix it ?

TewGer commented 8 years ago

@promo81 no, i don´t have a key

@ccurran689 i have used espeak instead of the Google api. So you have to edit the tts script. But the Sound and the voice is terrible...

ccurran689 commented 8 years ago

@TewGer Was it just the URL that you adjusted? if not could you post the code change here please

ccurran689 commented 8 years ago

@TewGer ?

TewGer commented 8 years ago

i will post my code here in a few days, currently i´am not at home. Sorry

zeneslev commented 8 years ago

Hi All. I am now having problems with STT as well. @TewGer Looking forward to seeing what you did to workaround this.

zeneslev commented 8 years ago

I managed to fix it using the fix that kmadhugit has posted here: https://github.com/kmadhugit/PiAUISuite/commit/37992bd8a2974b2d19ed6ba9a989a2bf94839dfa

Basically a recent update to the Google SST API requires a different file format. I made these two changes, recompiled (had to change architecture in the makefile though from arm-v7 to arm) and tested. Everything works again!

ccurran689 commented 8 years ago

Just followed those instructions and I'm still without any output, I can get output from jasper using espeak however

On 15 January 2016 at 03:24, zeneslev notifications@github.com wrote:

I managed to fix it using the fix that kmadhugit has posted here: kmadhugit@37992bd https://github.com/kmadhugit/PiAUISuite/commit/37992bd8a2974b2d19ed6ba9a989a2bf94839dfa

Basically a recent update to the Google SST API requires a different file format. I made these two changes, recompiled (had to change architecture in the makefile though from arm-v7 to arm) and tested. Everything works again!

— Reply to this email directly or view it on GitHub https://github.com/StevenHickson/PiAUISuite/issues/47#issuecomment-171862044 .

passiqmukhtar commented 7 years ago

Hi everyone , I have the same issue above any suggestions please