Go to advanced search

by drcaptain
Sun Jun 07, 2015 2:20 am
Forum: Troubleshooting
Topic: Speech to Text
Replies: 6
Views: 3005

Re: Speech to Text

Thanks for this Doug! (And sorry for the l o n g delay in responding. Life diverted me from this project for a bit.) gtucker19 was also helping me work through STT issues over in this thread https://www.raspberrypi.org/forums/viewtopic.php?p=642752#p642752 . In coming back to this project, after hav...
by drcaptain
Thu Feb 05, 2015 5:02 am
Forum: Troubleshooting
Topic: Pocketsphinx FATAL_ERROR
Replies: 0
Views: 557

Pocketsphinx FATAL_ERROR

I'm attempting to run Pocketsphinx and have used the install instructions from CMUSphinx http://cmusphinx.sourceforge.net/wiki/raspberrypi Everything seems to be working up to the point when I run the program: pocketsphinx_continuous -48000 -nfft2048 It returns the following error: Warning: Could no...
by drcaptain
Tue Jan 20, 2015 9:05 pm
Forum: Other projects
Topic: Collaboration for Word Counter - Speech Recognition
Replies: 1
Views: 1128

Collaboration for Word Counter - Speech Recognition

I am working on a Word Counter device and would love to make it an open collaborateive project. The objective is to create a v1.0 Pi device that 1) does speech recognition, 2) counts the words, 3) count # of words over the course of 24 hours. 4) displays # of words recognized on a simple GUI v2.0 of...
by drcaptain
Wed Nov 26, 2014 3:16 am
Forum: Graphics, sound and multimedia
Topic: Raspberry Pi - Speech To Text
Replies: 29
Views: 34224

Re: Raspberry Pi - Speech To Text

Okay, so I'm not sure what's going on with my API keys. But they're not working. AIzaSyCqS-vSYEuFZ65_bN1ucB3cNB4322XDWLY Also turns out that Google Speech API will only translate 15 second clips. (Drats!) I'd love to know why my APIs aren't working. If anybody has any ideas, let me know. I really ne...
by drcaptain
Wed Nov 26, 2014 2:37 am
Forum: Graphics, sound and multimedia
Topic: Raspberry Pi - Speech To Text
Replies: 29
Views: 34224

Re: Raspberry Pi - Speech To Text

Holy crap! Gtucker! I think I finally got it to work using your API key. Right now it's only converting short bursts of speech (~3-5 seconds). And I'm having trouble with my API key (i.e. it's not working). I'm going to try to reset it. But had to post this real quick to share my excitement. Thanks ...
by drcaptain
Wed Nov 19, 2014 7:31 pm
Forum: Graphics, sound and multimedia
Topic: Raspberry Pi - Speech To Text
Replies: 29
Views: 34224

Re: Raspberry Pi - Speech To Text

So it is a capital I(eye) and not a lower case L. I've confirmed that because I can see in my Google dev console that I now have a 7 count for calls to the API. So good eye on that. I hadn't thought of changing that. (Doh!) Even so, I'm still getting a 403 error. Even though my console is telling me...
by drcaptain
Wed Nov 19, 2014 5:49 pm
Forum: Graphics, sound and multimedia
Topic: Raspberry Pi - Speech To Text
Replies: 29
Views: 34224

Re: Raspberry Pi - Speech To Text

I don't get the 400 error. Instead, I get a 403 error: "403. That’s an error. Your client does not have permission to get URL /speech-api/v2/recognize?lang=en-us&client=chromium&key=AIzaSyCZqgSwomikHVUKSiwdtfoYSgMN7hq9q7g from this server. Invalid key. That’s all we know." I've regenerated my key. T...
by drcaptain
Wed Nov 19, 2014 6:03 am
Forum: Graphics, sound and multimedia
Topic: Raspberry Pi - Speech To Text
Replies: 29
Views: 34224

Re: Raspberry Pi - Speech To Text

gtucker - thanks again! And that's awesome to hear that v2 of the api is working for *somebody*! However, for me the same error persists. Here is my wget line: wget -q -U "Mozilla/5.0" --post file file.flac --header "Content-Type: audio/x-flac; rate=16000" -O - "http://www.google.com/speech-api/v2/r...
by drcaptain
Wed Nov 19, 2014 1:40 am
Forum: Troubleshooting
Topic: Speech to Text
Replies: 6
Views: 3005

Re: Speech to Text

Hi Doug, Thanks for the suggestion! The speech is recording fine. And play back is fine too (if perhaps a lil scratchy). Here's the code arecord -d 15 -r 48000 FILE.wav Recording... WAVE 'FILE.wav' : Unsigned 8 bit, Rate 48000 Hz, Mono aplay FILE.wave Playing WAVE 'FILE.wav' : Unsigned 8 bit, Rate 4...
by drcaptain
Wed Nov 19, 2014 1:32 am
Forum: Graphics, sound and multimedia
Topic: Raspberry Pi - Speech To Text
Replies: 29
Views: 34224

Re: Raspberry Pi - Speech To Text

Thanks for the suggestion, gtucker. Unfortunately, the error still occurs: You said: pi@X ~ $ ./speech2text.sh Recording... Processing... You said: pi@X ~ $ The program allows 0 time to capture any recording. It instantly shows "Recording" and "Processing" virtually simultaneously. Any ideas what's ...
by drcaptain
Wed Nov 12, 2014 9:46 pm
Forum: Troubleshooting
Topic: Speech to Text
Replies: 6
Views: 3005

Speech to Text

Hello, I am a newbie to Pi and am trying to get a speech to text project off the ground and could use some help troubleshooting. The problem I'm having seems to be a unique error. At this point, for my project, I only want to be able to get to the point of transcribing my speech to text. For the nex...
by drcaptain
Tue Nov 11, 2014 6:09 pm
Forum: Graphics, sound and multimedia
Topic: Raspberry Pi - Speech To Text
Replies: 29
Views: 34224

Re: Raspberry Pi - Speech To Text

The problem I'm having seems to be a unique error. At this point, for my project, I only want to be able to get to the point of transcribing my speech to text. For the next phase of the project I will run a script that counts the words of a conversation for meetings that we have. (Should be a pretty...

Go to advanced search