Hello,
I'm facing a "sox has exited with error code 2" whilst running sox as part of a Google Speech API request on an AWS Linux instance. I installed sox using the 'yum install sox' command. Any idea what the problem might be? Thanks a lot for your help!
Hello,
I am facing the same issue did you solve it?
It might help if you told us what you are doing, preferably including a command line (and test file if necessary) that reproduces the problem.
I have created a web application using google speech to text api. My web application is working fine on local machine but not on google cloud platorm.
In the following code node-record-lpcm16 module requires you to install SoX and it must be available in your $PATH.
To make it work on google cloud platform that i have created a container in which i have installed sox and runnning node comand to initialize the program. ** I am receiving an error sox exited with error code 2.**
Last edit: ayka 2020-05-29
I haven't the faintest clue what any of that is supposed to do. If you want help here, you'll need to find the exact sox command that is failing.
Now I'm going to venture a guess that perhaps the Google cloud server doesn't have a microphone.
This is almost certainly not a sox problem. Closing.
"sox has exited with error code 2" while running sox as part of a Google Speech API request on an Heroku Cloud. Any idea what the problem might be? Thanks a lot for your help