How do I use the Google Voice API on a Raspberry Pi running Debian and Chrome


Stefan Verweij

I have a Raspberry Pi running Debian and I would like to use the Google Web Speech API ( https://www.google.com/intl/nl/chrome/demos/speech.html ) in Chrome. On my Windows PC, I get a dialog popping up asking if a website can use my mic, but on the raspberry I can't hear it, so it doesn't work. The microphone works fine and is connected via a USB audio card.

Can it be done on the pi?

Ajax

Stefan, check out our guide on using the Google Speech API. Instead of using Chromium, it sends the recorded speech directly to Google's api.

https://harizanov.com/2013/03/siri-like-voice-chat-with-raspberry-pi-keep-kids-busy-for-a-while/

Related


How to get female voice via Web Speech API in Google Chrome

Zubair In a web page, I want the female voice to speak my text. I am trying to do this with the code below. But there are still men talking. How can I arrange for a female voice to speak? Can anyone share with me the correct code that works in Google Chrome. v

How do I run example code for Raspberry pi on codeblocks

Farouk I'm working on a sample code for Raspberry PI 3 (file path is: /opt/vc/src/hello_pi/hello_tiger). I want to run this sample code on a code block. I created new project on codeblocks and added main.c file and header files. I compiled this code but got an

How do I remotely access my Raspberry Pi?

Fabian Röling I thought this was a basic task, but it took me two days. I want to remotely access (meaning not in the same network) a Raspberry Pi 3 from Raspbian via Windows 7, I can see the desktop, click, type, etc. Chrome Remote Desktop doesn't work on it.

How do I use text to communicate with voice?

User 1196715 I am using xamarin. and android project. I created a new class and added the following code: using System; using Android.Speech.Tts; using System.Collections.Generic; namespace App1 { public class TextToSpeech_Android : Java.Lang.Object, IT

I want to use google API (voice commands) on PC

object oriented I want to use google API (voice commands) on PC but now I don't know how to start, please someone guide me and post some projects Diego Sahagun It's true that Google speech recognition is one of the best and is available offline now, but in my

How to get female voice via Web Speech API in Google Chrome

Zubair In a web page, I want the female voice to speak my text. I am trying to do this with the code below. But there are still men talking. How can I arrange for a female voice to speak? Can anyone share with me the correct code that works in Google Chrome. v

How to get female voice via Web Speech API in Google Chrome

Zubair In a web page, I want the female voice to speak my text. I am trying to do this with the code below. But there are still men talking. How can I arrange for a female voice to speak? Can anyone share with me the correct code that works in Google Chrome. v

How do I install libsuinput on Raspberry Pi 10 (Buster)

leeward I'm working on a project that requires libsuinput https://github.com/tuomasjjrasanen/libsuinput I have downloaded it, but when I follow the instructions in the readme to download Just run the following command: ./configure && make && make install I am

How do I fix this, Raspberry Pi

username I'm making a raspberry pi project where at the push of a button the distance sensor will tell me the distance to where the sensor is pointing. When I click the button I get the distance and then I get this error: Traceback (most recent call last): F

How do I run example code for Raspberry pi on codeblocks

Farouk I'm working on a sample code for Raspberry PI 3 (file path is: /opt/vc/src/hello_pi/hello_tiger). I want to run this sample code on a code block. I created new project on codeblocks and added main.c file and header files. I compiled this code but got an

How do I run JavaFX on Raspberry Pi 3

other Please can someone provide me with simple step by step instructions to get javafx working on raspberry pi 3. I've been trying to add javafx to raspberry pi 3 all day and I still get the error: "The JavaFX deployment library could not be found in the acti

How can I deploy these files on a raspberry pi running apache?

List I transferred the pdf file online to HTML, and downloaded a file with four files: xxxxx.htm, image.jpgand xxxxx.pdf, and a folder xxxxx_imagescalled , with pictures called xxxxx1*1.jpg. If you only put HTML into the raspberry pi, the PDF image will not be

How do I use text to communicate with voice?

User 1196715 I am using xamarin. and android project. I created a new class and added the following code: using System; using Android.Speech.Tts; using System.Collections.Generic; namespace App1 { public class TextToSpeech_Android : Java.Lang.Object, IT

I want to use google API (voice commands) on PC

object oriented I want to use google API (voice commands) on PC but now I don't know how to start, please someone guide me and post some projects Diego Sahagun It's true that Google speech recognition is one of the best and is available offline now, but in my

How to get female voice via Web Speech API in Google Chrome

Zubair In a web page, I want the female voice to speak my text. I am trying to do this with the code below. But there are still men talking. How can I arrange for a female voice to speak? Can anyone share with me the correct code that works in Google Chrome. v

How to get female voice via Web Speech API in Google Chrome

Zubair In a web page, I want the female voice to speak my text. I am trying to do this with the code below. But there are still men talking. How can I arrange for a female voice to speak? Can anyone share with me the correct code that works in Google Chrome. v

How to get female voice via Web Speech API in Google Chrome

Zubair In a web page, I want the female voice to speak my text. I am trying to do this with the code below. But there are still men talking. How can I arrange for a female voice to speak? Can anyone share with me the correct code that works in Google Chrome. v

How do I fix this, Raspberry Pi

username I'm making a raspberry pi project where at the push of a button the distance sensor will tell me the distance to where the sensor is pointing. When I click the button I get the distance and then I get this error: Traceback (most recent call last): F

How can I deploy these files on a raspberry pi running apache?

List I transferred the pdf file online to HTML, and downloaded a file with four files: xxxxx.htm, image.jpgand xxxxx.pdf, and a folder xxxxx_imagescalled , with pictures called xxxxx1*1.jpg. If you only put HTML into the raspberry pi, the PDF image will not be

How do I use text to communicate with voice?

User 1196715 I am using xamarin. and android project. I created a new class and added the following code: using System; using Android.Speech.Tts; using System.Collections.Generic; namespace App1 { public class TextToSpeech_Android : Java.Lang.Object, IT