Questions tagged [google-speech-api]

With Google Speech API you can convert speech to text file based or live stream

The https://cloud.google.com/speech/ and is part of https://cloud.google.com/products/ to allow for speech to text conversion.

When using a live stream words are returned almost realtime. This is limited by 1 minute or when paused for ~1 second. When using an asynchronous file the speech to text can be as long as 80 minutes. See https://cloud.google.com/speech/limits

For more see https://cloud.google.com/speech/docs/

837 questions
0
votes
1 answer

Grpc.core.Channel issue in Google Speech API authentication

I am using SpeechtoText Google API in my C# desktop application. I am trying to authenticate using json file (containing project ID and account ID etc.). When I run the code in Visual studio, it works fine but when I run a standalone installation of…
0
votes
4 answers

Google speech to text api android

Android google speech to text SDK, the voice recording is controlled by SDK . I need to make it manual button for start and stop voice recording for speech to text. for eg: while click a button for start the voice recognition , its continue to…
shamjins
  • 41
  • 1
  • 9
0
votes
1 answer

API always failing at one minute

I'm working with the Speech to Text API, and I'm using the example posted at: https://github.com/GoogleCloudPlatform/android-docs-samples/tree/master/speech/SpeechRecognitionClient For some reason, whenever I'm using the app, the client just kills…
Wesley
  • 5,381
  • 9
  • 42
  • 65
0
votes
0 answers

Stream Microphone Audio to Google Speech to Text with Xamarin

I'm trying to write an app that will stream audio from the phone microphone to the google speech to text API and display it live on the device. I get bits and pieces from here and there, but nothing that is allowing me to replicate the demos google…
Wesley
  • 5,381
  • 9
  • 42
  • 65
0
votes
1 answer

Google Speech API Live Recognition

We're working on an java application. I would use the Google Cloud Speech library but our application is based on osgi so i'd rather use the Google Cloud Speech Rest API. I'd like to know if it is possible to do some kind of livespeech recognition…
unrated
  • 252
  • 4
  • 22
0
votes
1 answer

Google Speech API streaming audio exceeding 1 minute

I would like to be able to extract utternaces of a person from a stream of telephone audio. The phone audio is routed to my server which then creates a streaming recognition request. How can I tell when a word exists as part of a complete utterance…
0
votes
1 answer

Cannot use long inputs in Android Speech Recognition, error while initializing?

I'm trying to use Google Speech Recognition inside my application (a launcher). When I try to use it for short commands like Call to X or say a short number like 123456789 everything works fine, but as soon as I try to give a longer input (which…
0
votes
2 answers

Trouble passing string variable to return data from python function to be used globally anywhere in a Python script or program

I am trying to take a streamed audio and convert it to text using Google text to speech. Then pass that that text as input to a conversation not on Watson. Watson then returns its answer. The latter half works great. The issue I am having is that I…
0
votes
1 answer

google speech api: " audio topic" can't be used

When I tried to use google speech api and set RecognitionConfig with meta, with an attribute audioTopic = "xxx", it says: AttributeError: Assignment not allowed (no field "audioTopic" in protocol message object) The code likes: metadata =…
0
votes
1 answer

Google Speech API - Server Unavailable Error for long audio files

I'm using Google's nodejs-speech package to use the longRunningRecognize endpoint/function in Google's Speech API. I've used both v1 and v1p1beta, and run into an error with longer files. (48 mins is as long as I've tried, and 15 mins causes the…
Sasha
  • 6,224
  • 10
  • 55
  • 102
0
votes
1 answer

Capture audio from JavaScript and recognize it with Google Speech API

I use https://github.com/mattdiamond/Recorderjs library to capture the audio. recorder.exportWAV((data)-> fileReader = new FileReader; fileReader.onload = (blob) -> blob = blob.target.result; send(btoa(blob)) …
Paul R
  • 2,631
  • 3
  • 38
  • 72
0
votes
1 answer

Set permissions for gs bucket object for speech API

I want to transcribe a long audio file to text. So I created a bucket and set it as private using gsutil acl set private gs://bucket then I set the upload only access from a particular account gsutil acl ch -u myaccount@provider.com:WRITE…
0
votes
0 answers

Google NPM modules fails on AWS Elastic Beanstalk

When I tried to install google related npm modules in AWS Elastic Beanstalk, it fails and the environment gets degraded. Other packages like express or socket io works perfectly fine. Any idea on how to install google npm modules on AWS? I tried to…
0
votes
2 answers

read Local audio file STT Google speech-to-text

I don't find how to send a local file using the Google STT in curl command line. As followed in their tuto, here my request.json : { "config": { "encoding":"FLAC", "sample_rate": 16000, "language_code": "fr-FR" }, "audio": { …
Gab
  • 23
  • 7
0
votes
1 answer

Adafruit I2S mems microphone not working with Contune Speech recognition. (Google cloud speech api)

I am using this library with Raspberry pi 3 with Raspbian and Adafruit I2S mems microphone. I am able to work i2s mic with raspberry pi and it is working working perfectly for normal recording, but while using Speech_Recognition with Google Speech…