Error using Sound Exchange (Sox)

Asked

Viewed 15 times

0

I am trying to use the Goggle Speech-to-text API in Node.js, but when I try to run the service I find the error:

Erro SoX

My environment of development at work today is Windows 7, however I already managed to run on Ubuntu (but I still need to do this on W7). The Sox documentation asks me to download the binaries and add it to $PATH, as I did below:

print path

Follow the Google-Speech-to-text documentation I’m following:

https://cloud.google.com/speech-to-text/docs/streaming-recognize?hl=pt-br

Site for installing the Sox: http://sox.sourceforge.net/

I believe the problem is on Sox because of the log and why this same code ran on Ubuntu environment. Am I doing the installation the wrong way, or is it something of the environment?

1 answer

0


I found the problem. Somehow the installation of the binaries performed by the documentation seems to be depreciated. Fortunately I found a tool that makes the installation of these binaries:

https://chocolatey.org/packages/sox.portable#individual

Installing the Chocolatey package manager you managed to download packages via the same terminal is done with aptitude on linux (just stick to running cmd as administrator - you may need to use windows Powershell to use Chocolatey).

Browser other questions tagged

You are not signed in. Login or sign up in order to post.