Question

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 ?

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top