arecord / parecord samplerate 10x too slow
Summary
I've been having this problem for a long time on my builtin soundcard: card 1: Generic [HD-Audio Generic], device 0: ALC1220 Analog [ALC1220 Analog]
Recording, via audacity / parecord / arecord, seems "sluggish" , and produces a very short file that is approximately 10x too fast (i.e. completely wrong sample rate). But an external USB soundcard works fine.
environment
Steps to reproduce
- audacity : default settings and record voice from mic
parecord --format=s16le --channels=2 --rate=48000 mic48k.wav
arecord -f S16_LE -c 2 -r 44100 arec_44k.wav
- etc.
What is the current bug behavior?
See attached recording: arec_44k
It sounds like a chirp when played back, but if slowed down by a factor of ~10, it actually sounds like a human (me) saying "test"!
What is the expected correct behavior?
arec_44k_slowed is after a 1:10 resampling done inside audacity. It sounds exactly as if I had recorded at a very low quality and at around 4 kHz.