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
0
votes
0answers
12 views

Raspberrypi 3 reactive LED with omxplayer audio output

How can I setup the reactive led with auto brightness as per the frequency of output video sound played using omxplayer?
2
votes
0answers
665 views
+50

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 ...
0
votes
1answer
26 views

Pi 3 B+ sudden audio failure

A few months ago I bought a RasPi 3 B+ to act as an overglorified doorbell using reed switches to tell the Pi to play a custom MP3 with the "Playsound" Module into the Company's PA system. It worked ...
1
vote
1answer
211 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 ...
0
votes
0answers
7 views

Sox error: ALSA lib bluealsa-pcm.c:200:(io_thread) PCM FIFO write error: Broken pipe

I'm trying to use my Raspberry Pi as a white noise generator using SOX and my bluetooth speaker (BOSE mini soundlink II). Everything works great at first, however after a certain period of time (as ...
1
vote
0answers
16 views

FM Radio with HifiBerry Amp2

Is there a way of running a Raspberry Pi 3 with a mounted HifiBerry Amp2 together with an FM Radio Module e.g. TEA5767 FM Radio Breakout Board? Currently I set up my RPI to run Mopidy and Spotify ...
0
votes
0answers
17 views

how to play audio from python on Rasbian Stretch Lite?

I would like to play selected audio files through the built-in audio port on a Raspberry 3 that is running Rasbian Stretch Lite, from a python program. Unfortunately, none of the libraries or external ...
0
votes
1answer
156 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 ...
26
votes
3answers
114k views

How to get PulseAudio running?

I would like to use my Raspberry Pi as an PulseAudio sink that can play audio via the network. For starters I want to get Pulseaudio running locally and have run into various errors. I am using the ...
0
votes
1answer
33 views

audio doesn't play when running program on startup

I have a python code that runs an mp3 file. It works perfectly when I run it through python 3.5.3 shell on my pi-top, and I also managed to make the program run on startup, but then everything works ...
0
votes
1answer
38 views

Raspbian Desktop Audio Not Working

I have checked many forums and Google, and I cannot find it anywhere. I have just installed Raspbian desktop on my laptop (acer aspire v5-123) and when I boot into the Raspbian Stretch the audio does ...
1
vote
2answers
60 views

3.5 mm jack speakers not being recognized

Over the past several days, I have tried and failed to make my raspberry pi recognize the speakers that I connected to it through the 3.5mm jack. The USB microphone that I plugged in works perfectly ...
1
vote
1answer
47 views

share audio from raspberry 3

I connected Raspberry 3 (OpenELEC 7.0.1.) to the projector (HDMI). I would like to play back movies from an external HD connected to Raspberry, but I need to share audio (wifi or bluethoth) to AV ...
-1
votes
0answers
28 views

DAB radio internet radio

I should stream audio file from pc to raspberry pi3 using vlc jack server over the network http and stream decoder Mplayer or Gstreamer thanks
0
votes
3answers
63 views

On-board or USB soundcard for better result?

I am working on a "low-latency audio" project and I was wondering which card offers better performances, an Usb one or an on-board ?
0
votes
0answers
87 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 ...
1
vote
2answers
213 views

Stream music from PC (Win10) to pi (BIG NOOB)

Hi i have a problem that i would be extremly happy to solve: I want to make my sound (If possible only spotify sound) go from my pc go to the raspberry pi and from the pi to a jackstick to my stereo. ...
0
votes
0answers
24 views

How can I mount a speaker on to a Pi so that it is light enough for it to be mobile

Can I mount a speaker on a mobile Pi robot together with a suitable power supply? Ideally I’d like the Pi to follow a fixed route while emitting a fixed repeating tone.
0
votes
0answers
18 views

Audio noise generator

Is there a package or hardware for a Pi that will generate real audio noise ie noise whose average over time doesn’t tend to a fixed value. White noise won’t do, since it’s average tends to zero.
1
vote
1answer
173 views

Need advice on how to record video and audio using my RasPi

As an experiment and learning project, I want to create an action cam using my RasPi Zero W, the latest version of the RasPi camera module and an i2S microphone. I have found some RasPi action cam ...
2
votes
1answer
45 views

How can I output my USB microphone through the jack port?

My Raspberry Pi 3 is going to be used like a music center, it will play various songs and videos but recently I want to implement a "voice amplifier" command or software, I tried to find on Google ...
0
votes
1answer
219 views

RPI 2 - Libreelec with Kodi - sound improvement

I installed Libreelec (with Kodi) on the Raspberry Pi2 and I did connect it to a PC Monitor (HDMI). PC Speakers connected to the monitor or even to the Raspberry Pi (3,5 mm jack) give me poor sound ...
0
votes
1answer
28 views

Audio processing the sounds of different wood working machines

In my garage wood shop I have the following power tools: table saw, band saw, disc sander, belt sander, and shop vac. Is there a sound or audio processing library that could differentiate between the ...
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 ...
0
votes
0answers
15 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 ...
1
vote
2answers
38 views

Raspberry pi 3B+ and Beats Pill+ bluetooth speaker

I have Raspberry pi 3B+ and bluetooth speaker Beats Pill+. I am trying to forward all audio to this speaker and use it as default. Bluetooth connection between rpi and speaker is not a problem, using ...
1
vote
1answer
60 views

Record 5.1 Surround Sound

I want to record audio for 5.1 Surround sound. My goal is to use 5 diy shotgun microphones with electret microphones being connected to a rpi that records and encodes to something like ac3 or at least ...
1
vote
1answer
62 views

What is the configuration of the 4-pole A/V jack on the Pi 4?

What is the configuration of the combined analogue audio and composite video 3.5mm jack on a Raspberry Pi 4?
1
vote
1answer
24 views

