Skip to main content

Questions tagged [alsa]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
60 views

AWS Ubuntu 24 - Module snd-aloop not found in directory

I am using Ubuntu 24.04 and I am not able to use Alsa with it. I am trying to create a loopback device but I receive the following message. sudo modprobe snd-aloop modprobe: FATAL: Module snd-aloop ...
Dhairya Verma's user avatar
0 votes
0 answers
54 views

ALSA errors and stutter when using espeak

When I execute $ espeak test I sometimes get these errors and stutter in playback, things that I notice sometimes fix it are: rebooting unplugging and plugging back in the usb connection for my dac ...
phenivol's user avatar
0 votes
0 answers
101 views

Set default headphone output level on boot

I have a headless Raspberry Pi running Debian that's used as an audio player. I'd like to boost the output of the headphone device at boot time. I've found the command amixer --card 1 sset 'PCM',0 0 ...
Lance Berc's user avatar
0 votes
0 answers
194 views

How to keep Ledfx and Moode Audio from blocking audio output device

I have a Raspberry Pi with a Hifiberry Amp4 that runs Moode Audio OS. If I pick Pulse as they audio device in LedFx and play a sound file with aplay sound_file.wav my leds react to the music. The ...
gatorreina's user avatar
0 votes
0 answers
271 views

Configuring ALSA using loopback to output audio through both audio jack and program simultaneously

I’m having a lot of trouble configuring ALSA and loopback on my system [ubuntu 22.04]. I want to combine the headphone and loopback streams so that when I play any audio, I can hear it from the audio ...
user121212's user avatar
0 votes
1 answer
538 views

Change Default Master Volume Control to "PCM" in alsamixer on Linux Mint

I am running Linux Mint and whenever I use my system's hardware volume controls (e.g., volume up/down buttons), it adjusts the "PCM 1" level in alsamixer. However, I want it to adjust the &...
wehnsdaefflae's user avatar
3 votes
1 answer
5k views

How do you set the default sound device at the shell prompt in pipewire?

