ALSA (Advanced Linux Sound Architecture ) is an API of audio functions for the linux platform.

learn more… | top users | synonyms

14
votes
4answers
8k views

Generating random noise for fun in /dev/snd/

Recently I have been exploring the enchanted /dev folder. I want to write some random data to an audio device in order to generate some noise. I am using ALSA. So I instruct cat to pipe some random ...
14
votes
3answers
3k views

Change PulseAudio Input/Output from Shell?

I have a set of nice wireless headphones which I use from time to time, in addition to my speakers and normal microphone. I'd like to write a script to switch between one input and output source and ...
11
votes
1answer
13k views

How to use command line to change volume?

I am trying to control the volume using my programming script. How can I do the following in Fedora 15, Ubuntu linux? Mute/ Unmute Volume up and volume down Note: Please note that I use a web USB ...
8
votes
4answers
937 views

Low sound volume on Lenovo laptop under Fedora

I'm having trouble hearing anything at all under Fedora 16 on this Lenovo T520. Everything in alsamixer is at 100% (both pulseaudio and card). I installed Windows 7 on the laptop to check if the same ...
7
votes
2answers
509 views

No sound when attached to docking station

I have been using Linux and Ubuntu only since the last two months on my (2006) Sony Vaio VGN A617S laptop which is going pretty well on Ubuntu 10.10. When installing Ubuntu audio did get installed ...
6
votes
3answers
2k views

How can I switch to my USB headset automagically when it's plugged in?

I'm running Funtoo Linux, a Gentoo derivative. My two new Plantronics USB headsets (one wired, one wireless) work nicely. I plug one in, ALSA notices it, and if I manually set an application to use ...
6
votes
1answer
5k views

How to check why sound over HDMI doesn't work

I installed Gentoo clean on my system, except my /home but I deleted all hidden folders that might have an impact on sound (.mplayer .pulse* .config .esd_auth and more) and with a fresh user adduser ...
6
votes
1answer
3k views

Can someone diagnose this JACK error message?

OK. I start JACK without starting the JACK server. I get: 23:09:22.730 Patchbay deactivated. 23:09:22.765 Statistics reset. Cannot connect to server socket err = No such file or directory Cannot ...
5
votes
3answers
671 views

Command line audio player that exits immediately after file finished playing back?

I am experimenting with audio players in the command line, and noticed something weird: if the sound is very short, most players will take up to a second or two after playback has finished, before ...
5
votes
2answers
242 views

Microphone - static background noise suppression on Linux

