rtek1000 Active Member Licensed User Longtime User Jul 19, 2013 #1 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/
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/
Erel B4X founder Staff member Licensed User Longtime User Jul 19, 2013 #2 You should use HttpUtils2 to send a POST request with the given file. Upvote 0