[alsa-devel] Testing play and record simultaneously.

Takashi Iwai tiwai at suse.de
Wed Jul 25 18:46:34 CEST 2007

At Wed, 25 Jul 2007 15:32:12 +0530,
Pharaoh . wrote:
> Very naive questions.
> 1. I want to test the recording using arecord, but how will I make
> sure that the data is actually being recorded?
> I mean is there any way of storing the data recorded, say in a file?
> Off course there must be some way, its just that I
> dont know it. Can some one throw some light on this?

What's wrong with "arecord somefile.wav" ?
You may need more parameters, depending on the hardware, of course.

> 2. Also, I want to test my card in full duplex mode as well, i.e.
> playing and recording simultaneously. How can test this
> using aplay and arecord?

A simple one would be:

	arecord | aplay

This isn't optimal, but mostly works as a test.


More information about the Alsa-devel mailing list