Skip to content

alumae/GST-Speech-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

== Introduction ==

This software tries to implement (currently undocumented) Google Speech API, using CMU Sphinx's pocketsphinx gstreamer plugin as the recognizer backend.

Google Speech API is discussed here: http://mikepultz.com/2011/03/accessing-google-speech-api-chrome-11/

== Prerequisites ==

Install pocketsphinx, with its gstreamer plugin.

Install Ruby, Sinatra, .. [TODO]

Create out/ directory for logging request data:

mkdir out

== Starting server ==

Add local lib directory (where CMU Sphinx is probably installed) to GST search path:

export GST_PLUGIN_PATH=/usr/local/lib

Start server:

ruby speech-api.rb

== Using server ==

Create test.flac file in 16kHz, mono

Send it to server:

curl -v -X POST --data-binary @test.flac -H "Content-Type: audio/x-flac; rate=16000"  http://localhost:4567/recognize







About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages