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).

298 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
0answers
285 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
978 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
4k 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
798 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 ...
3
votes
0answers
109 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

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 ...
3
votes
0answers
892 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
58 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
2answers
542 views

Is it possible to use more than one audio card on GPIO?

I want to use more than one HiFiBerry Dac+ on a single Raspberry PI. It's possbile? to connect more than one audio card?
3
votes
0answers
1k 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
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
938 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
434 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
4k views

Bluetooth connection attempt gives “Failed to connect: org.bluez.Error.Failed”

I'm a recent RPi user. Pi version - Pi 3, Model B Bluetooth speakers - Philiphs BT64R I've tested the speakers with other devices and the bluetooth pairing works fine. I've also tested my Pi with ...
3
votes
2answers
407 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
1answer
15 views

Terrible sound quality when recording over bluetooth

I have paired a Jabra Talk 15 headset with a Raspberry Pi 3B (and PulseAudio). I can play sound through the headset well. When I record using arecord though, I get almost completely garbled audio. ...
2
votes
0answers
36 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
160 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
93 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
85 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
210 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
221 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
997 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
294 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
2k 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
123 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
557 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
449 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
143 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
251 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
322 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
3k 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
559 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
1answer
828 views

Getting Sound with Qemu and Raspbian

I successfully set up a current Raspbian (Jessy) with Qemu. But I really need a soundcard. I'm not sure, if the Sound Chip of the Pi is supported by Qemu? To boot I use the Kernel from https://github....
2
votes
1answer
36 views

Internal soundcard sometimes card 0 and sometimes card 2 with 2 usb mics

I can't get a consistent setting for my internal soundcard. BCM2835 is sometimes card 2 and then I'll reboot and it'll be card 0. Driving me nuts, hard to set the default when it's jumping around. Is ...
2
votes
0answers
70 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
8k 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
269 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
535 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 ...
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
682 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
31 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
508 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
571 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 ...
2
votes
0answers
285 views

What changed in newest Raspbian to affect sound?

I updated to the latest version of Raspbian last night because of this and this morning when i tried to listen to anything it outputs so much static as to be utterly unintelligible. And I m talking ...
2
votes
0answers
3k 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 ...
2
votes
0answers
27 views

Raspberry Pi 2 Audio vs Video Clash

So, I'm having an interesting issue. Those of you who have seen me around know that I don't usually use a GUI of any sort with my Pi. However, I recently got another one and decided to make an ...
2
votes
0answers
2k views

No audio out from Raspberry Pi Zero HDMI output

I am using an HDMI to HDMI plus audio converter at the HDMI output of a Raspberry Pi Zero. The video works fine, but I get no audio in headphones connected to the 3.5 mm jack output of the converter - ...

1 2 3 4 5 6