Questions tagged [alsa]

For questions pertaining to ALSA, the Linux sound subsystem. ALSA sits below advanced systems like PulseAudio.

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

Playback open error: -16,Device or resource busy

I have a RaspberryPi Zero W and the HifiBerry DAC. I have used it before without problems and now I have an image with samplerbox and I added the line to /boot/config.txt: dtoverlay=hifiberry-dac I ...
user avatar
  • 774
0 votes
0 answers
12 views

USB Sound Output Only Sending 16 Bit

I am using the RaspberryPi 4 running Raspbian (Debian: 10, Linux Kernel: 5.10) and have connected to my DAC (Cambridge Audio CXA61 which is a DAC/Amplifier) through USB. While playing a 24 bit, 96 kHz ...
user avatar
  • 1
0 votes
0 answers
38 views

Send audio output to Bluetooth speaker

I am working on a python script that lets raspberry pi 4 play audio announcements (mp3 format) at specified times. I am using the python os library to send the play audio commands to system. aplay -l ...
user avatar
  • 101
0 votes
0 answers
30 views

Cannot start jackd with a low period size - ALSA fails

I'm attempting to build a multi-effect guitar pedal out of a Pi-4B (8GB), and am running into problems getting jackd running with reasonably low latency. It runs fine as long as the period is set to ...
user avatar
  • 101
-1 votes
1 answer
41 views

Analog audio out when starting from /etc/rc.local

I am working on a python program that I am having some issues with. When the user presses a button a video starts playing. I need the audio to come from the analog jack. It works perfectly when I run ...
user avatar
0 votes
0 answers
90 views

Pulseaudio - No USB Sound

I have a Raspberry Pi 4 and am running the Picroft Rasbian image. Picroft uses Pulseaudio to control the audio, but I can't get it to play anything from my USB speaker. The result of pactl info: ... ...
user avatar
  • 33
0 votes
0 answers
38 views

How to config default input/output devices in ALSA config file(~/.asoundrc)?

