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
1answer
26 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
26 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 ...
2
votes
2answers
957 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
62 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
55 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
45 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
31 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
39 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
47 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
110 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
38 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
44 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
66 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
76 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
271 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
48 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
39 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
38 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
109 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
37 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
64 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
508 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
243 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-...
2
votes
1answer
1k 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 ...
1
vote
1answer
233 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
26 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
488 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
32 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
37 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
272 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
364 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
63 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
2answers
5k 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
160 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
242 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
816 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
134 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
246 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
40 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 ...
2
votes
0answers
158 views

USB audio device is displayed as default, but is not

I have set the USB device on my Raspberry Pi to default. The file /lib/modprobe.d/aliases.conf: options snd-pcsp index=-2 options snd-usb-audio index=0 options cx88_alsa index=-2 options snd-atiixp-...
1
vote
0answers
414 views

Connect Raspberry Pi via Bluetooth to Sound Bar

after spending the last couple of weeks trying to connect my bluetooth soundbar to my Raspberry Pi 3 B+ and playing all audio output on it I am close to giving up. Using the GUI I can successfully ...
1
vote
2answers
3k views

Setting up config for alsa at /etc/asound.conf

I have the following set-up with 3 USB audio devices - one for the output, the other is an input from my record player which I put on module-loopback, and the final one is a PS3 eye that I am trying ...
1
vote
1answer
88 views

How can I find the answer to “What does Raspbian use to handle audio?”

I think some releases of Raspbian handle audio differently than the previous version. If the use of ALSA or Pulse Audio (or some other software) has changed with Raspbian releases, what do I need to ...
2
votes
1answer
281 views

soundcards suddenly disappear (adafruit speaker bonnet + neo pixels)

This afternoon I was playing sound through my adafruit speaker bonnet just fine. That means I installed the speakers and neopixels according to the guides and had multiple reboots for circuit python,...
2
votes
1answer
398 views

How can I direct the output both of mpg123, and of eSpeak to the same ALSA sound device?

I'm currently struggling with the following scenario: I'd like to make my Raspi (3B) play a short MP3 jingle and then, after a 250 µsec pause, speak a short text by using an add-on sound card (...