Julius 例子

第一个Julius例子,在安装完Julius Voxforge之后,到如下目录

/usr/share/doc/julius-voxforge/examples/Readme

另外一个详细的例子:语音操控Rtythmbox 

*.grammar *.voca是自己必须给出的,其他的*.dict *.dfa *.term是通过mkdfa.pl 命令 ,自动生成的。

注意:

1.LInux Sound System现在主要用的是ALSA/PulseAudio,OSS已经很老了。

2.failed to open /dev/dsp

/dev/dsp是OSS产生的东西

3.Error: adin_alsa: unable to get pcm info from card control

需要安装 alsa-lib alsa-driver

http://wiki.debian.org/SoundFAQ

4.alsa not supported built-in
这说明在从源码包编译的时候,没有启动alsa选项。
./configure --enable-alsa
mic默认为alsa
至于基础包的安装,可以参考Julius的官方文档 linux installation

5.出现延迟的现象,不能输入声音的现象,是因为占用了Virtual Box占用了Microphone,重启vbox即可。虚拟机中看到sound=>input 灰的术语正常现象,查看主机的host的sound=>input,就已经设置好了。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值