Re: USB Audio on Raspberry Pi


Apostolos Kefalas <sv1ljj@...>
 

Hello Mike,

I think the "rate" should be 44100 and not 44000

If that doesn't work,

replace "hw:1,0" with "plughw:1,0" and try again.


73
Apostolos - SV1LJJ

On Thu, 2019-03-07 at 16:08 -0800, Mike AE4ML wrote:
in the process of trouble shooting I have installed this and it
didn't help

sudo apt-get install python-pyaudio python3-pyaudio sox
pip install pyaudio


root@raspberrypi:~# cat .asoundrcfile 
pcm.!default {
  type asym
   playback.pcm {
     type plug
     slave.pcm "hw:1,0"
   }
   capture.pcm {
     type plug
     slave.pcm "hw:1,0"
   }
}
pcm.convert {
         type plug;
         slave {
               pcm default;
               rate 44000;
         }
}
--
... if you get into RF you’ll spend your days staring at test equipment
wondering why nothing works.

Join main@DVSwitch.groups.io to automatically receive all group messages.