问题
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