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

learn more… | top users | synonyms

1
vote
1answer
306 views

Why aplay cannot play a 4 or 6 channels sound when speaker-test does?

I am currently trying to setup a soundblaster card (CA106 chipset) to output to 4 channels. I plugged 4 speakers to analog output (using the jack plugs). When I am testing the pseakers using the ...
2
votes
1answer
374 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 ...
0
votes
1answer
162 views

Alsaaudio module, recording for specific amount of time

The below code records the audio for some time (I don't know how much) How to calculate the total time of its recording? For example, if I want to record for just one minute then how would I limit ...
1
vote
1answer
345 views

audio recording - record two sources simultaneously, merge into a single 2-track recording

How can I record two audio sources at the same time and create a file where one source is the left channel and the other source is the right channel of a lossless stereo audio recording? My distro ...
3
votes
0answers
325 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 ...
1
vote
1answer
149 views

Pulseaudio over network - change output on-the-fly

I successfully configured PulseAudio server and client to send audio over network. It uses direct connection: http://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/Network/#index1h2 ...
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
1
vote
1answer
157 views

Separate speakers and headphones output

I have a PC with builtin soundcard, and it has one output for the speakers (behind the computer) and one for the headphones (on the front side). When I play something, the sound goes to both outputs. ...
0
votes
1answer
47 views

What program reads and executes /usr/share/alsa/alsa.conf and related scripts?

I can't find any kind of daemon application for modern ALSA. I wonder, what process or kernel thread reads /usr/share/alsa/alsa.conf and other configuration files under /usr/share/alsa, when it reads ...
1
vote
1answer
2k views

ALSA: how to temporarily change the output device

I want to do a simplest thing possible in ALSA: to have USB-headphones produce sound instead of internal speaker of my tablet. I don't want to change config files such as asound.rc or alsa.conf or ...
1
vote
1answer
149 views

Applications grabing ALSA exlusively

So, my second question about linux audio on the site. The previous one generated quite a lot introductory information. I have ALSA and PulseAudio installed. Before installing PulseAudio, no audio ...
2
votes
1answer
209 views

Alsaequal volume gain, Pre-Amp like

I use alsaequal for equalize my audio, hitherto ok, but all know that after equalizer the volume is low, some equalizers have a control called "Pre-AMP" that solve this problem, but in Alsaequal ...
1
vote
1answer
234 views

How to preserve the logind session in Arch Linux?

I got audio working in Arch Linux without problems yesterday, but at some point it stopped working again: $ alsamixer cannot open mixer: No such file or directory $ vlc foo.mp4 ... [0x7f1388006be8] ...
1
vote
0answers
108 views

Cannot find Audio Hardware for my Workstation

Audio is NOT working in HP workstation xw 4600. I cannot find any hardware present at System-> Preferences -> Sound -> Hardware (Tab) The command lspci -v shows following output of Audio ...
1
vote
0answers
80 views

No microphone input - VIZIO CT15-A5 and 12.04 LTS (64)

I have the VIZIO CT15-A5 and 12.04 LTS (64) is running smoothly .. Only one issue.. I cannot record sound or use Skype due to lack of mic input. I have tried turning up the sound using the alsa ...
2
votes
2answers
145 views

Reconfigure line-in as analog-out

I am trying to reconfigure my "line in" as another "analog out" and use it alongside with the default analog out port. I am using an onboard realtek sound card. It is very simple to do this in ...
1
vote
0answers
282 views

Sound doesn't work in x, but does in virtual terminal

I've just installed Fedora 19, bringing over my home directory. I've disabled graphical boot, instead I get dumped to a virtual terminal. I use xmonad instead of gnome3. weird phenomenon #1 In a ...
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 ...
3
votes
1answer
289 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 ...
2
votes
1answer
177 views

How do I debug Alsa configuration file errors?

I've got an embedded device with ALSA support, and I'm trying to figure out how to get dsnoop working. The reason is that I want two applications to share the microphone input. But the problem is that ...
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 ...
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) ...
4
votes
2answers
201 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 ...
2
votes
0answers
50 views

VST plugin integration into ALSA?

I have "headless" (e.g. no graphical front-end) VST plugin that I would like to embed into my ALSA setup to continuously filter my sound. I remember that there used to be a LADSPA plugin which itself ...
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. ...
2
votes
1answer
628 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 ...
1
vote
0answers
183 views

Native Instruments Audio Kontrol 1 - crackling sound

I am very new user to the Linux world. I istalled newest Ubuntu on my old ASUS A7CC laptop. I would like to use also my older external sound interface Native Instruments Audio Kontrol 1. I am able to ...
1
vote
0answers
49 views

add audio from playing file to microphone stream

I need to add a sound to what the microphone is capturing, is it possible? I started with man aplay and found that I can do aplay -D PCMdevice filepath.wav so then I listed the PCM devices with ...
3
votes
2answers
186 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 ...
2
votes
1answer
594 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 ...
0
votes
1answer
35 views

Linux via Buildroot doesn't include alsa-utils

After following these instructions from here and from here, my booted Linux does not include ALSA-Utils like "aplay". But I have set all ALSA options. Any idea what's wrong? I also found this but I ...
0
votes
2answers
391 views

Unexpectedly lost speaker output. Headphone output works fine

Yesterday when I opened my laptop I noticed that I no longer had sound from the built-in speakers. I carefully checked settings in Sound Preferences, and then dropped to shell and looked in ...
1
vote
1answer
73 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
0answers
116 views

Choppy sound with flashpayer

After a number of updates, including upgrading to flashplayer 11 and kernel 3.8.2 sound from flashplayer and skype has become choppy. Setup In my setup I have .ascoundrc set up to use pulseaudio ...
2
votes
0answers
116 views

Setting up surround sound with optical out

I have centos 6.3 running on this pc. the built in sound card is detected normally and is a 7.1 card with all speakers listed. It includes a optical out as well as hdmi for the built in video. It ...
1
vote
1answer
450 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 ...
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 ...
2
votes
0answers
137 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 ...
1
vote
1answer
201 views

Pulseaudio rapidly switches ouputs at high volumes

I'm using Pulseaudio. The image is of the Output Devices tab and shows the Port set to Analog Output. This is fine and works great. There's another option called Headphones but if you try and set the ...
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 ...
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 ...
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 ...
7
votes
2answers
510 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 ...
2
votes
1answer
464 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
264 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
2answers
445 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
927 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 ...
0
votes
2answers
492 views

What Linux distro is good for music and well supported?

I'm pretty disappointed with Ubuntu. It's never been easy to sort out the mess that is Alsa / Jack / whatever and have it work with Pd, Supercollider, Ardour, Lillypad. I've upgraded to the latest ...
2
votes
4answers
766 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 ...
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 ...