Questions tagged [alsa]
Advanced Linux Sound Architecture (ALSA) provides audio and MIDI functionality to the Linux operating system.
271
questions
0
votes
0
answers
217
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 &...
0
votes
0
answers
45
views
How to reroute line-in of one sound card to line-out of another one on LINUX
Well, what the title says. I want to reroute the line-in (mic) of an on-board soundcard, to the line-out of a USB-connected one - ON LINUX. I have tried with JACK2 and jack_connect but I think it ...
0
votes
0
answers
347
views
VLC can't play audio from capture device
I bought HDMI to USB Video Capture and used it on Ubuntu
when i try to play from capture device using VLC the video play with Error regarding audio , after checking the VLC log i found the following:
...
2
votes
1
answer
2k
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 ...
0
votes
0
answers
148
views
How do you set the sound device's "profile" at the shell prompt?
When my displayport monitor goes to sleep, Pipewire forgets the profile for the selected HDMI port audio and falls back to a different HDMI output:
How it is:
How I want it:
Notice how it says "...
0
votes
0
answers
160
views
I am receiving errors trying to record both audio and video using libcamera-vid and libav on a PiZeroW running no GUI and headless
I had video working fine, but when I add audio recording I run into lots of trouble. The first set of problems deal with finding format combinations that work. The second set ig giving me trouble ...
1
vote
1
answer
183
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 ...
1
vote
0
answers
548
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 ...
2
votes
1
answer
3k
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 ...
1
vote
0
answers
358
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 ...
0
votes
1
answer
311
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? ...
0
votes
1
answer
571
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 ...
0
votes
0
answers
956
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,...
0
votes
1
answer
1k
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 (...
2
votes
0
answers
248
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 ...
0
votes
1
answer
295
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 ...
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 ...
1
vote
1
answer
413
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 --...
-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
...
0
votes
0
answers
50
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 ...
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 ...
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 ...
1
vote
0
answers
339
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 ...
0
votes
0
answers
39
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 ...
0
votes
1
answer
368
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 ...
1
vote
1
answer
656
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 ...
1
vote
1
answer
627
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 ...
1
vote
0
answers
1k
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 ...
0
votes
1
answer
40
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 ...
1
vote
0
answers
395
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 ...
2
votes
1
answer
4k
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 ...
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 #...
0
votes
0
answers
78
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 &...
1
vote
0
answers
821
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 ...
1
vote
0
answers
32
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 ...
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 ...
1
vote
0
answers
865
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 ...
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 ...
0
votes
1
answer
1k
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 ...
0
votes
0
answers
539
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 ...
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
...
1
vote
0
answers
408
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 ...
0
votes
0
answers
104
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 ...
2
votes
0
answers
3k
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 ...
4
votes
1
answer
382
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 ...
0
votes
1
answer
682
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 ...
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 ...
0
votes
0
answers
74
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 ...
1
vote
0
answers
280
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 ...
2
votes
0
answers
4k
views
ALSA Error: ALSA lib pcm_hw.c:1713:(_snd_pcm_hw_open) Invalid value for card
Hey there dear community,
I have been struggling with getting a Raspberry 3b+ and microphone setup to run for a few days now, interestingly getting the same error on both projects simultaneously even ...