Related to this question and this question but with Pipewire not pulse audio (unless it is the same, but pacmd doesn't work): How do you set the default output device (the radio button below) at the ...
KJ7LNW's user avatar
  • 438
1 vote
1 answer
244 views

Error listening to audio on davinci resolve

I am getting these errors when trying to listen to audio on davinci resolve 18 on Debian. ALSA lib pcm_dmix.c:972:(snd_pcm_dmix_open) The dmix plugin supports only playback stream This is the ...
owen's user avatar
  • 11
1 vote
0 answers
740 views

No sound issue in Zorin OS 16.2

I've installed Zorin OS to try it out because it's based on Ubuntu and I like the interface and other things in it but I have a problem. My sound card is recognized by Alsa and activated but I have no ...
Tanguy C's user avatar
4 votes
1 answer
14k views

OBS studio won't record audio only

I wanted to record only audio with OBS Studio. So I have created a new scene and added just Audio Capture Device (ALSA). Then I clicked on the Start recording...button. It recorded both screen and ...
Juandev's user avatar
  • 178
1 vote
0 answers
569 views

Buffer xrun in Alsa while ffmpeg streaming from certain sources

I am broadcasting the audio of my desktop PC (client here onwards) using the Pulseaudio RTP module: load-module module-null-sink sink_name=rtp_2_camilla channels=2 format=S16BE rate=96000 ...
Kerem Basaran's user avatar
0 votes
1 answer
442 views

Is there a way to control xfce-pulseaudio-plugin (pavucontrol) with command line?

Trying to setup media control shortcuts in Xfce (Play/Pause, Next track). I have xfce-pulseaudio-plugin which use pavucontrol. Is there a way to switch tracks via pavucontrol command line interface? ...
Pavel Trufanov's user avatar
0 votes
1 answer
852 views

Mono audio output with pulseaudio and alsa on embedded system

I am running an embedded system using pulseaudio and alsa. I need to downmix all audio inputs to a single mono output. I have seen other answers that involve modifying /etc/pulse/default.pa like the ...
Christopher Vollo's user avatar
0 votes
0 answers
2k views

I can't make my microphone work after switching to pipewire

I have just upgraded from kubuntu 22.04 to 22.10 , wich includes also pipewire as default. Now the microphone is behaving funny. Sometimes it doesnt pick audio at all, sometimes it stutters like crazy,...
Ceccoclat's user avatar
  • 329
0 votes
1 answer
2k views

Cannot get vlc to stream correctly through command line

I use the following command: vlc -I qt myfile.mp4 #standard{access=http,mux=ts,dst="8080/stream"} :sout-all :sout-keep and my error log is the following: VLC media player 3.0.16 Vetinari (...
Antonin GAVREL's user avatar
2 votes
0 answers
313 views

Really loud sound input on PopOS 22.04 on an old Positivo Sim+ laptop

My laptop (Positivo Sim+) is really old, but I never complained about audio input quality when I used Linux. Some BSODs later and a miraculous fix, I got my laptop again and installed Linux on it ...
Rafaelplayerxd YT's user avatar
0 votes
1 answer
346 views

alsamixer / amixer cannot control USB sound card (Tascam US4x4)?

I bought used TASCAM US4x4 It just works - and that is great. There're some issues: - cracking noise during CPU / IO intensive tasks running on PC - a glitch on first use in every session but these I ...
darkdiatel's user avatar
2 votes
2 answers
2k views

recording and monitoring Line In on Debian using alsa/amixer(/jack?), SB Audigy2 card

NOTE!!!!!! I'm giving up on solving this (at least temporarily) Installed another Audigy 2 - with an external unit. 2 out of 3 inputs work, but they are named incorrectly and there're problems with ...
darkdiatel's user avatar
1 vote
1 answer
544 views

Audio Device busy from service on systemd vs command line

A specific issue for me is using snapclient on a raspberry pi. I have snapclient running alongside a voice assistant. If I start snapclient using command line sudo snapclient -h 192.168.x.xxx -s 3 --...
Sip's user avatar
  • 11
-1 votes
1 answer
2k views

No Sound in Kali Linux 2021.4 on [ASUS TUF B560M Plus]

Hello I fresh installed Kali linux 2021.4 but it has no sound, [It was working on Windows] However I tried some stuff suggested by community: Added Following Lines in .bashrc pulseaudio -D clear ...
Gaming World's user avatar
0 votes
0 answers
53 views

After Linux OS upgrade audio is 20% quieter - how to get back to previous level?

I just upgraded my OpenSUSE OS and the volume output is not as high as before. I would say it's 20% quieter compared to before the upgrade. I'm guessing its a matter of selecting the right option for ...
riccs_0x's user avatar
  • 111
2 votes
0 answers
1k views

Python: How do I use alsa 'devices' like hw:0,0 and hw:1,0 in amixer to set the output volume?

I'm using subprocess.call commands like: aplay --device=plughw:1,0 test.wav aplay --device=plughw:0,0 test.wav to play sounds on my headset or speakers, and that works fine. I'm deriving the above ...
wpns's user avatar
  • 196
0 votes
1 answer
1k views

What is the PulseAudio virtual sink name for ALSA snd_pcm_open()

I loaded a PulseAudio module-null-sink, when I set it as system default output device, the ALSA snd_pcm_open(&pcm_handle, "default", SND_PCM_PLAYBACK, 0) can successfully open it. Now I ...
Alex Lau's user avatar
1 vote
0 answers
375 views

Linux ALSA intel_hda_snd on Celeron J4115

first of all thank you for the attention. I already uploaded info about my cconfiguration in the following link http://alsa-project.org/db/?f=10a60835f6027cf2e6eb06a319895739f2cccd34 The PC is a ...
skyglow's user avatar
  • 11
0 votes
0 answers
51 views

Only one side of my headphones works

The distro I'm using is Arch, and my headphones are Sony's WH-H910N model. These headphones are connected by a jack rather than using bluetooth, and they work properly with or without this jack on ...
metty's user avatar
  • 1
0 votes
1 answer
456 views

Accesssing, reading and writing other user's file and directory as my own

There are other answers like: centos - Linux: Create a user than can access other users' files - Super User, but they don't talk about accessing those files from GUI application. My question is more ...
Porcupine's user avatar
  • 493
1 vote
1 answer
1k views

Understanding ffmpeg recording input types from devices

Using pactl, I get the following sinks: pactl list sinks short # 0 alsa_output.pci-0000_00_1f.3.analog-stereo module-alsa-card.c s16le 2ch 44100Hz SUSPENDED Since there's but ...
eltbus's user avatar
  • 113
1 vote
1 answer
837 views

Capturing audio on a cloud VM (Debian)

I've followed a bunch of guides regarding ALSA, Pulseaudio, JACK, etc., but none have seemed to work. I'll be specific with what I'm trying to do. On a cloud-based Debian VM, I want to: Open a stream ...
Arthur Sommers's user avatar
2 votes
0 answers
2k views

VMWare no sound

I have Debian Buster amd64 installed as guest in VMWare Fusion on Big Sur host. My problem is, I do not get any sound. Sound output in principal should work (I also have a Win7 guest with working ...
dexamenos's user avatar
0 votes
1 answer
45 views

How can I be sure that my auido isn't down sampled?

I want to play audio without downsampling or without any resampling? How can I do that? My audio files are 192kHz and 32 bits. I wan to play those music files without losing quality. My DAC supports ...
Enes Doğan's user avatar
1 vote
0 answers
431 views

Sound not working on Alfawise X5 with Linux Kernel 5.4.0-60-generic

I have an Alfawise X5, which has two sound devices installed, one is HDMI sound delivered by the Intel Atom X5-Z8350 processor (a system on a chip, Cherry Trail series), and a headphone jack that ...
Bernd Wechner's user avatar
2 votes
1 answer
5k views

Pulseaudio loopback into headphones

I have headphones and a mic attached to my computer. My headphones are tight and block out external noise far too well, and so I find myself shouting at the mic. Is there any way of setting up ...
user208769's user avatar
0 votes
1 answer
1k views

Redirect arecord output and send it with netcat

I am trying to redirect sound from a microphone from one computer to another in my local network. I did following to achieve that In one terminal: arecord -t raw -c 2 -f S16_LE -r 48000 | nc -u #...
nmd_07's user avatar
  • 235
0 votes
0 answers
113 views

ALSA snd_pcm_hw_params_any crashed when auto-run from startup script

I downloaded the ALSA sample source codes (https://gist.github.com/ghedo/963382) and test running under putty window, it works. However when put into the startup script (eg. rc.local) with or without &...
runningdog's user avatar
1 vote
0 answers
892 views

how to use alsa device hw:0 on xubuntu

I have an audio processing sw designed to use alsa's hw:0 device. On my xubuntu machine I get the same error as this command line: $ aplay -D hw:0 440.wav aplay: main:830: audio open error: Device or ...
mastupristi's user avatar
1 vote
0 answers
41 views

Audio not playing in an application with setreuid() & setgid(), but works with sudo -u command

I have a Arch Linux system with alsa and pulseaudio configured. alsa is set to use pulseaudio default device. Pulseaudio is rumming with tcp module enabled on 127.0.0.1 and anonymous set to true. The ...
Anirban's user avatar
  • 131
1 vote
0 answers
3k views

Is there a way to improve sound quality in Linux?

Total noob here, I did do some research before posting this question here, been using Linux since long and not satisfied by the audio quality that the Windows Counterpart provides (proprietary Dolby ...
Sonia Anderson's user avatar
1 vote
0 answers
986 views

Clone sound from Chromium to ALSA Loopback and also speakers

I have working setup on my RPi3 B+ with Raspbian where is sound from Chromium browser send directly to ALSA Loopback device (enabled by modprobe snd-aloop as kernel module) by this Chromium's ...
Rohlik's user avatar
  • 63
1 vote
1 answer
3k views

How could I find out what sample rate/bit depth my headphones are capable of?

I'm using some USB headphones (Sennheiser GSP 350) and want to make sure that I am using the highest sample rate and bit depth possible for them. I ran pacmd list-sinks and it said that I'm using 16 ...
UnicornsOnLSD's user avatar
0 votes
1 answer
2k views

No audio devices under linux

I'm using Fedora 32, but the issue started from version 31: I simply do not see any sound device under Settings -> Sound.1 These are the outputs from commands I have seen requested on the internet ...
Keizer's user avatar
  • 1
0 votes
0 answers
603 views

Audio recording from two audio input and playing in 2 audio output simultaneously and real time

I have one Linux Machine with 2 USB speakers and a mic system. I want to record simultaneously from one mic and play in another speaker. Like, MicA recording will be played in SpeakerB and MicB ...
Dwitam Ghosh's user avatar
1 vote
1 answer
4k views

ALSA setting microphone levels

I have an USB handset that I am trying to record from and depending on settings I want to mute the device. The only controls that amixer provides is: amixer -D hw:1 Simple mixer control 'PCM',0 ...
Tony's user avatar
  • 141
1 vote
0 answers
440 views

ALSA/Pulse connect to microphone alias for remapping channels

I'm using Manjaro Linux, and I have a mono USB microphone that ALSA treats as stereo (It identifies it as a Q1U dynamic microphone, but it is a different mic that clearly uses the same DAC), with the ...
Myk Dowling's user avatar
0 votes
0 answers
119 views

Phantom jack detected in front panel

On my PC, dual boot (Windows, Linux) I have an annoying problem: from time to time (like every 15 seconds) my system(both windows, and Manjaro) detect the insertion of jack in the front panel. It also ...
rebellion's user avatar
2 votes
0 answers
4k views

"Non-monotonous DTS in output stream" when capturing video with ffmpeg

I'm trying to capture VHS video on Linux using a new USB capture device and FFMPEG.  I'm able to successfully capture either only audio (using Alsa), or only video (using v4l2) but when I try to do ...
Carini's user avatar
  • 31
4 votes
1 answer
423 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 ...
Tony's user avatar
  • 141
0 votes
1 answer
704 views

Issue with Bang & Olufsen speakers on Kubuntu 19.10

First of all, I am aware that this problem is very widespread and still hasn't been fixed, despite it being years old. I am also aware that this question is a duplicate of tens of other questions like ...
selamba's user avatar
  • 119
1 vote
1 answer
2k views

No Audio output in Linux Mint 19.2 Xfce 64x(Intel HDMI/DP LPE Audio soundcard)

I am using a fresh install on my laptop. After setup, there was no audio output and the pavucontrol app was giving me the message: Establishing connection to PulseAudio. PLease wait After hours ...
user avatar
0 votes
0 answers
98 views

How to mute only back panel audio?

I have a desktop PC where the front and the back panel are available. Usually the front is for headphone while the back for speakers. This PC's headphone detection is not working so I need to create a ...
Abdillah's user avatar
  • 141
1 vote
0 answers
309 views

no recording happens using bluez-alsa and sco profile

I am trying to record from Bluetooth headset. I have included bluez-alsa package along with my other yocto packages and compiled. when I try to arecord, the recording is not happening and a sound or ...
ASN's user avatar
  • 11

1
2 3 4 5 6