I am trying to configure microphone and speaker for raspberry pi 4. I edited "~/.asoundrc" file like that: pcm.!default { type asym playback.pcm "plughw:0" capture.pcm &...
user avatar
  • 1
0 votes
1 answer
42 views

Set two sinks with pulseaudio

I have two raop speakers that I can stream audio to from my Raspberry pi using Pulseaudio and AirConnect. At the moment, I can set either one as the default sink and it works as expected. I would like ...
user avatar
  • 101
1 vote
2 answers
92 views

Alsa passthrough Digital In to Analog Out

I have a LogiLink USB Soundbox 7.1 connect to a raspberry pi running rasbian and I want to passthrough the input of S/PDIF In to Speaker Front. I found this: Possible to route audio directly from usb-...
user avatar
0 votes
1 answer
68 views

PCM1808 I2S arecord gets1153x too much data

I have a stock Pi 3B with all Raspbian updates. From various sources I've tried to cobble together alsa recording from an inexpensive PCM1808 device at 8K 24 bit stereo. To do this, I've used the ...
user avatar
  • 101
1 vote
0 answers
188 views

Raspberry Pi 3 B+ with Raspberry Pi OS (32 bit) screen fades out while booting

I've installed the official 7" touch screen on my Raspberry Pi 3 B+. I used the Raspberry Pi Imager to put Raspberry Pi OS (32 bit) on a SD card and while booting, the screen fades out to a black ...
user avatar
0 votes
1 answer
43 views

Is it possible to override OmxPlayer's volume in RetroPie/EmulationStation?

I have my RetroPie EmulationStation set up to be 40% volume which makes for some good game volumes on my Picade's speaker. However, for the game snaps, I cannot hear the audio at all. When I look at ...
user avatar
  • 101
0 votes
1 answer
58 views

ALSA: Why is the pitch of played sounds too low (½ the original frequency)?

I've just installed a fresh Raspbian Buster on My Raspi 3B+ together with a JustBoom DAC HAT sound card. With the old Raspbian installation, sound output went well after a couple of experiments, but ...
user avatar
  • 445
2 votes
0 answers
121 views

High-speed USB Audio Streaming

I am using a Raspberry Pi 3B+ as the USB host for an embedded device that I have configured to appear as a USB Audio 2.0 compliant microphone. I am currently using PyAudio for opening and recording ...
user avatar
0 votes
1 answer
134 views

Unable to get Qt5 audio to work using pulseaudio on Rpi 4

I'm on Raspberry pi 4 and the OS is DietPi I configured ALSA so I could play an audio file successfully through HDMI using aplay [an audio file] Then launched the PyQt5 app but got PulseAudioService: ...
user avatar
  • 1
0 votes
0 answers
26 views

simultaneous audio playback is not working

i have raspberrypi4, i flashed webos ose edition in that. i have connected 2 hdmi displays and play using aplay in hdmi1, hdmi2 and lineout(headphones), I am getting error from aplay. #cat /proc/...
user avatar
  • 109
0 votes
1 answer
80 views

Raspberry Pi 2 Model B v1.1 alsa & jackd Headphone Jack Configuration

My end goal is to do headless remote audio streaming with jacktrip on some older Pi 2 boards using the built-in headphone jack (I know the quality of it is lacking but I don't really care). To narrow ...
user avatar
1 vote
0 answers
371 views

Sound playback trough bluealsa-aplay not working as a service

I am trying to manually setup my raspberry pi 4 as a Bluetooth audio receiver, but there is no sound playback when I start the bluealsa-aplay service I created. It only works when I run the bluealsa-...
user avatar
0 votes
0 answers
204 views

Logitech C920 webcam mic volume very low in some apps

I've connected a Logitech C920 webcam to my Raspberry Pi 4 with the basic OS image on it. I want to use it for video conferencing through my living room TV, and I intended to use the built in C920 mic ...
user avatar
0 votes
1 answer
3k views

How can I change the audio output device from the command line?

I want to be able to change the audio output device (hdmi or aux) from the command line, preferably, without having to sudo. I'm on a RPI4 with Raspbian-lite Buster. On the RPI3 I was able to use ...
user avatar
  • 157
0 votes
0 answers
764 views

How to force audio output to HDMI/3.5mm jack on RPi4 B via CLI?

on RPi 3 we are using something like amixer cset numid=3 1 and then alsactl store to force sound output to jack 3.5mm and store configuration. I want same thing on my RPi4 model B, but it does not ...
user avatar
  • 113
0 votes
2 answers
48 views

Why is a Justboom DAC HAT no longer recognised after an upgrade to a Raspi 3B+?

I recently replaced my faulty old Raspi 3B with a 3B+, attached the two HATs I've got (a JustBoom DAC HAT sound card and an S.USV Advanced), plugged the SD card into the new one, upgraded the Raspbian ...
user avatar
  • 445
0 votes
0 answers
167 views

Live streaming camera and microphone input on a Raspberry Pi 4

I got a a Raspberry Pi camera and a USB microphone connected to the Raspberry Pi 4. All of them are working seperately. But now, I would like to stream them live and combined for accessing it in HTML. ...
user avatar
0 votes
0 answers
142 views

Record USB System Audio and Send to Named Pipe

I am trying to get audio to LedFx, a controller for sound reactive LEDs. One of the ways it can read audio through its docker container is through a named pipe. The command ffmpeg -y -i http://wms-15....
user avatar
  • 51
1 vote
1 answer
223 views

Duplicating audio in pure ALSA for playback on local device and streaming via trx

I am trying to achieve a multi-room audio setup in my house using Raspberry Pis. How can I get VLC playing simultaneously out the local headphone port while also streaming it to other devices via trx? ...
user avatar
0 votes
1 answer
177 views

volume control quirk for Tenx TP6911 Audio Headset

On a fresh install of 2021-01-11-raspios-buster-armhf-lite with dmesg an older, cheap, generic "3D SOUND" USB audio stick for headphone and microphone is detected as [ 480.467295] usb 1-1: ...
user avatar
  • 123
2 votes
1 answer
568 views

IQAudio DAC+ appears to be installed, but does not play audio. How to debug?

I recently installed an AudioIQ DAC+ device on my RPi3b+ running buster. Following the directions in the user guide, I was able to get to the point that the drivers are loaded and appear to run, but ...
user avatar
1 vote
0 answers
52 views

Dupe output to multiple cards

I am following the https://alsa.opensrc.org/Asoundrc Dupe output to multiple cards example on 2 stereo usb sound cards. I changed things slightly but basically its the same as the above and 1 card ...
user avatar
1 vote
0 answers
50 views

How to play through bluetooth speakers with RPi renderer on lan and openhome/linn android phone control point

Using RPi3b and clean installation of RaspberryPi OS Lite and connecting to network using lan. Media is stored on NAS and served to lan by minimserver. I have installed upmpdcli and mpd on RPi and ...
user avatar
  • 11
1 vote
0 answers
70 views

How to change alsa sound output name

Alsa volume controller of spotifyd uses 'Master' for output and does not work on a PI. Checking alsamixer I saw that the output is called headphone. How can I change this value?
user avatar
0 votes
0 answers
321 views

how do I set the recording volume using alsa

Is there a guide somewhere on how to use the pi sound system? It would be good to have something definitive as there is lots of stuff out there that contradicts, and it is not like I want to do ...
user avatar
  • 109
0 votes
0 answers
1k views

How to set default ALSA input/output in pusleaudio on LibreELEC?

I'm using Raspberry Pi 3 Model B as LibreElec for Kodi. My Pi is connect on TV on HDMI. In kodi, when I select audio outputs HDMI or Jack it play sound well. But when I select Pulseaudio, it don't ...
user avatar
0 votes
1 answer
142 views

ALSA recognizes external sound card but still cannot produce sound

I recently purchased a Pi4 and a HiFiberry DAC+ADC as an external sound card. I followed this link HiFiberry Config to set up the hardware. However, even tho aplay -l listed the hardware, the system ...
user avatar
1 vote
0 answers
77 views

Respeaker 4 install on Pi 3b and buster

I have just bought a respeaker 4 and successfully installed it by the looks of things - I have respeaker under the audio icon input tag. It is the classic rubbish install process with the script just ...
user avatar
  • 109
0 votes
0 answers
193 views

No sound with Jitsi Meet and ALSA

For a project I'm using a Raspberry Pi with ALSA. ALSA is configured and speaker-test provides me audio output. However, when I open Jitsi Meet in Chromium, there is no sound. When I open YouTube in ...
user avatar
1 vote
1 answer
66 views

Scratchy audio with certain wav files

I'm using a Raspberry Pi 4 with an Adafruit I2S Stereo speaker bonnet. I've run their setup script and rebooted many times. I can play sample mp3 files just fine. They usually sound great. (I've had ...
user avatar
1 vote
1 answer
249 views

I want to allow two instances of mPlayer to play music over a single bluetooth link to a speaker

I have an application which makes two uses of playing two files at the same time. The first is where it plays a white-noise file very quietly and continuously so that the sound-card does not go to ...
user avatar
0 votes
1 answer
50 views

Audio cuts out periodically when using audio hat

I am currently live streaming some audio to and from a raspberry Pi Zero W using the waveshare audio hat however I have found that the audio periodically cuts out when I do this. When I used my logic ...
user avatar
1 vote
3 answers
6k views

sound output stuck on HDMI (working)

I cannot get any output to use the 3.5 mm headset jack it is stuck on HDMI. There are lots of questions on here that ask about the headset jack connector not working and have answers on howto switch ...
user avatar
0 votes
0 answers
49 views

Shoddy and horrible audio performance and support on Raspbian Lite

My audio on the Raspberry Pi 1 (Yes, I have an original model) on my Raspbian 10 Lite installation works, but only barely. Allow me to explain. I picked Raspbian 10 because I wanted to set up my own ...
user avatar
1 vote
0 answers
279 views

Play audio on two sound cards at the same time

I currently try to setup my raspberry pi 3 with a HiFiBerry DAC+ Pro XLR (using Raspian based on Debian 10). I installed the sound card and configured alsa to use device 1 as new default. Restarted ...
user avatar
  • 111
1 vote
1 answer
1k views

Read Incoming Bluetooth Audio On Pi With Python

this is my first post on here! I am trying to make my raspberry pi 3 a bluetooth speaker which synchronizes beat of the music being played from a phone to an LED light strip. For the LED light ...
user avatar
  • 11
1 vote
2 answers
226 views

Can I use Raspberry Pi as a USB speaker?

Now I have A: Desktop PC with Arch Linux B: Raspberry Pi 3 with Raspbian Buster connected with a speaker and I'd like to use B as a wired speaker of A. By "wired", I mean that A and B are connected ...
user avatar
  • 131
0 votes
0 answers
193 views

Route Audio from SPDIF Input to 5.1 USB Soundcard (raspbian)

So I'm very new to audio stuff, but my setup is the following: Any HDMI device --(via HDMI)--> TV --(via SPDIF)--> USB Sound Card (input) --> RaspberryPi --> USB Sound Card (3x3.5mm Audio Jack (Front,...
user avatar
1 vote
1 answer
1k views

How do I get a USB speaker working on a Pi 4 with Raspbian Buster?

I've found several candidate dupes for this - the one that seems to encompass them all (and more) being this one: How can I use an external USB sound-card and set it as default? But none of them have ...
user avatar
0 votes
0 answers
1k views

Cannot increase gain on USB Microphone

I got myself one of those cheap USB microphones and it basically works out of the box with arecord, it's just way too quiet. The level on the virtual UV meter never passes 1%. Here's what I got, ...
user avatar
  • 101
2 votes
0 answers
612 views

ALSA errors on raspberry pi 4

So i'm trying to make a virtual assistant on a raspberry pi 4. I have coded the bot to work on my windows machine but now I'm running into errors while using the raspberry pi I figured out which part ...
user avatar
2 votes
0 answers
159 views

Real Time audio recording from two audio input and playing simultaneously in 2 audio output

I have one Raspberry Pi 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
0 answers
236 views

Change Default Microphone

I am having trouble changing my default mic on raspbian buster lite (kernel 4.19.36 on the 3B+). I know that the mic is fully functional because when I run: arecord -D plughw:1,0 --duration=3 test.wav ...
user avatar
  • 111
0 votes
0 answers
119 views

Suppress Midi CC Messages during midi merge on RPI USB Midi Host

I have followed the instructions here to create a RPI to act as a usb midi host: https://neuma.studio/rpi-as-midi-host.html Its great and works nicely however I would like to suppress Midi CC message ...
user avatar

1
2 3 4 5