如何在Windows中使用Sox [英] How to use sox in windows

查看:945
本文介绍了如何在Windows中使用Sox的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在 windows 中安装 sox ,但是输入以下代码时出现错误: sox 001.wav 001.dat 命令行中。

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

错误是:

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


推荐答案

将Sox文件夹添加到PATH,然后重新启动终端。

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


  1. 转到我的电脑→属性→高级系统设置→环境变量→系统变量。

  2. 选择路径

  3. 单击编辑→新建:

  4. 添加此内容: C:\Program Files(x86)\sox- <检查您的版本号> \


    • 如示例路径中所示,请确保检查您使用的Sox版本通过实际导航到您的 Program Files(x86)文件夹并查找以 sox 开头的文件夹进行安装考试mple sox-14-4-2

  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.

  • 请注意,如果您使用的是IDE,则可能需要重新启动IDE才能更新Path变量。

这篇关于如何在Windows中使用Sox的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