the problem is, even with this property set
<property name="bigEndianData" value="false"/>
the microphone is initialized like this:
================================================================
PCM_SIGNED 16000.0 Hz, 16 bit, mono, 2 bytes/frame, big-endian
================================================================
it is BIG-ENDIAN, and my trained files are LITTLE-ENDIAN.
Do you know how to solve this?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, I have a problem with my microphone, I've set the properties this way:
<component name="microphone" type="edu.cmu.sphinx.frontend.util.Microphone">
<property name="closeBetweenUtterances" value="false"/>
<property name="sampleRate" value="16000"/>
<property name="bitsPerSample" value="16"/>
<property name="bigEndianData" value="false"/>
<property name="signedData" value="true"/>
</component>
====================================================================================
like it should be, to be used whit a database where files are:
WAVE (.wav) file, byte length: 32048, data format: PCM_SIGNED 16000.0 Hz, 16 bit, mono, 2 bytes/frame, little-endian, frame length: 16002
the problem is, even with this property set
<property name="bigEndianData" value="false"/>
the microphone is initialized like this:
================================================================
PCM_SIGNED 16000.0 Hz, 16 bit, mono, 2 bytes/frame, big-endian
================================================================
it is BIG-ENDIAN, and my trained files are LITTLE-ENDIAN.
Do you know how to solve this?
Just discovered the propery should be set like this
<property name="bigEndian" value="false"/>
Problem solved.