Wednesday, April 1, 2009

How to use the USB microphone of A4Tech Live Messenger Webcam in recordmydesktop

I have an A4Tech Live Messenger Webcam (model PK-720MJ) with a built-in microphone. In order to use it for recording audio in recordmydesktop, I simply click on "Advanced button".

Then click "Sound tab" and type hw:1,0 in the "Device textbox".

If you have more than one usb audio device attached, you can find out the card number and device number of the usb audio device you want to use. Open a terminal and type the following:

cat /proc/asound/cards

It will display the sound cards that you have. Mine look like this:

0 [NVidia         ]: HDA-Intel - HDA NVidia
HDA NVidia at 0xfe024000 irq 22
1 [J ]: USB-Audio - A4 TECH USB2.0 PC Camera J
A4 TECH A4 TECH USB2.0 PC Camera J at usb-0000:00:02.1-1, high speed

That means the first number after hw: is card 1. Now to find the second number which is the device number type the following in the terminal:

cat /proc/asound/devices

It will display the the sound devices for every card. Mine looks like this:

2:        : timer
3: : sequencer
4: [ 0- 1]: digital audio playback
5: [ 0- 1]: digital audio capture
6: [ 0- 0]: digital audio playback
7: [ 0- 0]: digital audio capture
8: [ 0] : control
9: [ 1- 0]: digital audio capture
10: [ 1] : control

You can see in line 9 my usb microphone. It is card 1, device 0 which is why I typed hw:1,0. If I wanted to use my other microphone, which is the on-board Nvidia I would use DEFAULT or hw:0,0 (line 7 above) or hw:0,1 (line 5 above). Which refers to the front and back mics.

No comments:

Post a Comment

Creative Commons License
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 Unported License.