Advanced Linux Sound Architecture (ALSA) provides audio and MIDI functionality to the Linux operating system.

learn more… | top users | synonyms

14
votes
5answers
42k views

How to make Alsa pick a preferred sound device automatically?

I bought an USB sound card. I'd like to set up my Linux desktop so that it prefers the USB device, if it is plugged in and automatically switches as the device is (un)plugged. Is it possible, and how? ...
1
vote
1answer
103 views

linux - headphones and speaker works only AFTER resume from sleep

Good day all For quite some time I have had this issue, not distro specific, I assume it is a kernel related issue. aplay -l **** List of PLAYBACK Hardware Devices **** card 0: PCH [HDA Intel PCH], ...
2
votes
1answer
6k views

Kali Linux No Sound

Basically I misstakenly removed alsa config because of this guide http://hackerzelite.blogspot.in/2014/03/fix-sound-driver-on-kali-linux.html . And there is no sound icon now, as well no sound. But ...
1
vote
0answers
2k views

No sound in headphone jack

Worked fine a week ago. Yesterday when I plugged headphones into my Asus laptop, I got sound both from headphones and speakers. Today after system crash (not sure what was the reason) when I plug ...
2
votes
1answer
28 views

intel edison voice control - how to configure alsa

I want to implement a voice controlled wheelchair using Intel Edison. Basically I will say forward, left, right and stop to a microphone connected to the Edison board via the sound adaptor. For the ...
2
votes
3answers
3k views

ALSA - no surround playback with mplayer

When I run: speaker-test -c6 ...everything is fine. I get 5.1 playback. However, when I run: mplayer -channels 6 "some video with 5.1 audio" no audio plays. Here is what appears in the ...
0
votes
0answers
56 views

Set volume using php exec and amixer

I wrote a little php script to control the volume of my local machine with alsa: <?php # for simplicity and testing it really just executes the command: echo exec('amixer set Master 5%+') . " \n"; ...
0
votes
0answers
51 views

pulseaudio pavucontrol: Missing “ALSA capture from” in gui

I am trying to redirect sound output to fake microphone, but I got stuck in pavucontrol. After trying 3 tutorials, I gave up due to missing "ALSA Capture from" options. It should look like Here's ...
1
vote
0answers
34 views

How do I set the default soundcard for the root user?

I am running raspbian Jessie on my raspi 2. I have an external usb soundcard for my pi. I set it as the default card simply by going to Menu->preferences->Audio Device Settings. This works as ...
0
votes
0answers
24 views

Native Instruments Maschine Mikro and Linux

