pantz.org banner
Recording sound in linux using krecord and alsamixer
Posted on 05-15-2007 03:55:00 UTC | Updated on 05-15-2007 03:55:00 UTC
Section: /software/alsa/ | Permanent Link

To record any sound coming out of your speakers using linux (Ex. music vids on mtv.com) you can use a nice little program called KRecord. I'm using a SB Live sound card in this example. You have to start alsamixer from a shell prompt with the command

alsamixer

Now look for the word "view:" at the top left. When you find it hit the tab key until the word next to "view:" changes to "All". From here use the right an left arrows to scroll back and forth between the bars. Find the one that says "Capture". Then hit the space bar to enable it. You will see a red "L" and "R" appear on either side of the bar. That means it's enabled. Then hit the up arrow key to change the level of the "Capture" input to about 40.

Now move to the next bar that says "AC97 Cap". Hit the up arrow until it's about 94. Move the "AC97" bar to 0. If you have a whine (feedback) then try to turn off other inputs (bars) that could be causing trouble. I had a problem with the "AC97" bar giving me feedback until I put it at 0. Bars with the names like "Master" or "PCM" are for your sound levels coming out of the speakers so keep them at a decent level. You may also need to try to turn on the "Mix" bar if something is not working. You can mute certain levels (bars) with the "m" key. The spacebar turns certain levels on and off. Do some test records with KRecord and play with the levels. If it your recording sounds bad try turning the levels down. Just hit the escape key when your done and run

alsactl store

This will save your settings you just set in alsamixer. You might want to mute or turn off your levels when your done. Just see how things sound.

Del.icio.us! | Digg Me! | Reddit!

Related stories


RSS Feed RSS feed logo
About


3com
3ware
alsa
alsactl
alsamixer
amd
android
apache
areca
arm
ati
auditd
awk
badblocks
bash
bind
bios
bonnie
cable
carp
cat5
cdrom
cellphone
centos
chart
chrome
cifs
cisco
cloudera
comcast
commands
comodo
compiz-fusion
corsair
cpufreq
cpufrequtils
cpuspeed
cron
crontab
crossover
cu
cups
cvs
database
dbus
dd
dd_rescue
ddclient
debian
decimal
dhclient
dhcp
diagnostic
diskexplorer
disks
dkim
dns
dos
dovecot
drac
dsniff
dvdauthor
e-mail
echo
editor
emerald
ethernet
expect
ext3
ext4
fat32
fedora
fetchmail
fiber
filesystems
firefox
firewall
flac
flexlm
floppy
flowtools
fonts
format
freebsd
ftp
gdm
gmail
gnome
greasemonkey
greylisting
growisofs
grub
hacking
hadoop
harddrive
hba
hex
hfsc
html
html5
http
https
idl
ie
ilo
intel
ios
iperf
ipmi
iptables
ipv6
irix
javascript
kde
kernel
kickstart
kmail
kprinter
krecord
kubuntu
kvm
lame
ldap
linux
logfile
lp
lpq
lpr
maradns
matlab
memory
mencoder
mhdd
mkinitrd
mkisofs
moinmoin
motherboard
mouse
movemail
mplayer
multitail
mutt
myodbc
mysql
mythtv
nagios
nameserver
netflix
netflow
nginx
nic
ntfs
ntp
nvidia
odbc
openbsd
openntpd
openoffice
openssh
openssl
opteron
parted
partimage
patch
perl
pf
pfflowd
pfsync
photorec
php
pop3
pop3s
ports
postfix
power
procmail
proftpd
proxy
pulseaudio
putty
pxe
python
qemu
r-studio
raid
recovery
redhat
router
rpc
rsync
ruby
saltstack
samba
schedule
screen
scsi
seagate
seatools
sed
sendmail
sgi
shell
siw
smtp
snort
solaris
soundcard
sox
spam
spamd
spf
sql
sqlite
squid
srs
ssh
ssh.com
ssl
su
subnet
subversion
sudo
sun
supermicro
switches
symbols
syslinux
syslog
systemrescuecd
t1
tcpip
tcpwrappers
telnet
terminal
testdisk
tftp
thttpd
thunderbird
timezone
ting
tls
tools
tr
trac
tuning
tunnel
ubuntu
vi
wget
wiki
windows
windowsxp
wireless
wpa_supplicant
x
xauth
xfree86
xfs
xinearama
xmms
youtube
zdump
zeromq
zic
zlib