Re: [orca-list] Recording audio from the soundcard



If amixer is configured, I think I could record with arecord explained at:
http://carthick.wordpress.com/2007/11/26/linux-recording-soundcard-output-using-arecord/

A command to record 10 seconds could be:

arecord -d 10 -f cd -t wav -D copy foobar.wav

The problem is that I don't understand the language of manuals.
"amixer scontrols" list the controls, but what Is called control?
Well, the answer was

Simple mixer control 'Master',0
Simple mixer control 'Headphone',0
Simple mixer control 'PCM',0
Simple mixer control 'Front',0
Simple mixer control 'Front Mic',0
Simple mixer control 'Front Mic Boost',0
Simple mixer control 'Surround',0
Simple mixer control 'Center',0
Simple mixer control 'LFE',0
Simple mixer control 'Side',0
Simple mixer control 'Line',0
Simple mixer control 'Line Boost',0
Simple mixer control 'IEC958',0
Simple mixer control 'IEC958 Default PCM',0
Simple mixer control 'Capture',0
Simple mixer control 'Capture',1
Simple mixer control 'Auto-Mute Mode',0
Simple mixer control 'Input Source',0
Simple mixer control 'Input Source',1
Simple mixer control 'Rear Mic',0
Simple mixer control 'Rear Mic Boost',0

I don't understand what it means. But it points out the word
"Capture". Perhaps, 'Capture',0 and 'Capture',1 is two channels of
recording. I don't know any characteristics of my soundcard. Actually,
when I wanted to record, I expected two find an application with two
buttons: Record from the microphone, Record from the soundcard.

Navigating from Internet, I found the command:

amixer sget 'Input source',0

I don't know what is 'Input source',0, but I tried to do:

amixer sget 'Capture',0

My hopeness is that command changed my Alsa settings to record from
the soundcard, but after doing "arecord -d 10 -f cd -t wav -D copy
foobar.wav", the file generated remained empty.

Even if I understand the words of the amixer manual, I can't
understand the meaning of it. My all experiance was to record sounds
from the microphone and the soundcard with an Windows application, but
the name of options was something like "Record from microphone" and
"Record from soundcard".

The difficulties are terible: I don't understand about sound settings,
about Alsa, my english is not very well, I don't know very much about
shellscript... Would be there a more simpler way to a beginer as me
recording sounds from the soundcard?

If the interface of Audio-Mixer was accessible, I could use
Audio-Record and to do everything with graphical interfaces.

2014/1/11, Jason White <jason jasonjgw net>:
luciano de souza <luchyanus gmail com> wrote:
Does someone have a tip to record sounds from the soundcard using
terminal or a graphical application?
I have certain preference to do it by means of terminal, but any tip is
welcome!

You could just use amixer or alsamixer to configure the input volume of
your
audio device. Amixer is a command line tool; alsamixer is a terminal
application. For recording, have a look at ecasound and read its
documentation
to find out whether it will meet your requirements.

If you're using Pulse Audio, volume levels can be configured with pacmd
from
your shell prompt. I'm sure there are volume controls in GNOME as well,
which
Orca should be able to access. Under Pulse Audio, the microphone input is
referred to as a "source", whereas the audio output is referred to as a
"sink". Thus you would need to use the list-sources command first, obtain
the
index number of your microphone, then use set-source-volume to adjust it -
see
the pulse-cli-syntax(5) manual page.

_______________________________________________
orca-list mailing list
orca-list gnome org
https://mail.gnome.org/mailman/listinfo/orca-list
Visit http://live.gnome.org/Orca for more information on Orca.
The manual is at
http://library.gnome.org/users/gnome-access-guide/nightly/ats-2.html
The FAQ is at http://live.gnome.org/Orca/FrequentlyAskedQuestions
Log bugs and feature requests at http://bugzilla.gnome.org
Find out how to help at http://live.gnome.org/Orca/HowCanIHelp



-- 
Luciano de Souza


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