2

为了读取 NIST sphere 格式文件,我尝试安装从这里下载的 NIST SPHERE 软件,但遇到了一些错误:

make[2]: Entering directory `/home/ibtissem/tools/nist/src/bin'
gcc  -I/home/ibtissem/tools/nist/include -L/home/ibtissem/tools/nist/lib -g -g -DNARCH_linux h_add.c  -lm -o h_add
h_add.c:31: error: undefined reference to 'sp_verbose'
h_add.c:31: error: undefined reference to 'sp_verbose'
h_add.c:28: error: undefined reference to 'hs_getopt'
h_add.c:42: error: undefined reference to 'sp_verbose'
h_add.c:42: error: undefined reference to 'sp_get_version'
h_add.c:44: error: undefined reference to 'hs_optind'
h_add.c:50: error: undefined reference to 'hs_optind'
h_add.c:53: error: undefined reference to 'hs_optind'
h_add.c:55: error: undefined reference to 'hs_optind'
h_add.c:71: error: undefined reference to 'sp_create_header'
h_add.c:93: error: undefined reference to 'sp_write_header'
h_add.c:103: error: undefined reference to 'sp_fpcopy'
collect2: error: ld returned 1 exit status
make[2]: *** [h_add] Error 1

有人对此错误有任何想法吗?

4

3 回答 3

3

这里有一个新版本的sphere: http://www.nist.gov/itl/iad/mig/tools.cfm

Corpus 构建工具中的第二个工具。根据包的自述文件,它已经在以下Plantforms上进行了测试:

Mac OS X (10.6)
Linux (Ubuntu 11.04)
Cygwin (Windows XP 下的 1.7)

于 2014-06-14T06:23:40.087 回答
2

我建议使用Sound Exchange。它包括一个转换器:

sox foo.sph foo.wav

以及一个简单的播放器:

play foo.sph

它也得到了很好的维护,并且可以做各种其他有用的事情。您无需编译即可轻松下载软件包。

于 2016-06-02T21:27:13.047 回答
1

sphere_2.6a.tar.Z 是非常过时的软件包,现代系统不支持

要解码 SPHERE 文件,请下载 sph2pipe:

ftp://ftp.ldc.upenn.edu/pub/ldc/misc_sw/sph2pipe_v2.5.tar.gz

ftp://ftp.ldc.upenn.edu/pub/ldc/misc_sw/sph2pipe_v2.5.README_1ST

于 2013-05-15T09:28:37.480 回答