Monday, July 8, 2013

How to get the maximum and minimum sampling rate for your audio cards in Linux

Source from :  voxForge

1. Sound Card or Integrated Audio

    $arecord --list-devices

try an sample rate very large or very small and you can get the message from your error message.

    $ arecord -f dat -r 60000 -D hw:0,0 -d 5 test.wav

2. USB Microphone or USB audio pod

   $  arecord -f S16_LE -r 60000 -D hw:1,0 -d 5 testS16_LE.wav

the same way mentioned above.