I am attempting to record 1 channel at 2 kHz using arecord and get this error:
pi@raspberrypi:~/Recordings $ Recording WAVE 'stdin' : Unsigned 16 bit Little Endian, Rate 2000 Hz, Mono
arecord: set_params:1233: Sample format non available
Available formats:
- S16_LE
- S24_LE
- S32_LE
Does the board not support lower thank 8 kHz?
Unable to record at 2 kHz
Moderator: flatmax
Re: Unable to record at 2 kHz
Hi there,
You can software resample to get a rate lower then 8 kHZ. Use the dsnoop plugin to reduce the rate below this.
I have tried to use dsnoop at a 2 kHz sample rate. This is what I got :
It seems that the software resampler is limited to 4 kHz as the lowest rate.
Hope this helps.
Matt
You can software resample to get a rate lower then 8 kHZ. Use the dsnoop plugin to reduce the rate below this.
I have tried to use dsnoop at a 2 kHz sample rate. This is what I got :
Code: Select all
pi@raspberrypi:~ $ arecord -Dplug:dsnoop -fS16_LE -r 2000 -c2 /tmp/test.wav
Recording WAVE '/tmp/test.wav' : Signed 16 bit Little Endian, Rate 2000 Hz, Stereo
Warning: rate is not accurate (requested = 2000Hz, got = 4000Hz)
please, try the plug plugin
Hope this helps.
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
-
- Posts: 6
- Joined: Fri May 05, 2017 11:42 pm
Re: Unable to record at 2 kHz
Great - this solution did work for recording @ 4 kHz on my Pi, which will be sufficient for my project.
Thank you,
Chris
Thank you,
Chris
Who is online
Users browsing this forum: No registered users and 4 guests