After searching a solution wherever I could, I'm resigned to ask it myself. I'm the owner of a Maschine Mikro MKII from Native Instruments and, some months ago, I switched to Ubuntu Gnome (under 15.10 ...
0
votes
1answer
46 views

usb sound card not loading arch linux

I have the following /etc/modprobe.d/alsa-base.conf: alias char-major-116 snd alias snd-card-2 snd-usb-audio alias snd-card-1 snd-hda-intel alias snd-card-0 snd hda-intel options snd cards_limit=3 ...
1
vote
0answers
13 views

What happened to “Ignore keyboard volume buttons.” preference in VLC?

On my Debian system, VLC 2.2.1 is responding to my laptop's volume keys, and also forwarding them to the system, so when VLC is open the keys adjust both volumes simultaneously. Basically, I'm seeing ...
12
votes
4answers
11k views

Skype 4.3 without PulseAudio, only ALSA. Any options?

I have been using Skype for over 10 years now, almost since the initial release, and most of my friends/family/colleagues use it too. So switching IM is not an option. Microsoft has recently changed ...
0
votes
1answer
54 views

Noise in headphones when connected to laptop

I have a Dell m4800 laptop, with arch linux installed. Everytime I connect my headphones to the computer I hear a regular noise but just when no other sound is being played from computer. I am sure ...
1
vote
1answer
2k views

How can I get HDMI audio to be visible to `aplay -l` on Linux?

I've got a new machine with an Nvidia GeForce 210 graphics card with HDMI output. I'm trying to get sound to go out that HDMI cable, but although the device shows up on lspci, I can't get it ...
2
votes
3answers
85 views

Headphone jack stops working after suspend / reboot

I had this really annoying problem, where the headphone jack would work fine after a cold start. But after suspending or cold rebooting (restart the computer without completely shutting it down) the ...
0
votes
0answers
15 views

Proper audio on Lenovo Y50-70 under Linux?

The Lenovo Y50-70 laptop is an amazing piece of hardware, and after some updates to Linux, almost every component of it works beautifly. But sound. It's quality is terrible compared to Windows', as ...
6
votes
4answers
14k views

alsa-base.conf missing in new Raspberry Pi Raspbian Jesse

I'm trying to make my Pi use an external USB sound card as a default. All tutorials are telling me to edit /etc/modprobe.d/alsa-base.conf However the version of Raspbian I have (pretty new build, I ...
0
votes
0answers
29 views

How do I map the keys on a USB audio device to volume controls?

I don't have PulseAudio. I've been learning/tinkering with Alsa to setup USB device and effectively replace Pulseaudio with the configs. When the USB device is connected and I want to play through it, ...
1
vote
2answers
3k views

No sound after updating alsa

I am new to Linux but really love Elementary for its simplicity. After noticing that my sound was quite poor in Elementary, compared to Windows 8.1, I have tried updating the sound drivers. I ended up ...
1
vote
1answer
34 views

ALSA does not detect all USB cards properly

I want to run four identical USB audio devices, but ALSA shows only two of them on one machine (all four operate properly when plugged in alone). It seems they are detected (and initialised) ...
0
votes
1answer
39 views

ALSA: How to configure an (virtual) audio device for each channel?

I would like to play different sound/music of the left and right speaker/headphone. I understand that left and right speaker are called channel 1 and 2 in ALSA. The DJ software I'm using (mixxx) does ...
1
vote
1answer
211 views

ffmpeg ALSA audio capture not working

I use the static binaries of ffmpeg (http://johnvansickle.com/ffmpeg/) on linux mint 17.2. When I try to capture audio with the command: ffmpeg -f alsa -ac 2 -i hw:0 output.wav I end up with the ...
0
votes
0answers
136 views

Chromium Speech-Recognition: Unable to set hw params for CAPTURE (Microphone)

I'm trying to get the Chromium Speech-Recognition working. I'm starting Chromium with the following command: chromium-browser --kiosk --incognito https://my.url --alsa-input-device=plughw:1 But the ...
2
votes
2answers
3k views

Set device when using gst-launch alsasrc

As part of my Sphinx setup, I listen to my input device like this: gst-launch alsasrc (Well, the actual command is this: alsasrc ! audioconvert ! audioresample ! vader name=vad auto-threshold=true ...
2
votes
4answers
7k views

Alsa USB-Audio hotplug

My new USB audio speaker appeared as the second device in Alsa. I managed to make it the primary one: $ cat /proc/asound/modules 0 snd_usb_audio 1 snd_hda_intel $ cat /proc/asound/cards 0 ...
1
vote
0answers
39 views

Debian Unstable x64: ALSA equalizer plugin unavailable to i386 applications, no sound

I'm running Debian Unstable x64, but sometime use legacy applications or games that are only available in i386. With plain ALSA (there's only so much PulseAudio a sane person can take), i386 ...
0
votes
1answer
479 views

Distorted/crackling sound coming from when ALSA's .asoundrc file uses hw type instead of plug type

I have XBMCbuntu installed on a HTPC running Ubuntu 14.04 and Kodi 14.1. I have been trying to install and run Steam so that I can stream games from my gaming PC. I followed the steps from this guide ...
0
votes
0answers
19 views

Why Won't `amixer` Set My Volume Below 17%?

When I run amixer, I see the following output for the "Master" channel: $ amixer Simple mixer control 'Master',0 Capabilities: pvolume pvolume-joined pswitch pswitch-joined Playback channels: ...
1
vote
1answer
101 views

How to select which sound output device to use for /dev/dsp OSS emulation?

I have a system with two sound devices and am using sound via HDMI out. This is Card 1, Device 7, Subdevice 0, so I set in my /usr/share/alsa.conf: defaults.ctl.card 1 defaults.pcm.card 1 ...
0
votes
1answer
409 views

VLC Not able to detect/choose default audio device output

I'm on a clean Funtoo install and after setting up ALSA i've just tried to play some movies through VLC but it doesn't seem to be able to detect/choose the default output audio device. If i go to ...
1
vote
0answers
63 views

Google Chrome use alsa instead of pulseaudio

I would like to make Google Chrome use alsa instead of PulseAudio so there is not a delay when watching netflix. However, I don't want to uninstall PulseAudio because I need to be able to use Skype. ...
1
vote
0answers
142 views

Ubuntu 15.04/15.10 does not play any audio after 'amixer set Master toggle' two times

I used the 'amixer set master toggle' command to mute my music on the home server during a phone call. Afterwards I tried to use the same command to un-mute the mixers: Dind't work. I tried to ...
0
votes
0answers
164 views

Capture audio (alsa) and video (v4l2) from usb capture card

I want to save my old videos using a USB capture card. I'm using V4L2 Test bench and I've got working video and audio. I've managed to capture both audio and video, but not a the same time (saving to ...
0
votes
0answers
22 views

Configure MultiChannels on ALSA Linux Platform

I want to use ALSA library for playback and capture audio. I have an 8-channel interleaved wave file. When playing it through the program definitely recognizes that it has 8 channels. However, I only ...
-1
votes
2answers
1k views

Raspberry Pi sound

I am trying to configure the linux software festival which converts text to voice on a Raspberry Pi. Before and after the sound is played there is glitch sound that is heard. Does anyone know what ...
1
vote
1answer
82 views

How do I increase the number of MIDI through ports in ALSA?

ALSA always creates 1 MIDI through port. Since I work with Windows music applications via Wine, and because MIDI through ports are everything-proof, how can I increase the amount of MIDI through ports ...
0
votes
0answers
112 views

Understanding asoundrc and hdmi output

I am running nixos on a lenovo x220t. When it starts it finds the analog speakers and shows only them in alsamixer (or pavucontrol). However, when connected to an hdmi monitor/tv I can play sound ...
1
vote
1answer
482 views

Arch linux - sound disappeared after the installation of pulseaudio

I'm using Arch linux with the above onboard sound card : 00:1b.0 Audio device: Intel Corporation NM10/ICH7 Family High Definition Audio Controller (rev 01) Subsystem: Dell Device 0220 Flags: ...
0
votes
1answer
168 views

How do I make ALSA upmix 2.0 to 2.1?

For ages, I have been tinkering with ALSA and for an equally long time, I have been frustrated by the rather opaque configuration system it uses. It is really powerful, no doubt, but getting what I ...
1
vote
1answer
604 views

tidal-hifi playback with alsa stops after every song

I am using tidal hifi for music streaming under linux (Mint 17, 64bit) with Chrome. To achieve bit perfect playback I turn off pulseaudio ($killall pulseaudio) to purely use alsa for audio processing ...
1
vote
1answer
280 views

ALSA output to two dmix devices simultaneously using a multi device

I am trying to play audio to two hardware devices simultaneously, megalodon and analog, using two dmix devices. megalodon is a USB headset, analog is just the 3.5mm port on my computer. When I route ...
3
votes
1answer
215 views

Amplify alsa capture beyond 100%?

I'm using ALSA. The volume of my mic is so low that even 100% of capture volume is not enough in a skype conversation. Is there any way to amplify the capture volume beyond 100%? I cannot use ...
0
votes
1answer
124 views

alsa gives error when run via su

I have a script that starts my application ./run_se and it works just fine. But I want to start it at system boot, so in after.boot, I have su artisan -c "/home/artisan/run_se" but this errors ...
2
votes
1answer
58 views

I have to pull the connector out partly to get stereo sound

Using headphones, I have to pull the headphone jack partly out of the socket to get stereo sound. If I push it in all the way, only the right channel comes through. I'm assuming that this has to do ...
0
votes
0answers
35 views

No onboard Asus M4A87TD EVO sound

I have an Asus M4A87TD EVO motherboard that once put sound out through the board, but now will only allow that while in win 7 64bit. My frustration is that Debian wheezy USED to do this, but now it ...
0
votes
0answers
197 views

How to tell system wich USB-soundcard I want to have hw:2, if the two are “snd_usb_audio”?

I have a USB-soundcard (Encore ENMAB-8CM) and a Webcam with mic (Logitec c170). I want to use Jack with the USB-soundcard and, using alsa_in and jack_connect via scripts, to connect Webcam mic to ...
2
votes
0answers
148 views

Pulseaudio dont opens PCM device

I have IMX6Q based board and want game with pulseaudio. My board have 3 sound devices. # aplay -l **** List of PLAYBACK Hardware Devices **** card 0: tlv320aic3xaudi [tlv320aic3x-audio], device 0: ...
3
votes
1answer
2k views

ALSA PulseAudio sound output when switching between headphones and laptop speaker

Since I installed PulseAudio on my Gentoo system I've been having no audio output from my laptop's speakers when un-plugging the headphones jack. I suppose the problem lies in how ALSA and PulseAudio ...
2
votes
2answers
540 views

AMD R9 270x HDMI audio not working correctly with ALSA. Works with PulseAudio. Is it possible to fix?

Some days ago I installed Fedora 22 on my media center pc. Previously I had Windows 8 installed because I wanted to play some games and watch some blurays, and everything worked as wanted. The HDMI ...