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

Filter by
Sorted by
Tagged with
2
votes
1answer
126 views

Looking for multi-room streaming audio solution that plays well with wifi

I set up MPD+PulseAudio streaming as described in Streaming Audio to Multiple Wireless Speakers. It worked perfectly with 2 remote wireless speakers, but then my wifi network was brought to its knees. ...
2
votes
1answer
1k views

jackd with raspberry pi 3 jackd server stops

I'm using jackd2 on my raspi3 with a USB sound and recording device like this one. Build is Jessie https://www.amazon.co.uk/Adapter-External-Headphone-Speaker-Microphone/dp/B016CU2PEU/ref=sr_1_2?ie=...
2
votes
1answer
2k views

Options of adding additional pwm channel to pi zero

I'm working on a pi zero alarm clock project which uses the internal pwm hardware pin for audio generation. There are some tutorials (like this adafruit tutorial) online explaining how to do this, by ...
2
votes
1answer
8k views

Optical Audio Input for Raspberry Pi

I would like to have a raspberry pi receive audio through a board of some type that accepts optical input. I would like to then push that audio that is being received through the optical input to a ...
2
votes
1answer
3k views

Analyze Audio Level in Real Time with Python

Im trying to get my Raspberry do stuff, based on the audio level of a played song. The song shouldn't neccessarily be a local mp3 file on the Raspberry. Let me explain it like this: If (audio level ...
2
votes
2answers
1k views

Passive speaker connected to the Pi

I know the audio output is line level, but what can I hope, in terms of volume, with a small passive speaker (without any LM386 amplifier) like this?
2
votes
1answer
1k views

jack fails to connect to session bus (without error)

I try to run jack on a headless machine - I get this: pi@raspberrypi:~ $ sudo jackd -dalsa -r44100 -p512 jackdmp 1.9.10 Copyright 2001-2005 Paul Davis and others. Copyright 2004-2014 Grame. jackdmp ...
2
votes
1answer
474 views

Having trouble with audio through the 3.5mm jack on the Raspberry Pi 2

I'm running Raspbian on the RPi2. I have the video out through HDMI and I have my speaker system plugged into the 3.5mm jack, but no sound is coming out. Sort of. I set it to come out of the jack ...
2
votes
1answer
564 views

No sound when using sudo in Raspbian

I'm developing software for Raspbian which plays some audio but when I run it with sudo the audio doesn't play through the speakers. The same happens with the speaker-test command: speaker-test ...
2
votes
1answer
1k views

Status of audio solutions for RPi, including audio in

What is a current, workable solution which gives an audio out/audio in without having to go via USB, which is known to cause problems since it is shared with other hardware? My impression is that ...
2
votes
1answer
626 views

Sound glitch when playing video with Pi 3 and omxplayer

I am watching a video on my Raspberry Pi using omxplayer. But sometimes my TV audio output makes a hard sounding glitch, a ("ghrrr") sound randomly. Does somebody know how I can fix this? The video ...
2
votes
1answer
450 views

omxplayer (sound) hangs

I did a simple alert script in bash. On my RPi nclistens on some port. When somebody (some other RPi or PC) sends a message to this port, nc finishes and omxplayer plays a sound. Then the loop repeats....
2
votes
1answer
314 views

Analog audio output produce noise around the sampling rate of the audio

I connected the analog audio output to a speaker and played an audio file with sampling rate of 15625. when I measure the sound coming out of the speaker I can see that the same sound is duplicated ...
2
votes
1answer
1k views

Delay Problem in Audio/Video when Multiplex in One through Python

I am writing a program in python on RaspberryPi, to record video on a Picam and capture audio through a Microphone attached with USB AUDIO DEVICE. On combining both files through ffmpeg, till 30sec ...
2
votes
1answer
350 views

Sound is being cut off

On the raspberry pi connected to an hdmi TV, any command that emits sound has the first two seconds of audio cut off. Numerous options have been enabled in config.txt. How do you make it play audio ...
2
votes
1answer
873 views

Constant Stream of Distortion/Noise from 3.5mm Jack

