Arecord alsa audio input testing: Difference between revisions

From Free Knowledge Base- The DUCK Project
Jump to navigation Jump to search
Created page with "We can test the default audio input device, or the only audio input device on a simplistic configuration arecord -vvv -f dat /dev/null Watch while the audio input levels are ..."
 
mNo edit summary
 
Line 6: Line 6:
  arecord -vvv --device="hw:1,0" -f dat /dev/null
  arecord -vvv --device="hw:1,0" -f dat /dev/null


To figure out what audio input device is at hw: card,device use the following command
You can display a list of CAPTURE Hardware Devices. To figure out what audio input device is at hw: card,device use the following command
  arecord -l
  arecord -l
The output look for "Card X" and on the same line "device X" to know the card,device combination to specify.
The output look for "Card X" and on the same line "device X" to know the card,device combination to specify.

Latest revision as of 23:28, 25 March 2021

We can test the default audio input device, or the only audio input device on a simplistic configuration

arecord -vvv -f dat /dev/null

Watch while the audio input levels are displayed as a percentage.

We can specify an audio input device

arecord -vvv --device="hw:1,0" -f dat /dev/null

You can display a list of CAPTURE Hardware Devices. To figure out what audio input device is at hw: card,device use the following command

arecord -l

The output look for "Card X" and on the same line "device X" to know the card,device combination to specify.