Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
The results are in! See what nearly 90,000 developers picked as their most loved, dreaded, and desired coding languages and more in the 2019 Developer Survey.

Questions tagged [audio]

Questions about audio hardware and software in Linux and other UNIX operating systems.

1
vote
0answers
9 views

How to randomly sample a subset of a song on command line

From the command line, I'd like to play a audio clip, or random subset of a song, eg, seconds 5 - 10. This does not seem to be a feature of paplay or mpg123, the two programs I've been using. ffmpeg ...
1
vote
0answers
15 views

Linux audio loopback: Multichannel to stereo (for OBS usage)

I am using the RME Fireface 802 to record a stereo signal for my stream, but unfortunatly OBS won't accept Multichannel audio that contains more than 8 signals. So, since OBS doesn't like my ...
1
vote
0answers
52 views

Ubuntu 18.04 sound failed on Thinkpad

Since several days ago (something automatically upgraded), I get no sound out of my Lenovo Thinkpad 470s laptop model 20HFCTO1WW with Ubuntu 18.04. I tried several things other similar threads ...
0
votes
0answers
16 views

Force stream order in ffmpeg (via mpv)

What is the preferred way to force ffmpeg (via mpv) to order the streams with video first and audio second? Wrong stream order can result in playback problems or certain sites rejecting the webm for ...
1
vote
0answers
44 views

ALSA mono configuration not working

I installed a new PCI based soundcard in my PC. It has 8 S/PDIF based I/O pairs with each line numbered 1 to 8 for input as well as output. And I'm trying to use input lines 3, 5, 7 for input (mics) ...
0
votes
1answer
54 views

Using and configuring ALSA plugins dmix and dsnoop for stereo play and capture

I installed a new PCI based soundcard in my PC. It has 8 S/PDIF based I/O pairs with each line numbered 1 to 8 for input as well as output. And I'm trying to use lines 3-8 for input (mics) and 3-8 for ...
-2
votes
0answers
31 views

Speakers not detected on Kali 2019

I've installed Kali 2019 and I have a problem with my speakers. I have dummy device and I can have sound from my monitor which use HDMI/DP3 but I also have my speakers connected with normal jack to my ...
2
votes
1answer
38 views

How to see what is using sndiod / audio devices

When running mpc play, after it previously running fine and then opening some browsers, which likely try to play sounds, I receive the following error: Failed to open "sndio output" [sndio]; Failed ...
0
votes
1answer
17 views

How to choose between sound outputs without unplugging hardware?

I am currently running the following: 4.15.0-46-generic GNU/Linux Distributor ID: LinuxMint Release: 19.1 Codename: tessa I have my headphones plugged into their dedicated port, however, I ...
1
vote
0answers
45 views

No HDMI audio on Linux Mint 19.1 with kernel 4.4

