ALSA (Advanced Linux Sound Architecture ) is an API of audio functions for the linux platform.
9
votes
3answers
5k 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 ...
7
votes
2answers
423 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
2answers
298 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 ...
6
votes
3answers
1k 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
2answers
291 views
Low sound volume on Lenovo T520 under Fedora 16
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 ...
6
votes
1answer
2k 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 ...
6
votes
1answer
3k 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 ...
5
votes
1answer
5k 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 ...
5
votes
1answer
889 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
299 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
135 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
645 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
93 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 ...
4
votes
1answer
219 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
1answer
551 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 ...
4
votes
1answer
394 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
494 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
1answer
493 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
4answers
2k 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.
...
3
votes
2answers
2k 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
967 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
37 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
72 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
297 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 ...
3
votes
1answer
927 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
656 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
2answers
890 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 ...
2
votes
4answers
482 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
394 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
1answer
23 views
How can i find the correct name using aplay, or pacmd or something else for my microphone and sound out put, to apply in asound.conf?
I need to write a deafult mic and default speakeroutput in the asound conf file. But i dont know exactly how do i find my external sound card or microphone devices name? So that on reboot or ...
2
votes
1answer
28 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
196 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
199 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
237 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
174 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
1answer
187 views
Configuring default alsa device (hw:0,0) in asoundrc
I am using a multimedia application (XBMC Frodo RC3) that does not allow me to select custom pcm device. It just asks the hardware device (in this case it is hw:0,0).
Given this limitation I have to ...
2
votes
1answer
115 views
Does SDL require any sound server like PulseAudio to play audio?
I'm trying to make an MP3 player on top of the Linux kernel and busybox using the SDL and SMPEG libraries.
Does SDL work on top of the kernel or it needs PulseAudio?
I have just built a C program ...
2
votes
1answer
695 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) ...
2
votes
1answer
330 views
Sometimes no sound in flash videos after boot?
Sometimes after I boot up the machine, I get no sound in flash videos. First I didn't know why it was happening, but as I read a few articles here and there, I found out it was because of my USB ...
2
votes
0answers
42 views
How to configure buildroot to add a sound device?
I've used a given board configuration to reconfigure it for my individual board. My board has a CS4270 sound device of Cirrus Logic. My uImage is booting successfully on my target hardware, but an ...
2
votes
0answers
416 views
Sound not working in Debian except in google chrome and test utilities
Yesterday, I had Archlinux on my Dell Latitude E6520 and the sound was working perfectly fine (I even had the loud beep I couldn't get rid of).
Today, I installed Debian and alsa. The first surprise ...
2
votes
1answer
895 views
Trying to improve sound quality with ALSA
I'm trying to make ALSA 1.0.23 to use different resampling algorithm. I did some research on the Internet and found that putting the line defaults.pcm.rate_converter "<library>" into either ...
1
vote
2answers
216 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?
1
vote
1answer
600 views
How to have CoreAudio from Mac to Linux/Unix?
After using Alsa and PulseAudio for a while, I feel they are not yet strong enough for Audio capture and audio playback.
When I test with loud-speaker and microphone, there is self feedback-loop.
...
1
vote
1answer
38 views
Change sampling rate in ALSA
I'm a Computer Audiophile, I've used Windows (with ASIO4ALL)and OSX for Audio. Now I'm making Ubuntu 13 my HTPC/Stereo Audio. To begin with I disabled Pulse audio and using GooMusicplayer with ALSA.
...
1
vote
1answer
31 views
Does alsa depend on the kernel version?
Lately I had nothing but trouble with my sound setup. The full chain looks like this:
alsa (pulse plugin)-> pulseaudio (jack plugin) -> jackd -> firewire soundcard
This works fine, except ...
1
vote
1answer
120 views
Internal microphone doesn't work on Dell Vostro 3360
I've got Dell Vostro 3360 laptop, and internal mic doesn't work. I use 3.8
series kernel.
When I try to record sound from mic I get only weird noise. All sliders in
alsamixer are 100% and capture is ...
1
vote
1answer
293 views
How do I fix a noisy input device (Internal Mic)? snd_hda_intel - debug included
As the title says, I'm having trouble with a very noisy audio input device - the internal mic or any plugged in mics.
So far I've narrowed it down to an problem in ALSA since my debug info is showing ...
1
vote
1answer
483 views
No sound in USB headphones using fedora 16
The volume control buttons on the usb headphone work, they can increment or decrement the system sound.
However the headphone have no sound. How to make it work?
kernel 3.2, pusleaudio is used by ...
1
vote
2answers
2k 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
...