speechtotext

command module
v0.0.0-...-db3fa73 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 28, 2020 License: MIT Imports: 12 Imported by: 0

README

speechtotext

This project is a basic example of streaming stdin to Google Cloud Speech API via gRPC.

basic usage:

$ uname
Darwin
$ cat sample.wav | speechtotext -key (path to serviceaccount json key)
Alpha Beta gamma
$
$ ffmpeg -nostats -loglevel 0 -f avfoundation -i ":Built-in Microphone" -ar 16000 -acodec pcm_s16le -ac 1 -f wav - |tee out.wav | speechtotext -key (path to serviceaccount json key)

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL