Questions tagged [alsa]
For questions pertaining to ALSA, the Linux sound subsystem. ALSA sits below advanced systems like PulseAudio.
201
questions
0
votes
0answers
12 views
failed to simultaneously call aplay and arecord with alsa on Pi
for my project, I'd like to call arecord and aplay simultaneously like the following:
aplay -d 20 signal.wav &
arecord -c 2 -d 20 -f S16_LE -r 48000 speaker_response.wav
so that when a test ...
-3
votes
0answers
14 views
bluetooth microphone on Buster
This popular response to the search is old, but says if it doesn't work. Tough luck.
https://raspberrytips.com/add-microphone-raspberry-pi/
Is this still the case? When schools are busily wanting ...
1
vote
1answer
36 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?
...
0
votes
0answers
46 views
usb mic works in python speech_recognition test but not in practice
System and Devices
Raspberry Pi Zero W running on Raspbian GNU/Linux 10 (buster)
usb microphone (this one)
Python 3.7.3
What's working:
I can run python3 -m speech_recognition on the raspberry pi, ...
0
votes
0answers
59 views
Hardware controls and low-latency loopback for USB audio (C-Media CM108)
RPi Zero W with 2021-01-11-raspios-buster-armhf-lite.
I have a USB audio card (Logilink UA0053, USB-A plug, same generic plastic case that the blueish "3D Sound" units for USD 0.5 have) that ...
0
votes
1answer
25 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: ...
2
votes
1answer
64 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 ...
0
votes
0answers
15 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 ...
0
votes
0answers
18 views
Crackling/popping sound while using ALSA loopback
recently I've been trying to setup a 24/7 youtube livestream on Raspberry Pi 4 using this reddit tutorial (https://www.reddit.com/r/raspberry_pi/comments/61ntji/...
1
vote
0answers
32 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 ...
1
vote
0answers
26 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?
0
votes
0answers
91 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 ...
0
votes
0answers
350 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 ...
0
votes
0answers
39 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 ...
1
vote
0answers
39 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 ...
0
votes
0answers
143 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 ...
1
vote
1answer
38 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 ...
0
votes
1answer
59 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 ...
0
votes
1answer
23 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 ...
1
vote
2answers
3k 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 ...
0
votes
0answers
194 views
USB Voice recognition with python pyttsx3 and pyaudio
i found a lot of this error in the net, but no solution... is there really no solution ?
i got a Raspberry Pi 4
Mini USB Microphone
pi@raspberrypi:~/voice $ arecord -l
**** Liste der Hardware-Geräte ...
0
votes
0answers
109 views
Bluetooth speaker connected but no audio, AV earphone no audio (only VLC is good), HDMI working propedly
My Bluetooth speaker device (JBL Charge 4) connected, but no audio.
The /etc/dbus-1/system.d/bluetooth.conf edited.
I change the "default" context policy from "deny" to "allow&...
0
votes
0answers
374 views
Using USB webcam with integrated audio at the same time
I am trying to use a usb webcam for video and microphone at the same time on my raspberry pi4, on buster. I just set the system up from scratch and am ready to do that again, if it helps with trouble ...
0
votes
0answers
32 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 ...
1
vote
0answers
87 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 ...
0
votes
0answers
54 views
Connect and use Bluetooth headset
I am on a Raspberry Pi 2 Model B with Raspbian buster and have issues using my Bluetooth headset. I tried to use some of the several available HowTos. Best working for me are the HowTos using bluealsa....
0
votes
0answers
117 views
Multi-channel Audio Recording with asoundrc - sudo sound card not appearing
I'm trying to find a way to record audio from 4 separate sound cards at once, using a raspberry pi running with rapbian. From what I've read it should be really straight forward so I'm not sure what I'...
1
vote
1answer
321 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 ...
1
vote
2answers
86 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 ...
0
votes
0answers
120 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,...
1
vote
1answer
457 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 ...
0
votes
0answers
418 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, ...
2
votes
0answers
415 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 ...
2
votes
0answers
97 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 ...
1
vote
0answers
73 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 ...
0
votes
0answers
59 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 ...
1
vote
0answers
208 views
Route native Alsa app audio to bluetooth speaker with Pulseaudio?
I have an app that only supports Alsa, and I want to route its audio to a Bluetooth speaker. I'm attempting to use Pulseaudio to do it if that is possible.
The Bluetooth speaker is paired and I can ...
0
votes
0answers
73 views
Can't user alsaequalizer in KODI
I have OSMC (KODI) on RPI 3. I managed to use alsa equalizer with command:
aplay /usr/share/sounds/alsa/Front_Center.wav
My asound.conf file:
pcm.!default {
type plug
slave.pcm plugequal;
}
...
1
vote
0answers
127 views
Getting gstreamer to produce out of usb-audio
I cannot get gstreamer on raspbian (buster) to play through a
usb-audio device, despite other players (vlc, aplay) being able to do
so. but i need gstreamer because of its API access, for mpd players
...
0
votes
0answers
757 views
raspotify / librespot won't output audio with my ALSA config
I am trying to get the sound from librespot to my Amiga via A314 (raspberry pi expansion card for Amiga) without any success.
At the moment I can play audio with mpg123 on my Amiga by using a custom ...
2
votes
0answers
474 views
no audio with playbin or autoaudiosink on gstreamer, but plays with alsasink
recently upgraded my raspian, and installation of RPi with Hifiberry AMP.
and my python application that utilizes gstreamer's api is no longer working.
as a test to figure out why I am using the gst-...
3
votes
1answer
2k views
bluealsa: Couldn't acquire D-Bus name: org.bluealsa
Trying to use my Raspberry Pi 4 as an A2DP Bluetooth sink using bluealsa.
As reading the documentation of bluealsa:
It will register org.bluealsa service in the D-Bus system bus, which can be used ...
3
votes
1answer
485 views
What are those ALSA Subdevices and what are they used for?
New to the community.
I was curious about one specific part from the ALSA driver on Raspberry Pi 4 (or even on other Linux machines using ALSA).
So $ aplay -l lists all current audio devices, but ...
0
votes
1answer
2k views
How to increase mic input volume?
I recently bought a usb soundcard and a 3.5mm microphone for my raspberry pi 4 to use for a python project for speech recognition where I want the pi to be able to hear to conversational volume voices ...
1
vote
1answer
451 views
Installation of kernel module for I2S Mic fails
I have a I2S mems microphone from adafruit. Now I am following the guide at https://github.com/nejohnson2/rpi-i2s#compile-the-i2s-module
Now after I have mounted the debugfs I attempt to look for the ...
1
vote
0answers
3k views
What does amixer cset numid=3 3 do?
In order to solve missing audio via HDMI with Raspberry Pi 4B (Raspian Buster) I came across
amixer cset numid=3 2
which didn't do the trick for me. But randomly I checked numbers from 0 to 4 and ...
0
votes
0answers
522 views
VLC player can't play larger media files on raspbian
I am using Pi 4 for an week. I tried some media players available on repository like vlc,kodi,mpv etc.
I have noticed none of them can play a media file(mp4,avi,mkv) smoothly. So I am stuck with vlc. ...
0
votes
0answers
106 views
USB mic input + 3.5mm jack output
I'm trying to set up my Rpi using a USB mic and output through the 3.5mm jack.
If I select the USB mic in alsamixer, I don't have any sound at all. If I use the 3.5mm I get sound but cannot record ...
5
votes
3answers
9k views
Pi 3 B+ no audio device found
I have been trying to use Alexa on my Raspberry Pi 3 B+ (running Stretch). I ran Alexa successfully, with a USB microphone and a speaker connected through the 3.5mm jack, about a week ago and went on ...
3
votes
0answers
197 views
Microphone is not recording with HifiBerry and Raspberry Pi 3
I installed the HifiBerry driver as specified. The Board is recognized and the audio output works fine.
Just the audio input seems to be not working. I checked if the microphone is muted but I can't ...