View Single Post
  #385 (permalink)  
Old 04-07-2018, 7:28 AM
boatbod boatbod is offline
Member
   
Join Date: Mar 2007
Location: Talbot Co, MD
Posts: 1,202
Default

Quote:
Originally Posted by Mudary View Post
When using nc -kluvw 1 127.0.0.1 23456 | aplay -c1 -f S16_LE -r 8000, -c1 -r 8000 is correct for my rpi3

nc -kluvw 1 127.0.0.1 23456 | aplay -c2 -f S16_LE -r 4000, -c2 -r 4000 will provide the correct audio for me, otherwise the audio is distorted and slow motion, best I can describe it.
So with 1 channel you're playing @ 8000 whereas with 2 channels it's @ 4000. That's weird indeed. The sample rate shouldn't need to change so something it definitely amiss somewhere.
Reply With Quote