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
1
vote
0answers
10 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
33 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
58 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
23 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
22 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
78 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
32 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
35 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
17 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
2k 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
109 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
73 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
141 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
26 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
51 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
44 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
69 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
165 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 ...
0
votes
1answer
53 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
67 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
0answers
162 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
155 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
342 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
67 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
45 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
43 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
153 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
45 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
86 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
603 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
329 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 ...
2
votes
1answer
322 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
0answers
27 views

Sound control does not work when card 1 is selected

I have USB speakers connected to my Raspberry Pi 1 model B. Output of aplay -l: **** List of PLAYBACK Hardware Devices **** card 0: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA] ...
0
votes
0answers
774 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 ...
0
votes
0answers
34 views

record internal audio

I would like to record the audio generated by a program on the pi and pass the audio stream to another program. There is software I don't control doing the equivalent of sudo aplay FILE The sound is ...
0
votes
0answers
45 views

RPi alsaaudio.PCM works good for Python2.7.16 but not for Python3.7.3

I am new to audio related programming in RPi. Following code works well and playing sound from a wav file in Python2. import alsaaudio as aa output = aa.PCM(type=aa.PCM_PLAYBACK, mode=aa.PCM_NORMAL, ...
1
vote
1answer
341 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
2k 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
426 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
71 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
7k 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
180 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 ...
2
votes
2answers
253 views

Pi menu bar flashes then disappears - due to ALSA config

I have built a new image on a RPi3B+ with Noobs using the latest Raspbian which I believe is named Buster. I uninstalled libreoffice (for space) and have installed various python libraries and the ...
1
vote
0answers
3k views

ALSA Errors on Pi 3B+ using SpeechRecognition and PyAudio (Original Post missing stuff)

Using PyAudio I simply ran this piece of code: import pyaudio p = pyaudio.PyAudio() for x in range(p.get_device_count()): print(p.get_device_info_by_index(x).get('name')) Getting these Errors: ...
0
votes
1answer
872 views

Text to speech errors

I try to make a python script for Raspberry Pi 3 B+ with Raspbian to speak text I input. I use pyttsx3 library but I also tried espeak from command line. Every time, the sound is very laggy, it start ...
2
votes
0answers
146 views

How do I capture and stream HDMI audio out to LAN

I have a RPi that is running videos with omxplayer and outputting to my tv. HDMI video and audio out work just fine, but I would additionally like to stream only the audio to my network (via RTP or ...
1
vote
0answers
270 views

Mopidy with PulseAudio sound over TCP

So I have been struggling with this for a while now and looked everywhere for solutions. I have installed Mopidy with Spotify extension on my Raspberry Pi 3B but I can't seem to get the pulseaudio ...
1
vote
0answers
43 views

Aux and HDMI audio options missing

Background (To give some perspective on the issue): I am using mopidy and mopify as an audio server on a Raspberry Pi 3 B+. WHen setting this up, I found that it would not output through a USB audio ...
2
votes
1answer
2k views

ALSA input error (snd_pcm_open): No such file or directory - Problem with running Pd with ALSA

I am pretty new to Raspberry Pi, so sorry if I might be not clear on something. I am trying to set the Raspberry Pi 3 to work running a Pure Data patch while communicating with two Arduino UNO, and ...