It can be a little troubling. When it all works well you just set the
capture level by twiddling alsamixer. The display in alsamixer varies
from one sound card to another. I think it is safe to say that you
press F4 to see the capture choices, then find the control for line,
and press space bar to turn on capture for line. You'll see "capture"
in red when it is on. Use the up arrow to turn up the capture level.
Press M to toggle Mute on and off. MM means mute.
You'll need a cable to plug into the line-in connector on your
computer. A male-male, stero, miniature phono cable will do the job
nicely.
I record with rec (e.g., "rec test.wav") and use cntrl+c when done to
terminate the recording. I play back with play (e.g., "play
test.wav").
You'll want to pay attention to sound levels to get a good recording.
rec shows the levels while recording. ! means a "pegged meter" or
level too high, so adjust level with alsamixer to avoid this. The
normalize command is useful to give the recording a standardized level
after you have finished recording. E.g., "normalize test.wav".
Things get a little harder if you have more than one sound card.
Sometimes a sound card is hidden in a device such as a webcam.
Alsamixer's F6 allows you to choose which sound card you twiddle. The
choice of which sound card is used by rec and play is done with "export
AUDIODEV=hw:<n>" where <n> is the sound card number. E.g., choose
sound card 2 with "export AUDIODEV=hw:2".
This should get you started. Let me know how it goes.
-Joe
--
http://JosephRosevear.com
http://RosevearSoftware.com