Hi Matt,
Would it be possible to add native 16kHz sampling rate?
I am processing speech, most speech applications run at 8kHz and 16kHz.
Great product!
Thanks
bolom
Native 16kHz sampling rate.
Moderator: flatmax
Re: Native 16kHz sampling rate.
Hi,
Is 16kHz supported native?
According to file linux/sound/soc/bcm/audioinjector-pi-soundcard.c the constraint table does include 16000, but when I try to record a 16k it defaults to 8k, like this,
pi@raspberrypi:~ $ arecord -Dhw:0,0 -c2 -r16000 -fS16_LE test.wav
Recording WAVE 'test.wav' : Signed 16 bit Little Endian, Rate 16000 Hz, Stereo
Warning: rate is not accurate (requested = 16000Hz, got = 8000Hz)
please, try the plug plugin
^CAborted by signal Interrupt...
pi@raspberrypi:~ $
Thanks
Is 16kHz supported native?
According to file linux/sound/soc/bcm/audioinjector-pi-soundcard.c the constraint table does include 16000, but when I try to record a 16k it defaults to 8k, like this,
pi@raspberrypi:~ $ arecord -Dhw:0,0 -c2 -r16000 -fS16_LE test.wav
Recording WAVE 'test.wav' : Signed 16 bit Little Endian, Rate 16000 Hz, Stereo
Warning: rate is not accurate (requested = 16000Hz, got = 8000Hz)
please, try the plug plugin
^CAborted by signal Interrupt...
pi@raspberrypi:~ $
Thanks
Re: Native 16kHz sampling rate.
Hi,
The card supports the rates listed at the top of this file :
https://github.com/raspberrypi/linux/bl ... oundcard.c
Hmmm ... not sure why it doesn't work. With the latest kernel I can't record at 8000 Hz ... although an downdate made it work again ... by rolling back my kernel to version 4.9.14 :
I tried downdating to kernel 4.4.33 :
Seems not to work at any of these kernels.
I have submitted an issue with the rpi kernel on this topic :
https://github.com/raspberrypi/linux/issues/2176
Matt
The card supports the rates listed at the top of this file :
https://github.com/raspberrypi/linux/bl ... oundcard.c
Hmmm ... not sure why it doesn't work. With the latest kernel I can't record at 8000 Hz ... although an downdate made it work again ... by rolling back my kernel to version 4.9.14 :
Code: Select all
sudo rpi-update b30461d2621e71eb9b8845b38738af177b9181ed
Code: Select all
sudo rpi-update 3ffa1c624ae8b5f02a6aac764d407e8d3b5a09bb
I have submitted an issue with the rpi kernel on this topic :
https://github.com/raspberrypi/linux/issues/2176
Matt
Check out our audiophile quality crossovers : https://bit.ly/2kb1nzZ
Please review the Zero sound card on Amazon USA : https://www.amazon.com/dp/B075V1VNDD
---
Check out our new forum on github : https://github.com/Audio-Injector
Please review the Zero sound card on Amazon USA : https://www.amazon.com/dp/B075V1VNDD
---
Check out our new forum on github : https://github.com/Audio-Injector
Re: Native 16kHz sampling rate.
Dear Matt;
I am also trying to record at sample rate of 8000 Hz, but it is not working. Any updates regarding this issue?
I am also trying to record at sample rate of 8000 Hz, but it is not working. Any updates regarding this issue?
Who is online
Users browsing this forum: No registered users and 5 guests