Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

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
0answers
38 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
36 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
41 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
738 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
61 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
1answer
65 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 ...
0
votes
0answers
522 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
0answers
348 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 ...
0
votes
0answers
34 views

Bluetooth connection between Raspberry pi and BT speaker falls

I have Raspberry pi 3B+ and bluetooth speaker Beats Pill+. Using alsa I am transferring audio from rpi to speaker. It works well but after few minutes bluetooth connection falls down. Using dmesg logs ...
0
votes
0answers
68 views

RPi B, dietpi, usb soundcard amplifier, mpd and equalizer - usb and alsamixer equalizer impossible?

The last two days I am busy to config the USB sound on a dietpi config and with success. I turned the default Rpi sound off and use only the USB soundcard amplifier (Logitech). I can play files with ...
2
votes
0answers
53 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
93 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
28 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 ...
1
vote
1answer
476 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
64 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
153 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 ...
0
votes
0answers
228 views

Problem with aplay: “set_params:1363: Unable to install hw params”

I have been successfully using the command aplay -D bluealsa:HCI=hci0,DEV=EB:06:BF:19:C2:D3,PROFILE=a2dp Open.wav to play sound over a BlueTooth device. HOWEVER after a few hours of trouble free ...
0
votes
2answers
427 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 ...
0
votes
0answers
243 views

Bluetooth audio device as (virtual) hardware device (for SIP-calls via Linphone)

I have an external USB-Bluetooth-Dongle plugged to my Pi and a Bluetooth Speaker (with microphone) that is connected via the dongle. I manually compiled blueZ to version 5.50 and bluealsa to version ...
0
votes
0answers
50 views

ReSpeaker 2Mic Expansion Board Not Showing Up Under “aplay -l”

I am very new to the raspberry pi. I am setting up the Respeaker 2Mic Expansion board on my Raspberry Pi 3 B+. I have downloaded the files from GitHub through the terminal, have physically connected ...
0
votes
0answers
206 views

Microphone Error: arecord: main:722: audio open error: No such file or directory

I am a 100% beginner when it comes to raspberry pi and this is my first project. I am trying to configure a microphone and speaker for an alexa module being integrated into my magic mirror project (...
0
votes
0answers
191 views

Raspberry Pi as a bluetooth audio sink - how to make it 5.1 capable?

My Raspberry Pi (Pi 1 model B) is connected to a 5.1 analog sound system through an USB sound card (Asus Xonar U7). I added a bluetooth dongle and bluealsa to the Pi to turn it into an audio device, ...
1
vote
1answer
79 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 ...
1
vote
1answer
227 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
199 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 (...
1
vote
2answers
448 views

aplay can see sound device but amixer can't

I'm using the speaker bonnet / following instructions from adafruit: https://learn.adafruit.com/adafruit-speaker-bonnet-for-raspberry-pi/raspberry-pi-usage. I followed all of the steps (skipping the ...
3
votes
0answers
323 views

Raspberry Pi Zero W Alexa Microphone Not detecting, but speaker works

So I have looked online and I even got different mics and adapters to get this working, but it still doesn't work. I was able to successfully setup my Alexa Pi on the RPi Zero W, because when I boot ...
0
votes
1answer
126 views

Pulseaudio module-combine-sink always throws Failure

I am new to pulseaudio. As per my requirement, I need my audio output to be routed to either connected speaker, bluetooth speaker, or both. I am able to play the media file on speaker, or bluetooth ...
0
votes
0answers
51 views

How to enable audio volume on 3b+ /w vx1 usb sound card

I have an rpi 3b+ that I want to get all audio to come out of the USB sound card - a VX1, which seems to have worked on an earlier version from this When I power it up / connect it, it gets detected ...
1
vote
0answers
72 views

Is perfectly uninterrupted alsa sound over USB possible?

I am playing a sine wave from a Rpi3 via pure userspace ALSA to the hw device of a USB sound card (using the official PCM example, no sound servers installed). But the wave never stays perfect, after ...
3
votes
1answer
4k views

How to stream sound to a bluetooth device from a raspberry pi zero

I have a raspberry pi zero W and I would like to stream sound over bluetooth to a bluetooth-enabled speaker / headphone. So how to achieve this with alsa?
1
vote
1answer
2k views

How do I increase the input volume of a microphone connected to pi .Its using the I2S interface

So i have managed to get input from a microphone using I2S interface following this link . https://learn.adafruit.com/adafruit-i2s-mems-microphone-breakout/raspberry-pi-wiring-and-test if i use the ...
1
vote
1answer
191 views

Roland midi controller not recognized

I was able to use the Pi as a Midi synthesizer for a Midiplus AKM320 controller using fluidsynth and aconnect. Then I got a larger Roland A49 midi keyboard, but am unable to get this to work. It shows ...
0
votes
1answer
226 views

Cannot play audio from two processes at the same time

I want to be able to output to a speaker from multiple applications at the same time, but currently it's only allowing me to output to the speaker from a single application. I have the following ...
2
votes
1answer
159 views

USB Soundcard shows mic as Playback device in alsamixer

I have some trouble with my USB sound card 68878 from goobay. Alsamixer showing unexpected devices Secondly when I use alsamixer displaying Playback items. I see both a Speaker and a Mic: For ...
4
votes
2answers
2k views

HDMI audio on Raspberry pi 3 b not working

I've already seen Audio over HDMI not working on Pi 3 (audio not working though HDMI, but working though speakers) but the actions described by @Vader did not work for me. The fact is that it ...
1
vote
0answers
91 views

Jackd problem on RPi3 B+ Stretch

I'm running Stretch on an RPi 3 B+. I have a C-Media USB sound card showing up as: card 1: Device [USB Audio Device], device 0: USB Audio [USB Audio] and ALSA recognises it as the default card ...
0
votes
1answer
223 views

.asoundrc file is rewritten on each boot

i read all of the posts here and commentated on one of them but comment was deleted as it was a question i guess, so i mage my own now, sorry for that... Ok the problem: USB sound card mic is not ...
2
votes
1answer
472 views

arecord / aplay stop after a while

I am looping the "PCM audio in" to the "PCM audio out" on a Sound Blaster USB card using the following command: arecord -q -f S16_LE -r 48000 -c 2 -D dsnoop:HD | aplay -q -D plughw:HD It works fine, ...
1
vote
0answers
1k views

PS3 eye's 4ch microphone with the Raspberry Pi

Recently I have been trying to get the 4ch microphone on the sony playstation 3 eye to work with my Raspberry Pi 3B (running the latest OS of raspian-stretch to date (2018-06-27 version) as a part of ...
1
vote
1answer
653 views

Command aplay does not work without sudo

The command aplay only works if preceded by sudo. omxplayer test.wav will play the audio I recorded with arecord just fine. aplay text.wav does not, but sudo aplay test.wav does. The suggestions from ...
1
vote
0answers
162 views

Audioinjector streaming over RTP input errors: “hw:0,0: Protocol not found”, “Unknown input format: 'alsa'”

Using a RPI 3B running Debian Jessie, I've been trying to get a simple stream of the "flatmax" audioinjector's onboard mic over RTP to a VLC player. I've tried many different commands such as: ...
1
vote
1answer
64 views

RPi3 B+ Stretch. Config for external capture device & onboard headphone jack

I am planning to use an external Microphone "ReSpeaker 4Mic Hat" from Seeed-Studio on my RPi3 B+ Stretch OS. However, when I run alsamixer, my external Mic is not the default capture device. It seems ...
0
votes
1answer
381 views

Alsa combine 4 mono usb microphones into 1 stereo device

Based on this post: https://raspberrypi.stackexchange.com/a/58174 I was able to get 4 usb microphones to behave as 1 device with 4 channels. What I am looking to do is down mix the 4 microphones into ...
0
votes
0answers
120 views

When trying to play recorded audio file using aplay, gets an error saying No such file or directory

I'm trying to record and play recorded audio file. I use Armbian. I recorded a audio using arecord -D plughw:0,0 --duration=10 test2.wav command. When I'm trying to play that audio file(test2.wav) ...
2
votes
1answer
294 views

Why does device 0: bcm2835 ALSA on RPi 3 have 7 subdevices?

OK, so on Raspbian 9, on Raspberry Pi 3, if I try to list audio devices, I get this: pi@raspberrypi:~ $ aplay -l **** List of PLAYBACK Hardware Devices **** card 0: ALSA [bcm2835 ALSA], device 0: ...
0
votes
0answers
134 views

Difference between sound and audio nodes in RPi 3 device tree?

I looked a bit into the device tree of Raspbian 9 on Raspberry Pi 3, using: dtc -I fs /proc/device-tree > myrpi-dev-tree.txt 2>&1 I've noticed there is a node called audio: audio { ...
2
votes
0answers
831 views

Streaming audio on the Raspberry Pi Zero W with ffmpeg

I have a problem with ffmpeg giving no audio when recording using alsa. Does anyone know how to get a Raspberry Pi Zero W to record and stream audio with ffmpeg using alsa? I have a project where I ...
3
votes
3answers
2k views

Pygame and Alsa lib error

I am running a pygame window on a raspberry pi. The raspberry pi is connected to an lcd through gpio (not hdmi). My pygame script does not contain any mention of audio, only some basic rectangle ...
0
votes
1answer
53 views

Why does out123_open () shut down my sound card?

I'm talking about this function call: r = out123_open (sound::mp3_output_handle, "alsa", NULL); The return value of r is then OUT123_OK, but in the same moment, the status LED on my sound card (...