I have this in an old long time not used script w.r.t RTL-SDR DVBT sticks:Ran on an RPi3B+, Bullseye. The connection between play (aplay in your case) and the pulse-audio server should handle resampling without a problem.
Maybe it is a UDP packet loss issue, although I don't think that would occur.
I see that I haven't installed play anymore, but I see it is from the sox package:
https://linux.die.net/man/1/play
Code:
rtl_fm -M wbfm -f $frequency | play -r 32k -t raw -e s -b 16 -c 1 -V1 -Maybe it is a UDP packet loss issue, although I don't think that would occur.
I see that I haven't installed play anymore, but I see it is from the sox package:
https://linux.die.net/man/1/play
Statistics: Posted by redvli — Sat Aug 10, 2024 4:08 pm