microphone not starting after one iteration in sphinx

无人久伴 提交于 2019-12-11 07:26:50

问题


I am using CMU sphinx library, but after successfully running one iteration, this error appears "Can't open microphone line with format PCM_SIGNED 16000.0 Hz, 16 bit, mono, 2 bytes/frame, big-endian not supported." Cannot start microphone. When run on eclipse in ubuntu 12.10, code works fine for all iterations. Why is this error appearing when using eclipse in Windows 7 ?


回答1:


If you have something like this in your config xml file:

<component name="microphone"
            type="edu.cmu.sphinx.frontend.util.Microphone">
    <property name="closeBetweenUtterances" value="false"/>
</component>

try to change "false" too "true" and rebuild.



来源:https://stackoverflow.com/questions/15750556/microphone-not-starting-after-one-iteration-in-sphinx

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!