I've been trying to set up audio playback on my Pi model B (running Raspbian, fully updated at the time of this posting), but I'm having issues with overpowering distortion. In the broader scheme I'm ...
2
votes
1answer
391 views

Raspberry Pi as near real time digital signal processor

I have a Pi with Wolfson Audio Card, running Raspbian with low latency kernel. Is it possible and feasible to use such a setup as a near real time digital audio processor, like a reconfigurable ...
2
votes
1answer
1k views

Airplay plus Bluetooth Speaker

I would like to develop a Raspberry PI "music receiver" that would play Airplay audio by default, but if a Bluetooth audio source connected to it - it would use that as the audio source instead of ...
2
votes
1answer
537 views

usb soundcard losing power

I bought this USB soundcard. I have this powered USB hub and I plugged the soundcard to the hub(the 2 usb ports in the pi are used by wifi dongle and usb hub). I changed the configs , and rebooted and ...
2
votes
2answers
2k views

USB external sound card and Minimodem Software

I am trying to configure the Raspberry pi in order to work with the Minimodem software, which is software modem that uses FSK modulation and demodulation to transmit information over audio signals. I ...
2
votes
1answer
1k views

eSpeak over PHP on Raspberry PI

So I am trying to make a webserver on my Raspberry Pi which plays a voice using eSpeak whenever a page is loaded. I have installed apache2 and php5, and I also have a script to run eSpeak which I have ...
2
votes
1answer
621 views

start Zynaddsubfx with no GUI in the PI

I need to run jackd and zynaddsubfx in a headless PI. I have an external USB audio card that works (I can play stuff with aplay blablabla.wav) I can run jack1 with no GUI nicelly and connect stuff ...
2
votes
1answer
1k views

Pulseaudio 4 : error while loading shared libraries libpulsecore-4.0.so

I'm using Raspbian, which runs Pulseaudio 2, which consume a high volume of ressources when working with my Debian sid Pulseaudio 4. So I try to compile Pulseaudio 4 (official archive) on my ...
2
votes
2answers
4k views

Issues playing back wav files with pygame

I'm using pygame and I'm trying to play wav files but it's not going great. Code is as simple as: import pygame pygame.mixer.init() pygame.mixer.music.load("01.wav") pygame.mixer.music.play() but I'...
2
votes
1answer
2k views

Use raspberry pi as remote speaker

I was able to install shairport on my raspberry pi (whezzy, Xorg disabled) wich is connected to my speakers and my router. This way I was able to send Audio from my notebook (Airfoil for windows) and ...
2
votes
2answers
3k views

Raspberry Pi to iPhone Audio Streaming

I am trying to figure out how to get as close to real time streaming as possible from Raspberry Pi to an iPhone (more particularly just an HTTP stream so iPhone or Android could use it). The Raspberry ...
2
votes
1answer
4k views

raspberry pi usb dac/amp

Can a raspberry pi be used to build an audio usb digital-analog-converter/amplifier? If it is possible I would really appreciate a few tips on how to get started. I have a little background in ...
2
votes
0answers
33 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 ...
2
votes
0answers
24 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
48 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
46 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
54 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
1answer
59 views

Play Audio Through 3 Different Bluetooth Speakers

I want to play a story divided into three mp3 files through three different speakers. For example: begin playing file 1 through speaker 1. Once it's over, play file 2 through speaker 2. When it ends,...
2
votes
0answers
117 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
130 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
740 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
256 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
81 views

Manufacturing Custom Raspberry Pi ProtoType [closed]

I'm looking for some general suggestions as to where I could go to get a custom Raspberry Pi / Beagle Bone Black or similar hardware created but with customizations. Basically I'm looking for a device ...
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
104 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
448 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
389 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
1answer
381 views

Raspberry pi 3 audio issue

I am having trouble with my Raspberry Pi audio. I have the same problem with two different Pis, using two different TVs, two different HDMI cables, and one set of analogue speakers. To test sound, I ...
2
votes
0answers
119 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
227 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
302 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
1answer
701 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
35 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
67 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
7k 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 ...