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

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
89 views

Pi bluetooth audio: can't get LMS squeezelite audio to BT

I have a Pi 3B+ running Raspbian Stretch. I want to send audio via the built-in BT to a Logitech Audio Adapter which feeds my stereo. I can do this from the command line via either aplay or mpg123 so ...
0
votes
0answers
35 views

How to Volume control PAM8610 from RPI

Does anyone know how can I control PAM8610 module volume through code from RPI? Thanks.
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 ...
0
votes
1answer
789 views

Using digital microphone with my pi

I wanted to ask, can I connect a digital microphone to my pi somehow, so that the input will be digital and then to use the data and convert it to an audio file? If so, what should I get and how do I ...
1
vote
0answers
32 views

softly increasing and decreasing volume with mpg123

I am using Picroft on raspberry pi 3. In picroft, every mp3 files run with mpg123. I am creating my own device using this OS. when I say it to sing a song it starts singing by playing mp3 files and ...
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 ...
3
votes
0answers
871 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 ...
0
votes
1answer
37 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 ...
0
votes
0answers
47 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
50 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
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 ...
27
votes
3answers
119k 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
34 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
60 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 ...
2
votes
2answers
99 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
48 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 ...
0
votes
3answers
81 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 ?
1
vote
2answers
226 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
50 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
23 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
325 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
49 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
309 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
30 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
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 ...
2
votes
2answers
89 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
65 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 ...
2
votes
1answer
248 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
25 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
0answers
33 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/...
3
votes
2answers
6k 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
0answers
33 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
vote
0answers
40 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
84 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
136 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. ...
3
votes
4answers
13k 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
0answers
16 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
19 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?
2
votes
0answers
31 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?
1
vote
0answers
23 views

Is it possible to route audio via different software?

I use my rpi3 for a bunch of things, probably too many things. At the moment I use it for kodi, which plays audio through the HDMI output, and it's great. I would like to add some mopidy audio support,...
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 ...
0
votes
0answers
20 views

Pause/play and foreword/backward capability for audio files in raspberry pi

I am looking to play audio files on the Raspberry pi through the standard audio out. I also want to have pause/play and seek foreword/backward functionality. I am currently using pygame to play the ...
0
votes
0answers
38 views

Streaming microphone audio from Raspberry to PC and send back a responde created with a TTS software

The Pi will have a button and a microphone. The ideal scenario is like this: Someone presses a button The (USB) mic starts recording the audio (the recording needs to be saved for later research ...
0
votes
0answers
96 views

Create network audio stream from USB sound card input

I'm trying to accomplish the following project: I have a USB Soundcard connected to my Pi. Connected to the soundcards input is the output of my DJ mixer. I would like to have a simple network audio ...
2
votes
1answer
448 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 ...
1
vote
0answers
20 views

Pi-topCEED / Bluetooth áudio question

I’ve a Raspberry Pi 3B+ along with a Pi-topCeed and pi-top SPEAKER ver 2. Using Raspbian Stretch not pi-top OS. It works ok but for better quality I want to try using a Bluetooth speaker to play ...
4
votes
2answers
9k views

pulseaudio not autostarting on pi 3.

Pi 3 running on a unmodified updated raspbian jessie. Problem: The pulseaudio server does not run OR not properly run at startup. With defaults, where nothing was modified: ps aux | grep pulse pi ...