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
0 answers

How to convert Audio Blob to raw audio format in javascript

I have recorded audio samples from microphone and gets audio b Blob(22447) {size: 22447, type: "audio/webm"} size:22447 type:"audio/webm" __proto__:Blob Now How do i convert this blob to raw audio format and upload it to firebase storage.
0
votes
2 answers

How to use google speech api to recognise code-switching mixed languages?

Usually people use their native language + english for conversation. I need google api to recognise both languages in a speech sample. For example: "aaj ka weather kaisa hai" this sentence contains both Hindi(hi-IN) and English (en-IN)…
0
votes
0 answers

Capturing timeout error in Google Speech API streaming recognition

In a Python program performing streaming speech recognition to Google's Speech API (essentially as detailed here), I'm trying to capture the following exception: google.api_core.exceptions.InvalidArgument: 400 Client GRPC deadline too short. Should…
Naftali Beder
  • 1,066
  • 1
  • 10
  • 27
0
votes
1 answer

How to change the voice of google tts

I'm currently using the url below, If the language is ko, the male voice, if en, only the female voice. I want to unify it with a female voice. -…
0
votes
1 answer

How do I use Google Cloud APIs without the SDK?

I am using the google cloud client libraries in C# and would like to if can run the release build of my project on another computer without the sdk installed. i.e just using an exe and the corresponding libraries.
0
votes
3 answers

How to get past information while converting speech to text in android?

As i am developing an android app and wants to convert speech into text, i am using built-in Google speech input activity to convert voice into text. I need past information but it continuously get cleared i got only current response. How need to…
0
votes
1 answer

google speech api gaxerror

I am using Google Speech API for transcribing an audio file using the following Python script https://github.com/GoogleCloudPlatform/python-docs-samples/blob/master/speech/cloud-client/transcribe_async.py and the following command : python…
0
votes
1 answer

Google Speech API compliance in Canada

A customer I am working with wants to use Google Speech API for transcribing audio but there are compliance concerns. I know that you can upload files directly or have the API access files in Google Cloud Storage. For either of these methods is…
0
votes
1 answer

What is Google Application Credential?

I am using Google Speech API in My Android application and I am taking reference with the sample application provided by Google in docs. In this sample, there are several lines for the authentication process in App level gradle file. task…
Akash Mishra
  • 623
  • 1
  • 6
  • 22
0
votes
0 answers

The environment variable GOOGLE_APPLICATION_CREDENTIALS must be defined pointing to a file defining the credentials

I am Using Google Speech Client Library in Android with reference link :- https://cloud.google.com/speech/docs/reference/libraries#client-libraries-install-java I have also executed this command(export…
0
votes
1 answer

Google Speech - After Hosting getting Unauthenticated Error

I have created a web api method to Speech to text using Google Speech library. It is working fine when I execute using the visual studio. After hosting the application on IIS, I am getting below error when the api method is…
0
votes
1 answer

Why is Google Speech API getting timeout

I am developing a website that will have an audio to text page, i am trying to use the API from Google but it seems to load indefinitly and giving me a timeout, on the Google console it show me that request has been made so i guess it come from my…
Eliatrom
  • 1
  • 5
0
votes
0 answers

Cost - Speech to Text - API Google Cloud

I am trying to understand the pricing for the Speech to Text API. Google informs they will charge U$0.006 / 15 second. Taking the following scenario: 60 seconds audio file Out of the 60 seconds, 45 seconds will be muted and 15 seconds there will be…
0
votes
0 answers

ResourceExhausted in Google Speech API

this is my first post on StackOverflow. I get ResourceExhausted with Google Speech API - LongRunningRecognizeResponse. It says "e.g. check quota", but I'm not sure what it means exactly. How do I check quota and make necessary setups? func…
tanquar
  • 1
  • 1
  • 1
0
votes
1 answer

AttributeError: 'module' object has no attribute 'STARTF_USESHOWWINDOW'

Say something! Traceback (most recent call last):
File "speechrecognition.py", line 17, in
print("You said: " + r.recognize_google(audio))
File "C:\python27\lib\site-packages\speech_recognition\__init__.py", line 828,…