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
18 views

Why does `amixer set Master toggle` toggle both Master and Speaker?

Why does amixer set Master toggle mute both Master and Speaker? (or, if you have headphones plugged in, it will mute both Master and Headphones). Yet, when you run it again, it will not unmute both; ...
user avatar
  • 2,305
0 votes
1 answer
28 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 ...
user avatar
0 votes
0 answers
29 views

POP OS - Laptop speakers and headphone are both controlled by headphone volume

Not sure of the exact model of the laptop. It's an old HP ProBook from 2010ish. Came with Windows 8. Audio worked as expected out of the box. Then, I tried to install JACK to try some DAW stuff, and ...
user avatar
0 votes
2 answers
404 views

No sound from internal speakers on laptop, but headphone jack and HDMI works

I just bought an ASUS Zenbook 14, model UX3402. It came with Windows 11 installed, and sound output works perfectly on Windows. I installed Ubuntu 22.04 on it, and everything works except for the ...
user avatar
  • 115
2 votes
2 answers
138 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 ...
user avatar
0 votes
0 answers
32 views

Alsa config. Use desktop sound as input

Applications in videos or demos do not produce sound. Only the microphone works and the output from it to 3.5-jack. How to set sound output from applications as a device? Or combine output with ...
user avatar
  • 1
0 votes
0 answers
43 views

Zoom H4n Is Detected but No Audio Data

I have a Zoom H4n field recorder which I use as a pre-amp for a condenser mic. It's an older unit, purchased in 2010, and enumerates as a USB 1.1 Full-Speed (12Mb/sec) isochronous device. The unit ...
user avatar
  • 519
0 votes
0 answers
59 views

USB speakers only work when 3.5mm headphones are also plugged in

This is a weird one. On Ubunut 12.10 I have been using these USB speakers without issue for sometime. ~ #> lsusb | grep Z Bus 005 Device 004: ID 046d:0a4c Logitech, Inc. Logi Z407 Recently I ...
user avatar
  • 1,900
0 votes
0 answers
25 views

Audio is not working properly

I have a fresh installation of Debian 11. I am having some trouble configuring the sound input and output.I have two output devices(HDMI speakers,and a headset 3.5 jack) and one input microphone built ...
user avatar
  • 1
1 vote
0 answers
24 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 --...
user avatar
  • 11
0 votes
0 answers
54 views

How to record second application audio to another track by using ffmpeg?

By following that link, I managed to record one application sound but sudo modprobe snd-aloop command creates only one loop back sound card so I can not record second application sound to another ...
user avatar
-1 votes
1 answer
627 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 ...
user avatar
0 votes
0 answers
91 views

HP Spectre x360 13-aw2000sf - No sound/input devices detected (Ubuntu 21.10)

I'm on Ubuntu and my computer can't detect the internal speaker and microphone. The only output detected is the Headphone Jack. When I connect a Bluetooth devices the sound work (but not the ...
user avatar
  • 1
0 votes
0 answers
64 views

correct issues of pulseaudio after upgrade?

I have upgraded a system to the latest opensuse thumbleweed version, but I have certain issues with pulseaudio. After the upgrade, the sound become more quiet, (less volume than before), and before ...
user avatar
  • 101
0 votes
0 answers
29 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 ...
user avatar
  • 101
0 votes
0 answers
292 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 ...
user avatar
  • 166
0 votes
1 answer
268 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 ...
user avatar
1 vote
0 answers
77 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 ...
user avatar
  • 11
0 votes
0 answers
26 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 ...
user avatar
  • 1
0 votes
1 answer
87 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 ...
user avatar
  • 341
1 vote
1 answer
146 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 ...
user avatar
  • 113
1 vote
1 answer
65 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 ...
user avatar
1 vote
0 answers
438 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 ...
user avatar
0 votes
1 answer
21 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 ...
user avatar
1 vote
0 answers
212 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 ...
user avatar
2 votes
1 answer
1k 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 ...
user avatar
0 votes
1 answer
373 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 #...
user avatar
  • 205
0 votes
0 answers
40 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 &...
user avatar
1 vote
0 answers
325 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 ...
user avatar
1 vote
0 answers
22 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 ...
user avatar
  • 131
1 vote
0 answers
1k 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 ...
user avatar
1 vote
0 answers
433 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 ...
user avatar
  • 63
1 vote
1 answer
597 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 ...
user avatar
0 votes
1 answer
267 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 ...
user avatar
  • 1
0 votes
0 answers
103 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 ...
user avatar
1 vote
1 answer
2k 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 ...
user avatar
  • 141
1 vote
0 answers
204 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 ...
user avatar
0 votes
0 answers
36 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 ...
user avatar
2 votes
0 answers
2k 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 ...
user avatar
  • 31
4 votes
1 answer
141 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 ...
user avatar
  • 141
0 votes
1 answer
567 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 ...
user avatar
  • 119
1 vote
1 answer
1k 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
43 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 ...
user avatar
  • 141
1 vote
0 answers
212 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 ...
user avatar
  • 11
2 votes
0 answers
3k 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 ...
user avatar
1 vote
0 answers
162 views

Alsa external io plugin not working with pulse aludio

I am developing ALSA plug-in based on ALSA PCM External Plugin SDK. Plug-in is source plug and has to convert PDM signal from microphone input to PCM used by Linux. I have succeeded to compile it ...
user avatar
2 votes
1 answer
1k views

Difference between alsamixer and amixer's output about the percentage of Master

I'm trying to write a bash script to find the percentage of the sound volume. I used this: amixer get Master | awk '/Mono.+/ {print $6=="[off]"?$6:$4}' This command prints the volume percentage of ...
user avatar
0 votes
1 answer
1k views

How to get alsa dummy soundcard on debian in Docker

I am trying to configure a dummy sound card in a Debian docker container. Unfortunately the documentation I find on the internet is incomplete and old. I was mainly looking at this post on reddit and ...
user avatar
0 votes
1 answer
833 views

No master in alsamixer

I have problem with sound in Arch Linux; alsamixer worked well for one month. Then after a reboot, I can't find Master and other controls. Here is a screenshot: I installed Xubuntu and the sound ...
user avatar
  • 1
0 votes
0 answers
124 views

Pulseaudio device name changes

I would like to set my default sink/source in pulseaudio but the name constanly changes. It's either alsa_input.pci-0000_00_1f.3.stereo-fallback or alsa_input.pci-0000_00_1f.3.analog-stereo and ...
user avatar
  • 135

1
2 3 4 5 6