如何在x86中编译sph_convert.exe

时间:2018-04-08 05:16:13

标签: speech-recognition speaker

我想将一些sph文件转换为wav,所以我从nist下载文件sph_convert_v2_1.zip。 但sph_convert.exe只能用于x86。我使用这个gcc -o sph_convert.exe *.c来编译它。但是发生了这个错误:

enter image description here

请问我怎样才能正确编译?

1 个答案:

答案 0 :(得分:0)

你可以改用sph2pipe。

只需从此处下载sph2pipe:https://www.ldc.upenn.edu/language-resources/tools/sphere-conversion-tools

然后单击exe文件将其安装到您的窗口上。

稍后,转到命令提示符>只需cd进入包含EXE文件的文件夹和要转换的.sph>输入命令

sph2pipe.exe file file.wav