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

learn more… | top users | synonyms

2
votes
1answer
327 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 ...
6
votes
1answer
563 views

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 \ ...
5
votes
2answers
292 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
64 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 ...
2
votes
1answer
1k 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
70 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 ...
2
votes
2answers
200 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 ...
0
votes
1answer
557 views

pulse-audio does not recognise my Logitech mic and my Webcam mic

I use the (great) AK5370 microphone for Skype, but it is not recognized by my archlinux i86_64. It also fails to recognize the mic on my Logitech Webcam (PTZ, which I do not use). Both are connected ...
3
votes
1answer
526 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
2answers
494 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
823 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 ...
5
votes
3answers
2k 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 ...
1
vote
4answers
5k 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
0answers
232 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
1answer
86 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
157 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 ...
0
votes
2answers
502 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 ...
2
votes
0answers
176 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
539 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 ...
2
votes
2answers
471 views

Why does Arch Linux keep Windows headphone mute

I have Windows 7 installed, and headphones work perfectly. Few days ago, I installed Arch Linux along with Win7. This issue appears with gnome/xfce4/openbox. Perhaps it is not related to desktop ...
2
votes
0answers
248 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 ...
0
votes
1answer
51 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 ...
15
votes
3answers
7k 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 ...
5
votes
1answer
3k 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
854 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
384 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 ...
6
votes
1answer
3k 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 ...
3
votes
2answers
769 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
246 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 ...
1
vote
1answer
1k 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 ...
3
votes
1answer
142 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 ...
1
vote
1answer
811 views

Is there an easy way to switch playback soundcards?

I recently purchased the roccat kulo headset which comes with a nice USB soundcard, completely functional under linux :). Howsoever I now struggle to easily siwtch between my laptops integrated ...
2
votes
1answer
301 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
231 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 ...
4
votes
4answers
5k 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
669 views

Sound not working in Debian except in google chrome and test utilities [closed]

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 ...
9
votes
4answers
2k 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 ...
2
votes
4answers
962 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 ...
0
votes
1answer
1k views

Gnome-sound-applet not detecting sound card

Everything was working until today, the gnome-sound-applet does not detect any sound card. Alsamixer however is working and I can change volume. I noticed that pulseaudio is not running and that ...
4
votes
1answer
690 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
2k 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 ...
1
vote
1answer
2k views

How to change mixing of channels by pulse audio / alsa

I have a recent problem with my sound configuration. Basically, it's way too loud until I set the volume below 10%. And then it's very quickly too silent. Using the alsa mixer, I can set the headphone ...
5
votes
1answer
650 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 ...
1
vote
1answer
1k 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
1k 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 ...
2
votes
1answer
435 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 ...
7
votes
1answer
6k 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 ...
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) ...
0
votes
2answers
618 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 ...
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 ...