GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - crosslibs/transcribe-live-audio: Transcribe live audio using Google Cloud Speech to Text API

BranchesTags
Open more actions menu

Latest commit

 

History

4 Commits
4 Commits

Folders and files

NameName
Last commit message
Last commit date
.gitignore
.gitignore
 
 
README.md
README.md
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
transcribe.js
transcribe.js
 
 

Repository files navigation

transcribe-live-audio

Transcribe live audio using Google Cloud Speech to Text API

The script provides a workaround for the 60s time limit restriction posed by Google Cloud Speech to Text API.

Solution Approach

The script stages the the audio/microphone input into a buffer before transcribing the "audio chunks" from the buffer using the API. That way, when the existing API client returns a time out error it is simply reinitialized and the new client will continue transcribing the audio from the buffer.

Solution Approach

To run the demo

Do not forget to configure environment variable GOOGLE_APPLICATION_CREDENTIALS with the GCP credentails JSON file path
export GOOGLE_APPLICATION_CREDENTIALS='/path/to/credentials.json'
Install dependencies
npm install 
Show help
node transcribe.js -h

Example

node transcribe.js -e LINEAR16 -r 16000 -l hi-IN 

About

Transcribe live audio using Google Cloud Speech to Text API

Topics

cloudgcpgooglegoogle-cloud-speechindefinite-durationlive-audiomachine-learningspeechtranscription

Resources

Readme
Activity

Stars

16 stars

Watchers

2 watching

Forks

2 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.