My soundcard is Realtek ALC 892. On Windows 7 I use official Realtek drivers, on Linux I use PulseAudio (on Ubuntu 13.10). On both Windows and Linux, when I enable microphone boost +30db (required ...
5
votes
1answer
804 views

Samson Meteor Mic under Linux/ALSA

Has anybody gotten a Samson Meteor Mic working under Linux/ALSA? I tried to google it but I found no mention of Samson Meteor under Linux at all. Kernel/ALSA/Audacity see the device. Unfortunately I ...
5
votes
1answer
1k views

Changing default audio device in Pulseaudio

I would like to use HDMI on my graphic card for audio output. ALSA shows it as a card with 4 devices and I can get sound through one of them (the other three are different channels, perhaps? I have ...
5
votes
1answer
480 views

ALSA dummy device - how to configure?

I am working on an audio stream between two virtual servers. For that, I have set up a dummy soundcard (as the vservers don't have a hw card) using modprobe snd-dummy. That seems to work fine - I am ...
5
votes
1answer
182 views

Xorg key clicks?

I've currently got Fedora 9 on my home PC (yes, I know its quite old - but hell I only reboot it every 6 months - nevermind upgrading!) . My only niggle is that keyboard I've got has quite a different ...
5
votes
2answers
764 views

Microphone always picks up sound and routes it to speakers

I've started running into a kind of strange problem on my laptop, and Google hasn't proved to be very helpful so far. Essentially, at seemingly random times, my microphone will start sending output ...
4
votes
2answers
200 views

Can I query which processes (if any) are currently accessing the microphone?

I'm running Debian (technically Raspbian), trying to get a Star-Trek style voice-command system. I've got it mostly up and running, but in the interests of privacy and all that jazz, I don't want my ...
4
votes
1answer
297 views

How can I set a top limit for the PCM value when changing the loudness with pulseaudio?

when I change the loudness with pulseaudio, pulseaudio acts on several of the values I can see when I use alsamixer -c0 I have a problem: when the PCM loudness exceeds a certain value (80%), the ...
4
votes
4answers
4k views

My audio device not working

I have been setting up a new CrunchBang Linux and my sound doesn't work. When I type lspci -v command and alplay -l command in command prompt I can see that my sound card is connected and detected. ...
4
votes
1answer
534 views

Finding the current speaker volume (signal strength)

I'm trying to create a widget for awesome wm that controls and monitors volume. Getting and setting the speaker volume is easy in ALSA and PulseAudio, but how about getting the actual signal ...
4
votes
1answer
604 views

How to get Debian's volume control working with Pulse

I finally configured Pulse to work with every application, however using the volume control on my keyboard still controls the default ALSA selected device. How do I change it so it adjusts the current ...
4
votes
1answer
397 views

ffmpeg - Merge two audio sources with x11grab, possible?

Currently I'm running with the following setup. ffmpeg \ -i http://pub1.di.fm:80/di_vocaltrance \ -f x11grab -s 1920x1080 -r 25 -i :0.0 \ -c:v libx264 -preset fast -pix_fmt yuv420p -s 1280x800 \ ...
4
votes
1answer
2k views

ALSA/ASoC: How to correctly load devices/drivers?

I am using Buildroot to build an embedded Linux (2.6.39.2) system for the NXP LPC3250 microcontroller. Right now, I'm trying to get ALSA/ASoC up and running, but I'm having some issues with getting ...
4
votes
4answers
1k views

Is there any gnome-shell mixer icon relying on alsa and not pulseaudio?

So, long story short, when I installed Mint 12 on my Dell laptop I realized my HDA-intel sound board have problems with pulseaudio. I uninstalled pulseaudio and got my sound back, but removing ...
4
votes
1answer
843 views

Saving alsa settings

After a new update, there is no sound by default in my Debian Squeeze box until running alsactl init, but whenever rebooting the computer I have to run the command again to gain sound. How can I ...
3
votes
2answers
61 views

How proc gets updated about the devices [duplicate]

If i do cat /proc/asound/cards it lists all the sound card details from where proc gets this information.This file is continuously updating what if i want to make a manual entry
3
votes
1answer
283 views

What is ALSA in the Linux kernel?

What is ALSA? I read the Wikipedia page but couldn't understand it. All I understand is that it is a module in the kernel that has something to do with sound. What happens if you don't include it in ...
3
votes
3answers
4k views

amixer - How to change recording channel?

So fat, I am setting up microphone settings : $ amixer set 'Rear Mic' 90% mute cap $ amixer set 'Rear Mic Boost' 80% But, after some sys. update, my default recoding chanell changed to 'Front Mic' ...
3
votes
1answer
282 views

How can I find the correct name for my microphone and sound output using aplay or pacmd or something else, to apply in asound.conf?

I need to write a default mic and default speaker output in the asound.conf config file. But I don't know exactly how I can find my external sound card or microphone device's name, so that on reboot ...
3
votes
1answer
1k views

5.1 speakers on soundblaster x-fi 'extreme audio'

The rear and center channels on my 5.1 speakers don't work. I've checked the connections a few time, and turned up volume sliders in alsamixer “System information” in alsamixer correctly identifies ...
3
votes
2answers
1k views

Recording audio output

I've been following these instructions for recording the output of a program I wrote (that uses rtaudio to synthesize music) ...
3
votes
1answer
35 views

How to simultaneously play sounds on 4.0 surround system using aplay

After my first configuration war against alsa (won with the help of CL.) check this question ... I would now want to go further : I am able to play multi-channel sounds on my setup, but I now need ...
3
votes
2answers
185 views

How do I detect wheter the audio cable is connected?

I'm using Ubuntu Lucid (10.04). In my shell script running as root I want to detect whether an audio cable (analog jack) is connected to the laptop or not. How do I do that? I don't need a portable ...
3
votes
1answer
118 views

Turn on PC speaker after resume

After resuming from suspend my PC speaker becomes silent. I need to run alsamixer and arbitrarily adjust its volume either up or down for it to come back again. But if I suspend and then resume a ...
3
votes
1answer
1k views

Command line audio - piping for simultaneous playback and recording

I am trying to generate sound data, convert it and store it to a WAV format. I'm almost there - except I'd like to hear the generated sound "while" it is being "recorded". This command line just ...
3
votes
2answers
896 views

How do I know if my microphone is mute or unmute when I have more than one microphone?

How do I find out if my microphone is muted or unmuted, when I have more than one microphone such as Motherboard, USB and HDMI? 1) I can't find it with this: $ cat /proc/asound/cards 0 [PCH ...
3
votes
0answers
114 views

How to set up AMD Cayman/Antilles HDMI Audio (Radeon HD 6900 series)?

I've got an AMD Radeon HD 6950 card: $ lspci | grep AMD 03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Cayman PRO [Radeon HD 6950] 03:00.1 Audio device: Advanced Micro ...
3
votes
0answers
314 views

Why does skype not pick up my microphone?

I've got skype running (32 bit mode) on Slackware64 — the sound is fine but my mic is not able to be detected. KMIX shows that my mic is enabled, and I can hear myself when I test it. Some ...
2
votes
2answers
441 views

What is the alsamixer of Pulse Audio?

I just installed Pulse Audio over my ALSA installation. Is there a Pulse Audio equivalent of alsamixer that I can use for tasks such as changing the microphone gain?
2
votes
4answers
764 views

Pipe system sound to another computer

I have no speakers in my PC (Cent-OS 5.5) but there is a stereo speaker connected to the computer next to my computer (also Cent-OS 5.5). Both computers are networked. Is there any way to pipe my ...
2
votes
1answer
1k views

how to pipe audio output to mic input

I've looked all over the internet for a clean way to reroute the audio output of my computer (i.e. what I'd hear from the speaker) to my microphone's input. Possibly, I'd like to do this at low level ...
2
votes
1answer
622 views

asound.conf file is corrupted does not allow the play with the correct sound card as a result it keeps failing

I have this following asound.conf file, but when i play $ speaker-test it fails. How can you tell asound.conf that each and every time on restart of pc also use this sound card only? "card 2: PCH ...
2
votes
1answer
2k views

Sound not working when both the sound card and HDMI use the Intel HDA driver. How to exchange their device loading order?

I have an Acer Aspire One 522 netbook which has an Intel HDA sound card based on the Conexant CX20584 chipset. Although KDE does output sound when starting up, flash and probably many other apps which ...
2
votes
2answers
44 views

Where do sound drivers live? [closed]

A little while ago I searched for a good driver for my sound card (with surround sound support) and didn't find any. So it seems there is none. I thought I could try (even though I think nothing ...
2
votes
1answer
365 views

Alsa - how can i tell my default audio output is card 2 and device 0, not hdmi?

how can i tell my system default sound output is card 2 and device 0 not card 2 device 3 or 7 or 1? I did this but no sound. $ aplay -l **** List of PLAYBACK Hardware Devices **** card 0: Device ...
2
votes
1answer
593 views

Espeak showing some warnings and Input output error

I am running espeak on Linux Mint 14. Whenever I try to run it, it shows following warnings ( Not errors as it works correctly ). ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM ...
2
votes
1answer
256 views

How to force ALSA output as single-channel?

My speakers are broken and play at different loudness from time to time. This means that the off-center parts of music sound wrong. How can I force all sound to be centered, so that the two speakers ...
2
votes
1answer
214 views

No sound with the newest kernel version - is this a kernel bug or something else?

I have an external USB sound card on a Fedora 17 system (64 bit). It stopped playing sound after I updated the kernel to 3.5.4-1 (the problem persists under 3.5.4-2). As the sound card still plays ...
2
votes
1answer
365 views

Getting more details in ALSA volume

I've bought some new speakers, and they play much louder than my old ones. It's so much that I most of the time keep them at 1% to 3% in alsamixer, which is -103dB to -84dB. This obviously leaves ...
2
votes
1answer
275 views

Renaming alsa controls

Is it possible to rename alsa controls? My front panel is controlled using "Speaker" and my the back plugs are "PCM". Since this isn't very descriptive I would like to rename them to something more ...
2
votes
2answers
3k views

“lsmod |grep audio” doesn't return anything?

I am running Debian Squeeze. I installed and removed Gnome3 and reinstalled Gnome2.x (epic fail and stupidity) and in the process I have lost audio, lspci returns following # lspci | grep Audio ...