Sound jumping back and forth

So my issue is that whenever I play an mp3 from the pi the sound starts jumping back and forth. So the audio starts playing it jumps forwards 5 seconds and after a few seconds it jumps back to where ...
0
votes
1answer
70 views

High frequency hiss when running on Pi2

I have a Raspberry Pi 2 running Open Source Media Center (aka OSMC), and when it runs, I hear a very high frequency hissing noise coming from the Pi. In my family, I am the only one able to hear this ...
0
votes
0answers
19 views

Make sox play .mp4 files

I am trying to play audio files through usb speaker on Raspberry Pi 3B+. As I understood, sox only has mp4 support if you compile it agains ffmpeg. So far I did git clone git://git.code.sf.net/p/sox/...
1
vote
1answer
59 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 ...
3
votes
2answers
5k views

ADC for ultrasonic frequency recording?

I'm trying to create a prototype using a breadboard that is able to record sounds at the ultrasonic frequency range. I am looking into purchasing this microphone. The problem is that the Raspberry Pi ...
0
votes
1answer
77 views

2 separate audio outputs sample player

I'm looking to (hopefully) create a sample player that will be capable of playing 2 wav samples at once. One out of one stereo out and one out of another. (To send one to a stereo mix in a sound desk ...
0
votes
0answers
14 views

The sound/speaker of my pi-top doesn't work

Can someone help me find out how to fix this. I have tried turning on 12S sound and rebooting. I have tried using the hdmi speaker that you put inside but that doesn't work either. Can someone help me ...
-1
votes
0answers
61 views

Play raspberry pi sound through bluetooth speaker

I have Raspbian Stretch installed on my RaspBerry Pi Model 3B+. I paired the speaker using bluetoothctl, but I cannot see it in raspi-config (Advanced Options -> Audio) list. Also I tried several ...
1
vote
0answers
16 views

No audio output to HDMI using MPV but using OMXplayer works fine?

I am trying to use MPV to play a video stream to my HDMI tv. Video works well, but there's no audio regardless of what I set the --audio-device= to. OMXplayer however works just fine both as default ...
-1
votes
1answer
81 views

synchronised audio streaming

What are the options to use 2 or more raspberry (any version) for multi-room synchronised audio streaming? Something like Google Chromecast Audio I don't mean a full ready solution, any starting ...
1
vote
1answer
3k views

Alsa lib error pyaudio on raspberry pi 3

I'm getting these ALSA lib errors when trying to use pyaudio. I know my mic works as I can live stream audio through gstreamer. Can anybody explain to me why i'm getting these issues: ALSA lib ...
0
votes
3answers
95 views

No audio output through 3.5mm jack but OK through HDMI

I'm having trouble with audio playing through 3.5mm jack. Audio is playing fine through HDMI, but when 3.5mm jack is selected using all 3 options (i.e. - terminal command, configuration tool or by ...
1
vote
1answer
58 views

Raspberry Pi 3 B+ QMediaPlayer - unable to play sound

I'm struggling to play audio files using Qt 5.11.3 and the QMediaPayer class. There is no sound output when playing either .mp3 or .wav files. I had some success to play a wav file using QSound class. ...
1
vote
1answer
2k views

using php_exec command to play audio on the Pi - no audio group

I'm trying to have a php script play an audio file when run shell_exec('aplay /home/andrew/www/audio/meeting-bell/medium-bell.wav') It works when I run it from the command line, but not when running ...
1
vote
1answer
245 views

Connecting Hifiberry Digi+ clone (PiFi Digi+ V1.0) to an Raspberry Pi 1 B (26Pin Header)

Hi I wanted to make use of an older Raspberry Pi and build an Volumio Music Player. I ordered Hifiberry Digi+ clone (PiFi Digi+ V1.0), unfortunately I forgot I own an older Raspberry Pi 1 B with the ...
3
votes
4answers
11k views

How to make PCM5102 DAC work on Raspberry Pi ZeroW?

I purchased a PCM5102 for my PiZeroW, but having problems finding complete driver software information voltage information wiring information. I chose this particular unit because they seemed very ...
3
votes
1answer
2k views

Pi 3B+ jack audio inputs and low latency

Related: Raspberry Pi 3 audio input? I need to be able to input several jack microphones (minimum 2, more could prove useful) to my raspberry, to do some audio processing (between all inputs), and ...
1
vote
3answers
4k views

How to enable sound on Raspberry Pi 3 running Ubuntu 16

How do enable sound on a Raspberry Pi 3 running Ubuntu 16? I've tried the solutions outlined for Pi2, like this question, but nothing seems to work. Running sudo aplay /usr/share/sounds/alsa/...
0
votes
1answer
197 views

Enable audio over HDMI on Raspbian Jessie with AV Receiver

I am attempting to connect a Raspberry Pi Zero W with HDMI to an AV Receiver (Pioneer VSX-820). My interest is exclusively in playing sound over the speakers connected to the receiver, although there ...
0
votes
1answer
164 views

Retroactive audio recording/continuously record audio, save last X minutes on command?

I'm trying to set up my Raspberry Pi to continuously record the last X minutes of audio until given the command to save it to a file. The only comparison I can make is an NVIDIA Shadowplay for audio. ...
0
votes
0answers
7 views

Raspberry Pi 3B running Moode skips songs before they end on Tidal

I can't figure out what's happening here : My setup : I use Moode Audio 5.2 as the server and created an OpenHome renderer with the help of BubbleUPnP on my Mac to stream Tidal. I control everything ...
1
vote
1answer
12 views

Multiple microphone recording

I want to record from multiple microphones into separate USB microphones on a Raspberry Pi. Is this possible? Do I need to buy some sort of USB sound card?