I work with Linux Mint 19.1 installed on thin clients. But I had a problem with the kernel 4.15 (VoIP connected on an Ethernet port doesn't work correctly) so I changed the kernel to 4.4 to solve ...
1
vote
0answers
17 views

No sound with debian, xmonad and pulseaudio

I am using debian 9 with xmonad, and one time after rebooting -- no sound. When I run speaker-test && pavucontrol, I see that the sound is output to the built-in speakers, but I can't hear ...
0
votes
0answers
41 views

Pulseaudio loses USB DAC as default sound output when booting

Context I am using a USB DAC as the default pulseaudio sound output for my machine under Debian 9. The problem is, sometimes, the default output is lost and switched back to internal chipset, which I ...
0
votes
1answer
28 views

Simple way to connect midi keyboard to pulseaudio without using Jack

I need a simple way to connect the midi keyboard to pulse audio and leave it active. ( i'm not worried about low latency.) So far, I've looked at Ted's Linux MIDI Guide and followed all of that, but ...
0
votes
1answer
33 views

Sound doesn't work after migrating archlinux32 to new hardware

After changing a hardware and booting up same operating system(archlinux32) on it the sound doesn't work at all. On old hardware it worked well. When migrated: Booted up a live ISO Ran mkinitcpio -p ...
0
votes
0answers
39 views

How to enable HDMI audio with Nouveau?

Nouveau claims HDMI audio support is done for recent cards, including my 980 Ti. How do I enable it? PulseAudio knows about it: $ pacmd list-sinks 3 sink(s) available. index: 1 name: <...
1
vote
2answers
65 views

How can I read out a text file?

I want to convert text in file a.txt to sound & play it using APLAY. any suggestions please?
0
votes
0answers
6 views

Can't use monitor audio KDE neon

I can't use the monitor audio even though I have them on audio devide recognized on audio settings. Is there anything I can do to make it work? I'm using the last version of KDE neon user edition ...
1
vote
2answers
99 views

No sound with headphones in Linuxmint 19.1

There is not sound anymore in my headphones (jack connection) even though it used to work. During my last session, I did quite a lot of tweaks on my installation, so far, here is what I could ...
0
votes
1answer
79 views

LinuxMint 19.1 Tessa does not play sound in the default device

I connected my TV to my laptop using HDMI for a movie and the audio was still playing from the laptop. So, I changed the sound device to the TV and sound got played from TV - All good. And then, I ...
2
votes
0answers
35 views

Firefox has stopped outputting HTML5 audio

Firefox 65.0.1 (64-bit) has suddenly stopped playing all HTML5 audio. (Videos play but there is no audio output.) Audio still works in Flash applications and HTML5 audio works as expected in other ...
0
votes
0answers
7 views

Darkice with two soundcards?

I have my live stream running, under the following configuration: PC1: Ubuntu 14.04 running darkice, which sends the audio to my shoutcast server. It gets the source from the mic input on the ...
0
votes
1answer
20 views

Is it possible to run pulseaudio in a Raspberry Pi 3 Model B running Arch Linux without any graphical environment?

I have a Rapberry Pi running Arch Linux ARM without any graphical environment. I want it to play a song every morning. I have pulseaudio installed. But when I use paplay, I get an error: paplay ...
0
votes
1answer
29 views

Disable / mute internal laptop speakers

I have a pair of bluetooth headphones and they sometimes randomly disconnect causing my laptop to switch to playing music loudly over the internal speaker and distracting everyone else in the office. ...
1
vote
0answers
12 views

S/PDIF audio not working

I have been trying to get a PCIe sound card to work, analog works fine out of box, S/PDIF is recognized by Pavu but not Alsa Mixer, no TOS link light comes on, no sound ever leaves the line. How can I ...
0
votes
0answers
26 views

Command to change the port of the audio output device

Here is my machine: ,g$$$$$$$$$$$$$$$P. OS: Debian 9.8 stretch ,g$$P"" """Y$$.". Kernel: x86_64 Linux 4.19.0-0.bpo.2-amd64 ,$$P' `$$$. Uptime: 49m ',...
0
votes
0answers
11 views

Port error on Ardour

I’m running Ubuntu Studio 18.10. In Ardour 5.12,.0-3. connecting to Jack, or ALSA, when I close a project then try to open another one, I get an error message that says “unable to create port: failed ...
0
votes
0answers
88 views

HSP/HFP not working

I´m trying to use my bluetooth headset on my laptop on arch. I got it connected and am able to listen to music using A2DP. But trying to use it as a headset I don´t get any input nor output working ...
0
votes
0answers
35 views

How do I get snd-usb-audio to detach from a device?

Context I'm working on a reverse-engineered controller for an Arturia AudioFuse over at https://github.com/rhofour/audiofuse-cli that uses libusb (through pyusb). I'm able to find the device, detach ...
1
vote
1answer
243 views

Sound on Dell XPS 9570 only works on headphones

I have a Dell XPS 15 9570 and it's great, except that no sound comes out of the speakers. Weirdly enough it works just fine out of headphones! Just the built-in speakers are the problem. Everything I ...
1
vote
0answers
140 views

Setting different per-device sampling rates in pulseaudio?

My Audio Devices Input: Logitech C310 webcam mic (16kHz) Output: Sony MBH20 Bluetooth headset (44.1kHz) in High Fidelity Playback (A2DP Sink) mode My Problem With the default PulseAudio settings, ...
3
votes
0answers
295 views

Fedora 29, Intel HD audio, no sound from speakers or headphone jack

I am using Fedora 29 and am not able to get any sound out of my machine. As far as the operating system is concerned (when using alsamixer, pavucontrol, etc.) sound should be working, nothing is muted ...
0
votes
1answer
39 views

Running LINUX Mint 18, have an spdif out sound card--no audio

BRAND NEW LINUX USER: Mint sees my digital audio out (Digital Output S/PDIF is in the "play sound through" list) when I access the sound app. I choose that option and I get the test pop up. But the ...
0
votes
0answers
26 views

How can I fix garbled sound on a Creative X-Fi card on Mint 19?

I just updated from Linux Mint (Mate, 64 bit) 18.3 to 19.1. It was a clean install from the DVD, formatted drive. The sound, both in Firefox (youtube videos, etc) and from mp3 and flac files in the ...
0
votes
0answers
54 views

Using ffmpeg to split an Audible audio-book into chapters?

I've been following this answer to use ffmpeg to convert and play some of my Audible audio-books in LinuxMint. Each book is a single source-file, but I've noticed that ffmpeg lists all the chapters ...
1
vote
0answers
27 views

Systemd service kills sound

I have a systemd service that I need started and it attaches to the sound device. The problem I’m having is that it always seems to start before sound and then once I login as a user and look at my ...
1
vote
0answers
50 views

Headphones recognised but produce no sound on antergos

Recently I installed Antergos-19.1 on my HP Omen laptop. Speakers work, but when I plug in headphones to audio jack, there no sound is produced at all. The output of the command pactl list sinks |&...
0
votes
0answers
30 views

Where can I find the scripts binded to the lower volume / increase volume and brightness media keys?

When I press the media key on my keyboard to increase the volume (or the brightness, for example) a script is run and the volume is increased as expected. Where are those scripts located in the OS? ...
0
votes
0answers
87 views

How to send sound to HDMI port in i3

In other DEs I am able to select between three different sound output media: Headphones jack Internal speakers HDMI port In i3 the sound output shifts automatically between headphones and internal ...
0
votes
1answer
34 views

Alsamixer not identifying audio output

I've map a keyboard combination to execute the command amixer sset Master 4%+ and it does nothing. I plug my headset via the jack 3.5 port and in pavucontrol/Pulseaudio I can control de volume but ...
2
votes
1answer
24 views

Sox format for stream with sample spec 's16le 1ch 16000Hz', channel map 'mono'

I'm trying to pipe audio to sox and I get Error "sox FAIL formats: bad input format for `-': sampling rate was not specified" parec -d alsa_output.pci-0000_00_1b.0.analog-stereo.monitor --rate=...
2
votes
0answers
87 views

Debian 9 Stretch 3.5mm jack not working

Recently, I installed Debian 9 Stretch (dual booting with windows 10 using grub). Everything works fine for now, except my headphones. The PulseAudio 'Volume Control' interface detects my headphones ...
0
votes
1answer
83 views

SoX - mixing two audio tracks but looping/repeating only one

I have two audio-files and want to mix them with SoX using the -m, --combine mix option. Both files have the same bpm, but not the same length, meaning I need to loop one file, but not the other. ...
0
votes
1answer
40 views

Loop audio file from the command line (gapless) or into new file

The only command line solution for gapless playback I found so far (working with ALSA and JACK) is moc (»music on console«). While I'm still searching for a simpler way I was wondering if it is ...
1
vote
0answers
42 views

audio not working on debian stretch

I'm running debian stretch on sony VPCSA36GG and the audio mostly doesnt work. It would randomly start working on restarting the laptop (its rare tho). Note that I had the same problem when I has ...
0
votes
0answers
24 views

gst123 - select alsa device for playback with external USB soundcard

I'm truing to get my audio played back by an external USB device, using the GStreamer based command line media player gst123 which comes with the option: -a, --audio-output=<driver>[=<dev>...
0
votes
0answers
17 views

Possible bad install of alsamixer utility

Kernel version: 2.6.35.14 running (embedded) on an ARM MCIMX51. The system is rather outdated and old (ASoC). I am getting odd behavior with sound. I already defaulted asound config file (asound.play) ...
0
votes
0answers
55 views

Alsamixer-Equalizer with Kodi, HifiberryAmp+ and Raspi does not work

I am using a Raspberry Pi with Kodi and a HifiBerry Amp+ as a stereo. Everything works great so far, but I am lacking the possibility to use an equalizer to adjust bass and treble. I want to use ...
1
vote
0answers
218 views

No Sound Through HDMI

The problem I have is there is no sound on the HDMI port. I get video, but no sound. aplay -l **** List of PLAYBACK Hardware Devices **** card 0: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0] ...
0
votes
1answer
38 views

Microphone not showing up in Audacity

The mic is visible in "PulseAudio volume control". It is not muted and volume is at 100%. I can see it picks sounds. It is also visible in arecord: $ arecord -l | tail -n 3 card 3: Microphone [Trust ...
0
votes
0answers
31 views

Noise in beginning of alsa application

I have ALSA driver for capture device which works fine with VLC. when I try to capture and render using own application having some issues. Issue is:When I start play, it has some noise in beginning ...