Re: How to set fixed sample rate for input device?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Malte Gell <malte.gell@xxxxxx> wrote

> Hi there,
>
> regarding my other webcam microphone issue I now know where the problem
> is...
>
> With this command I can record voice with my webcam just fine:
>
> arecord -vv -D hw:1,0 -c 1 -f S16_LE --rate=18000-v test.wav

For future generations and the Google cache, this code creates a device 
"usbmic" which can be chosen in Skype and now the webcam microphone works with 
the correct sample rate, in the case of the Philips SPC 620 NC it is 16ooo Hz 
put this in ~/.asoundrc  and be sure the packet alsa-plugins-samplerate is 
installed on the system which is often not the case.


pcm.usbmic {
        type plug
        slave {
                pcm "hw:1,0"
                rate 16000
        }
        rate_converter "samplerate_best"
}


------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user

[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux