Questions tagged [audio]

The Raspberry Pi has an analogue stereo audio jack output (Pi 1 A/B/B+, Pi 2, not Pi Zero), and audio can also be heard through the digital HDMI output (all models).

349 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
0answers
2k views

Raspberry Pi 4 - Dual Audio with Dual HDMI

I have a Raspberry Pi 4. The thing is, I want to play 2 videos at the same time, since the RPi-4 has 2 HDMI outputs. BUT I also want to have split audio. The audio from video 1 should go out over the ...
4
votes
0answers
2k views

Why won't pygame play sound over Bluetooth when everything else works?

I having trouble getting a program I've written using the pygame sound mixer to play sound to work over Bluetooth. The program is able to work correctly over HDMI audio. The Raspberry Pi has no ...
4
votes
0answers
298 views

I2s DAC audio out but USB audio in

I was wondering if anyone could help me. I am trying to set up my Pi 3 to be an assistant (Google or Alexa, etc). I had it set up working fine with the USB mic and the 3.5mm audio out, but I wanted ...
4
votes
0answers
1k views

Full duplex Audio With USB Sound Card

I setup Raspberry Pi with external usb sound blaster sound card. My Goal is to be able to record and play audio simultaneously. I setup and configured it to be the default sound card as follows: sudo ...
4
votes
1answer
5k views

Using Android phone as microphone for R PI B+

I'm planning to use Jasper for voice control on my Raspberry Pi B+. However, there are no microphone sockets and I do not have a USB mic. I would like to know if there is any way I could use my ...
3
votes
0answers
200 views

raspi MIDI in audio out

I have a MIDI controller keyboard, that I want to take with me to a vacation. For some reason I cannot bring a tablet/laptop with me. I still have a Raspberry Pi 2B lying around so I thought it might ...
3
votes
0answers
1k views

Pi doesn't detect microphone but detects usb device

I had my Raspberry Pi configured to work with a USB microphone (C-Media microphone USB). I had made the following changes For /lib/modprobe.d/aliases I update the following lines options snd-usb-...
3
votes
0answers
62 views

Is this RPi DAC compatible to RPi 3?

I bought and used this DAC for a long time on my RPi 1 B+: https://www.audiophonics.fr/fr/dac-diy/audiophonics-dac-sabre-es9023-v22-i2s-vers-analogique-24bit192khz-p-8396.html Recently I bought a ...
3
votes
0answers
573 views

LED strip PWM on GPIO18 + mono audio output

On the RPi 3 I would like to control a WS2811 LED strip with PWM (GPIO18) by keeping the audio working. It looks like for the RPi Zero (I'm unsure for RPI 3 though) left and right channels of the ...
3
votes
0answers
2k views

Which GPIO pins are used for I2S audio I/O

I am trying to set up the ADAU1781 as an audio codec for the Pi 3 B, communicating with the Pi via the GPIO pins. Which pins would I use for I2S audio input and output? I have been doing a lot of ...
3
votes
0answers
2k views

Arecord not working with USB Microphone anymore

Before I start, I'd like to tell you that I've used arecord in the past with the Raspberry Pi 2 using the same USB Microphone and it has worked just fine. For some reason, it doesn't seem to work ...
3
votes
0answers
4k views

No sound on Raspberry Pi Running Kali Linux

I'm running Kali Linux on my Raspberry Pi 3 Model B and I've had problems from the start. First, PulseAudio wouldn't connect to the server, so I removed it and installed a few packages with different ...
3
votes
0answers
3k views

Jack server not working on Raspbian

I wrote a little python app (using PyDub), that plays sound files. Everytime I run it, I get the these errors: ALSA lib pulse.c:243(pulse_connect) PulseAudio: Unable to connect: Connection refused ...
3
votes
0answers
424 views

The distorted audio issue if I set low volume

I bought Raspberry Pi 2 model B and tried to play the audio after rpi-update. amixer set PCM 100%; aplay sample.wav It is good quality. However, the audio is gradually distorted when I turn down the ...
3
votes
0answers
974 views

Bluetooth Input Not Outputting High Quality Audio to FM

I have Raspian Wheezy running on my Raspberry Pi. I have set it up to run pifmplay and output the sound to HDMI - (Pin 4 on GPIO) so that the Pi is now working as an FM Transmitter. This part works ...
3
votes
0answers
2k views

Raspberry Pi Drum Module

I have an old electric drum set with a broken sound module (the brain that you plug each jack into). As a fun DIY project I'd like to resurrect this drum kit by replacing the sound module with the ...
3
votes
0answers
457 views

Audacity crashes after recording 10s or so of sound

I'm experimenting with recording sound using the Pi and a USB microphone. I can record long samples using arecord from the command line but when I use Audacity I get frequent bus errors, usually ...
3
votes
2answers
449 views

Problems recording while playing audio

I am using a USB-soundcard to record on my raspberry pi and it records fine and the recorded sound is great, however if I am playing any other sound clip (through the audio output port on the ...
2
votes
0answers
61 views

How to troubleshoot selection of audio device

When right click on the volume icon at top right of the screen, a menu lets me select Analog or HDMI audio output. Whatever selection I do, a green check mark appears at the selected option but there ...
2
votes
0answers
144 views

How to stream audio via bluetooth to an airplay speaker?

I am trying to send audio using bluetooth to my raspberry pi which then should forward the music to an airplay speaker (in my case a HomePod). The first step of sending music to the pi is ...
2
votes
0answers
96 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 ...
2
votes
0answers
47 views

Losing first few seconds of audio

So on my Raspberry pi when I play audio through the headphone jack, the first few seconds of sound are lost. However, I if I immediately play the sound again, the audio works fine from the very ...
2
votes
0answers
136 views

Interfacing non bluetooth speaker with Raspberry Pi 3

I want a wired connection between speaker and Raspberry pi 3 Model B. Bluetooth or Wireless connection is not my requirement. Regarding my speaker - it should NOT simply output buzzer sounds but is ...
2
votes
0answers
43 views

Stream USB mic input to 3.5mm audio jack output

I am trying to stream a USB mic input to the raspberry pi's built in 3.5mm audio jack output. I am not sure how to do this. I essentially want to use the Pi as a DAC. How could I do this?
2
votes
0answers
225 views

How to configure multi-channel sound card with raspbian stretch

I have a Raspberry Pi 3B+ with a Native Instruments Audio 8 DJ sound card which I want to work with Reaper. Thing is that if I open Reaper I get the error message: ALSA: error setting input device ...
2
votes
0answers
189 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 ...
2
votes
0answers
241 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-...
2
votes
0answers
263 views

Pi with PulseAudio over wifi - can't connect

I was trying to set up my RPi 1 as audio device for my laptop and found this answer. On the RPi all the steps worked fine, except that /etc/default/pulseaudio is empty. But in the linked answer the ...
2
votes
1answer
459 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 ...
2
votes
0answers
2k 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 ...
2
votes
0answers
343 views

aplay doesn't detect usb mic

My usb mic "CD04" is detected by audio device setting but not with aplay -l. With arecod -l i see : **** List of CAPTURE Hardware Devices **** card 1: CD04 [CD04], device 0: USB Audio [USB Audio] ...
2
votes
0answers
322 views

How to record usb audio and monitor at the same time

I have a usb audio device plugged into my Raspberry Pi 3 with Raspbian Stretch. Recording to an mp3 with sox works fine with this line: AUDIODEV=dsnooped rec -c 1 -q /media/usbstick/recording/...
2
votes
1answer
3k views

Playing audio via bluetooth speaker for Pi3 (Stretch)

This is the oft repeated question on playing audio via bluetooth on RPi. There are too many posts out there, but most of them are dated or do not apply to the stretch version of raspbian and hence ...
2
votes
0answers
158 views

Direct sound playback via HDMI with sound input from Bluetooth Mic

I've connected my Raspberry Pi to a TV via HDMI, by default the sound output is through TV speakers via HDMI. I installed pulseaudio and successfully connected a Bluetooth headset [samsung HM1100] to ...
2
votes
1answer
695 views

USB audio from Pygame

I am running Raspbian Stretch. I've connected a USB sound device and selected it through the graphic interface. This sends the sound out fine from youtube in Chrome but is silent with a Python ...
2
votes
0answers
671 views

Pulse audio is lagging and stuttering

I am using pulse audio to stream to my Ices2 Client. During the start of a song and sometimes all the way through if I am mixing audio together, pulse audio begins to really lag... As in it is ...
2
votes
0answers
521 views

Cannot open hw:0,0 default audio device

Hello I am trying to setup icecast streaming server. Previously I used Loopback devices and it worked fine. But Loopback devices does not have a mixer so I cant play two things at once is you see ...
2
votes
0answers
190 views

Raspberry Pi as a Hi-Fi component

After reading the following post, I was wondering if I could achieve something similar with my own setup. I do own an old Technics SL505. However the nasty part of this setup is that each components ...
2
votes
0answers
269 views

audio video out of sync / framerate issue?

I am trying to sync the raspberry pi camera (revision 1.3) to an external microphone. The sync is fine for the first 5 minutes or so, but around the 20 minute mark, the difference becomes really ...
2
votes
0answers
343 views

Mic input meter to detect audio/noise using Windows IoT Core UWP

I am trying to make a VU Meter something that will show the noise or sound around the device with USB microphone attached to it. I tried following blog sample code but it works with hardware attached ...
2
votes
0answers
5k views

No display with “dtparam=audio=on”

This is my /boot/config.txt: http://termbin.com/0pq4 (1600x900 screen with HDMI to VGA adapter, turned vertical): # For more options and information see # http://rpf.io/configtxtreadme # Some ...
2
votes
0answers
632 views

Audio hangs on repeated playback

How do I fix hanging audio in Raspbian GNU/Linux 8.0 (jessie)? When I playback audio using, for example, aplay, the first playback works fine. Subsequent playback will hang indefinitely. Several ...
2
votes
0answers
73 views

How can we use voice recognition of Amazon Echo with Rpi?

I have a simple setup where a master Rpi controls some components over wifi. What I want to do is to extend it to have voice recognition feature so that it can turn on and off using voice commands. ...
2
votes
3answers
10k views

No audio output via USB sound card

I bought an external USB sound card for my Raspberry Pi because the sound quality of the built-in 3.5mm audio jack is not that good and I experienced a lot of noise. The retailer of the sound card is ...
2
votes
0answers
273 views

Choose Audio device for speech recognition

I got speech recognition working in a simple UWP app on my Raspberry PI3. I also wanted to add audio output - with the onboard audio jack the sound was horrible, so I used a USB-Audio adapter. This ...
2
votes
0answers
5k views

Raspberry Pi 3 USB Microphone Issues

I have a Raspbery pi 3 and trying to use a usb microphone (C-Media microphone USB) but having no success. The "/etc/modprobe.d/alsa-base.conf" is not found on my Raspberry pi, does this mean that it ...
2
votes
0answers
808 views

How to create audio-video service using Avahi on RPi?

I have a RPi board Model B Version 1.2 running with Raspbian OS. I want to communicate with Apple devices. As I studied about it and have found that it uses Bonjour, which is an implementation of ...
2
votes
0answers
33 views

Usb sound inbuilt with camera not detected in raspbian jassie 2016-02-26

I am using an inbuilt mic with USB camera module & I just plug it to the usb port & use in my linux mint for recordings. When I typed in "cat /proc/asound/modules" in raspberry pi it gives ...
2
votes
0answers
590 views

Possible to Interface With ISA Sound Card?

Old ISA soundcards like the AdLib and Gravis UltraSound are popular with the retro gaming community and it would be interesting to tinker with them on a Pi. Questions of drivers aside (which are big ...
2
votes
0answers
606 views

How to Set Up Driver Support for I2S Audio Codec

I am building a I2S audio codec using an ADAU1781 chip, which will communicate with the Pi via the GPIO pins. In my research I have found that there is an ASoC driver built into the Raspberry Pi ...

1
2 3 4 5
7