It would be possible to convert the code below for basic?
(the code is in format for linux shell)
This code sends an audio file to receive the text:
x=$(wget -q -U "Mozilla/5.0" --post-file /tmp/recording.flac --header="Content-Type: audio/x-flac; rate=16000" -O -
"http://www.google.com/speech-api/v1/recognize?lang=pt-BR&client=chromium"|cut -d\" -f12)
the code and the explanation are in the link (in Portuguese):
http://www.vivaolinux.com.br/artigo/Reconhecimento-de-Voz-no-Linux/?pagina=2
more about it on this link (in English):
http://mikepultz.com/2011/03/accessing-google-speech-api-chrome-11/
(the code is in format for linux shell)
This code sends an audio file to receive the text:
x=$(wget -q -U "Mozilla/5.0" --post-file /tmp/recording.flac --header="Content-Type: audio/x-flac; rate=16000" -O -
"http://www.google.com/speech-api/v1/recognize?lang=pt-BR&client=chromium"|cut -d\" -f12)
the code and the explanation are in the link (in Portuguese):
http://www.vivaolinux.com.br/artigo/Reconhecimento-de-Voz-no-Linux/?pagina=2
more about it on this link (in English):
http://mikepultz.com/2011/03/accessing-google-speech-api-chrome-11/