How to use sox in windows

2019-04-20 18:18发布

I am installing sox in windows, but I get an error entering the following code: sox 001.wav 001.dat in the command line.

The error is:

`sox is not recognized as an internal or external command, operable program or batch file.`

1条回答
我欲成王,谁敢阻挡
2楼-- · 2019-04-20 18:38

Add the Sox folder to your PATH and then restart your terminal.

  1. Go to My Computer → Properties → Advanced System Settings → Environment Variables → System variables.
  2. Select Path.
  3. Click Edit → New :
  4. Add this: C:\Program Files (x86)\sox-<CHECK YOUR VERSION NUMBER>\
    • As indicated in the example path, make sure to check what version of Sox you have installed by actually navigating to your Program Files (x86) folder and looking for a folder that starts with sox, for example sox-14-4-2.
  5. Restart your terminal.
    • Note that if you're using an IDE, you may need to restart the IDE to have the Path variables update.
查看更多
登录 后发表回答