My Microphone only supports 44 Khz when i set it to record with 16 Khz it doesn´t work. Is there any way to convert 44 Khz to 16 Khz or to use the 44 Khz file with Sphinx. When i try the normal file it works very bad and doesn´t recognize anything correctly.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
In pocketsphinx if you ask about it the 44.1khz input samprate is configured like this: -samprate 44100 -nfft 2048. It is recommended to configure your microphone driver though, in properly configured system the driver should resample by itself.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
For the future please note when you ask the question on tecnical forum it is better to provide as many details as possible. The more details you provide the faster you get an answer. We hardly can guess from a couple of sentences you wrote what system you are using.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
My Microphone only supports 44 Khz when i set it to record with 16 Khz it doesn´t work. Is there any way to convert 44 Khz to 16 Khz or to use the 44 Khz file with Sphinx. When i try the normal file it works very bad and doesn´t recognize anything correctly.
In pocketsphinx if you ask about it the 44.1khz input samprate is configured like this:
-samprate 44100 -nfft 2048
. It is recommended to configure your microphone driver though, in properly configured system the driver should resample by itself.Where do i need to configure it?
Depends on your OS.
For the future please note when you ask the question on tecnical forum it is better to provide as many details as possible. The more details you provide the faster you get an answer. We hardly can guess from a couple of sentences you wrote what system you are using.
Im using an Raspberry Pi 2 with Raspbian installed.
Something like this then:
https://jeffskinnerbox.wordpress.com/2012/11/15/getting-audio-out-working-on-the-raspberry-pi/
You need to make sure you have plug pcm which does software resampling.
For more details read
http://alsa.opensrc.org/Asoundrc