Questions tagged [alsa]
Advanced Linux Sound Architecture (ALSA) provides audio and MIDI functionality to the Linux operating system.
274
questions
93
votes
2
answers
266k
views
What do ALSA devices like "hw:0,0" mean? How do I figure out which to use?
I've searched over and over and can't find any explanation of what "hw:0,0" means. How do I determine the number of my USB audio card? MPD requires me to enter something like this:
audio_output {
...
46
votes
6
answers
228k
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?
35
votes
6
answers
68k
views
linux arecord: capture sound card output rather than microphone input
I am trying to capture sound card output and encode it in Vorbis ogg format using the following command:
arecord -f cd -t raw | oggenc - -r -o file.ogg
However, the computer's microphone input is ...
31
votes
3
answers
78k
views
How to disable Auto-Mute Mode?
In alsamixer, there is an option called "Auto-Mute Mode", and it's enabled by default.
But now I want to disable it. I've tried different keys but failed.
Any idea? 0_0
26
votes
3
answers
60k
views
How to create a dummy sound card device in Linux server?
I want to run Linux program that require a soundcard, on a server, which has no soundcard.
Is it possible to create a dummy soundcard? I am totally unaware of Linux sound system internals. Please ...
22
votes
8
answers
98k
views
How to make Raspberry Pi use an external USB sound card as a default
Does anyone know how to change the sound card boot priority?
All tutorials are telling me to edit /etc/modprobe.d/alsa-base.conf, but the file is missing in Raspbian Jesse.
22
votes
4
answers
20k
views
How can I find out what programs are using sound in Linux?
Is there anyway of knowing what binaries are using the sound system/server ?
Like seeing something in the /proc directory (or /dev) ?
After a while ALSA stops working , and I would like to know why.
21
votes
3
answers
93k
views
Headset microphone not detected by Pulse und Alsa
I have an Acer Aspire V15 Nitro Laptop that only sports a combo jack for both microphone and headphones at the same time. It was always a bit tricky but worked until I reinstalled Arch Linux recently.
...
16
votes
1
answer
12k
views
Linux - Creating Virtual Audio Device
My question here is rather simple. How does one create a purely virtual audio device in ALSA that would be capable of:
being used as an audio output destination,
being used as an audio input source, ...
15
votes
4
answers
15k
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 ...
12
votes
2
answers
8k
views
Prevent applications to control master volume on Linux
Whenever I change the volume in VLC, Rhythmbox, or a video on YouTube, it change the master volume, i.e. the system volume. How can I prevent this from happening?
I'm running Debian 7.0.0 (wheezy) ...
12
votes
1
answer
16k
views
Force downmix to mono on Linux
For personal reasons (I'm hearing impaired) I need my linux machine to produce mono downmixed sound. Downmixed, not just single channel.
Is there any possibility to force such behavior in ALSA / ...
11
votes
3
answers
88k
views
List all ALSA devices
I'm using PulseAudio on my system, and I followed the instructions for adding a monitor device as per the PulseAudio wiki. The monitor device itself works and registers/functions properly in apps like ...
9
votes
3
answers
38k
views
How to listen to microphone output on Linux?
I would like to hear the microphone output during Skype calls. I have tried fiddling with alsamixer settings and made sure that the mike is unmuted but still cannot get to hear the mike in either ...
9
votes
1
answer
14k
views
How can I make Chromium use a different ALSA device?
I need one instance of Chromium on Linux to target a different sound card than the default, including Flash. Is there anyway to do this easily?
8
votes
6
answers
33k
views
Audio Line-In on Ubuntu/Linux Mint
I'm currently on Windows, and want to switch to Linux, but some hardware issues are preventing me. Mainly, I have a sound card that supports Line-In. On Windows, anything I plug into the line-in gets ...
8
votes
2
answers
70k
views
How to configure ALSA?
After switching from Unity to XFCE, I ran into difficulties with my sound configuration. I have multiple sound cards on my system, the one that I want to use is the last one to be loaded by the kernel....
8
votes
3
answers
15k
views
How can I fix a feedback loop on my microphone in Linux?
First off, this isn't the usual "physical" feedback of a speaker being too close to the mic. This mic is part of a headset so there's no way for the output and input to overlap and cause feedback. ...
7
votes
1
answer
8k
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 ...
6
votes
4
answers
3k
views
Is there a way to raise/lower the volume in Linux without using a graphical tool?
Is there a way to raise/lower ALSA's volume without using a graphical tool? I am currently using MPD along with MPC mapped to hotkeys to change the volume, but I recently switched music players and I ...
6
votes
5
answers
12k
views
Disabling built-in speaker in Linux
My workstation has a built-in speaker that, surprisingly, plays audio very well. I also have external speakers hooked up to the audio out jack which are easier to hear. Unfortunately, when I try to ...
6
votes
3
answers
12k
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(Cent-OS 5.5). Both computers are networked. Is there any way to pipe my system ...
6
votes
4
answers
13k
views
How to resolve Pulseaudio not attaching a mixer due to missing libraries?
I've been trying to install pulseaudio, and I can't seem to find a straight answer about what to do about ALSA. Does PulseAudio run on top of ALSA? Should I get rid of ALSA first? ALSA is a sound ...
5
votes
2
answers
11k
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
1
answer
3k
views
How to use synchronous endpoint of USB audio device?
I want to play the same sound over several USB audio devices in sync. Last time I tried something like this was about 2001 and it was successful -- and the pair of Griffin iMics I used back then still ...
5
votes
2
answers
732
views
Make acpi beep when the power supply being unplugged even if the alsa is turned into mute
My laptop is Thinkpad Edge series, of which laptop will produce a beep when the power supply being unplugged. But I noticed that the beep has been blocked if the alsa is turned to mute.
So, I wonder ...
5
votes
1
answer
2k
views
pavucontrol level base vs 100%
trying to understand what is pavucontrol doing. On the screenshot you can see that there are volume sliders where one ca nchoose from base or another percent value.
What is the meaning of base. In ...
5
votes
2
answers
5k
views
How do I get a volume OSD just like the one in OSX?
I'm using a Dell Studio laptop which has volume up/down hotkeys. On pressing these, I want a volume OSD to popup to show my current volume status just like in OSX; that is, just like:
Anybody know ...
5
votes
0
answers
3k
views
PulseAudio cannot open PCM device
I have an IMX6Q based board and want to game with PulseAudio.
My board has three sound devices:
# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: tlv320aic3xaudi [tlv320aic3x-audio], ...
4
votes
5
answers
4k
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 ...
4
votes
2
answers
10k
views
Does Linux support audio output via USB?
Several small integrated amplifiers exist with a USB input line.
The ones I have seen so far ship with Windows and OS X drivers.
Does Linux support audio output via USB out-of-the-box?
Update
It ...
4
votes
2
answers
5k
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 ...
4
votes
2
answers
14k
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 ! ...
4
votes
2
answers
6k
views
Ubuntu and XFCE: unmute sound
I've installed XFCE for Ubuntu and use it as my default X session.
After this change some sound problems appeared:
I can mute sound with alsamixer or with hotkey on a keyboard.
But just reenable it ...
4
votes
1
answer
3k
views
How can two applications read from the same (digital) sound input in Linux/ALSA?
I have a sound card with an AES/EBU input port that I want to access with two applications simultaneously. I want to record the input to a linear WAV file in real-time while also streaming it through ...
4
votes
2
answers
3k
views
Playing mp3 in quodlibet displays "GStreamer output pipeline could not be initialized" error
I'm running Debian testing x64 with all updates. I install quodlibet 2.4 from the repository and added mp3's to my library. When I play them, however, I receive an output error:
GStreamer output ...
4
votes
1
answer
406
views
ALSA not playing sound over speaker
I have an application that sends voice packets of PCM data from one node to another. The program also plays a wav file at the startup. The wav file is heard but none of my audio. I added the following ...
4
votes
1
answer
14k
views
No sound on Arch Linux (ALSA)
Output of aplay -l
aplay: device_list:268: no soundcards found...
output of sudo aplay -l
**** *List of PLAYBACK Hardware Devices* ****
card 0: Intel [HDA Intel], device 0: ALC662 rev1 Analog [...
4
votes
1
answer
4k
views
Getting an ALSA program (ChucK) to work with Pulseaudio?
Moving a previous answer to this topic; formulated as a question, it would be:
I'm using ChucK, in particular chuck.alsa, to implement a Command line multitrack audio looper for Linux.
...
4
votes
1
answer
2k
views
arecord: Create large (7 days) audio recording
For a scientific experiment, we're trying to create a large (7 day) audio recording using arecord from alsa on a RasPi using a USB microphone. The pipeline for the recording is as follows:
arecord -f ...
4
votes
1
answer
4k
views
How do you get the Intel 82801JI on-board audio to work in Ubuntu Karmic 9.10?
I have a Dell Precision T3500 with the following audio device from lspci -v:
00:1b.0 Audio device: Intel Corporation 82801JI (ICH10 Family) HD Audio Controller
Subsystem: Dell Device 0293
...
4
votes
0
answers
844
views
Getting openal audio on nvidia hdmi
I want to get programs that use openal to send sound over the hdmi output of my nvidia card by using alsa libraries directly.
Here’s my configuration :
root@localhost /root % cat /proc/asound/cards ...
4
votes
1
answer
1k
views
5.1 Surround sound will not keep its configuration
in pavucontrol I have my output set to Digital Surround 5.1(IEC958/AC3)
When I open a video with VLC (my preferred option) OR GNOME Media player I hear no sound.
VLC is configured to use pulseaudio ...
4
votes
0
answers
4k
views
ALSA buffer xrun when recording with ffmpeg
Is there any way to increase the ALSA buffer size?
When running this command:
ffmpeg -f alsa -ac 2 -i hw:1 -ar 44100 -b 64k output.mp3
I get a "ALSA buffer xrun" before my system locks up
Input #0,...
4
votes
1
answer
1k
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 ...
4
votes
1
answer
3k
views
ALSA: Audio playback is clipped and has low volume
I'm hoping that someone can help me debug my audio problems.
The problem is that audio playback is clipped and has low volume.
The details of my setup are as follows:
Arch Linux 3.1.3-1
An onboard ...
3
votes
2
answers
37k
views
How to configure PulseAudio to input/output via ALSA?
How do I configure PulseAudio to use only a single ALSA device for input and output?
The default PulseAudio configuration causes PulseAudio to open all ALSA devices when it starts. This makes it ...
3
votes
2
answers
2k
views
Turning speaker beep off by alsamixer permanently
Debian 7, x64.
I can turn off the beep by reducing Speaker bar volume in alsamixer to 0.
However, after reboot speaker volume in alsamixer is set to 100% again.
How can I turn off speker beep ...
3
votes
1
answer
3k
views
Change volume from bash
I got this far (from .bashrc):
alias i="amixer -c 0 -- sset Master playback +1dB"
alias d="amixer -c 0 -- sset Master playback -1dB"
alias v4="amixer -c 0 -- sset Master playback 40%"
alias v8="...
3
votes
2
answers
8k
views
Restore sound configuration
After install some packages, I don't have sound! I installed Rosegarden, VMPK (piano software), Drumstick Virtual Piano and TiMidity. At the beginning, all works fine, but when I reset my PC, I don't ...