I made pocketsphinx (speech to text sw written in C) run on raspberry pi 3B with a usb sound card. Now, I need to acquire sound from an external IC via I2S or another protocol. Could you advise a proper way of acquiring sound instead of usb? How can I overcome this issue?
Thanks in advance.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks for your reply but my question was about SW part. As I mentioned above, I'm getting the sound over USB sound card so, should I modify the pocketsphinx in order to get I2S? İf yes, could you please give a hint about necessary modification?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I made pocketsphinx (speech to text sw written in C) run on raspberry pi 3B with a usb sound card. Now, I need to acquire sound from an external IC via I2S or another protocol. Could you advise a proper way of acquiring sound instead of usb? How can I overcome this issue?
Thanks in advance.
This is a question for raspberry pi developers, not for us. You have to install proper drivers and configure alsa, thats it. You can consult
http://blog.koalo.de/2013/05/i2s-support-for-raspberry-pi.html
for details.
Thanks for your reply but my question was about SW part. As I mentioned above, I'm getting the sound over USB sound card so, should I modify the pocketsphinx in order to get I2S? İf yes, could you please give a hint about necessary modification?
No, you do not modify pocketsphinx. You modify the kernel driver, not user space software.