I\'m trying to automate the recording of speech in Google\'s speech input (only works in Chrome).
As it is, the user has to click the mic to start the recording but
I had faced the similar problem, then I took a look at this site by Mike Pultz -
http://mikepultz.com/2011/03/accessing-google-speech-api-chrome-11/
Basically, what he does is he creates the audio file himself, uses Sox to convert it into a .flac format and then sends it to the Google Voice Api. So you do not need to click the mike or rather you can create your own mike call back.
I also have created a C# solution at - https://github.com/seigneur/Voice-Biometrics And you can look at this video for further help - http://www.youtube.com/watch?v=PA00SPOTL-M
Hope it helps