Questions tagged [audio-playback]

For questions pertaining to the hardware and software necessary to play back audio.

Filter by
Sorted by
Tagged with
0 votes
2 answers
30 views

Bluetooth audio issue

I'm running a 'bullseye Lite' system (i.e. no GUI), and trying to get it to play audio through a connected Bluetooth speaker. I'm not having much luck. I tried following an earlier approach (worked on ...
Seamus's user avatar
  • 22k
1 vote
0 answers
15 views

Use sound card for audio in and build in headphone Jack for audio out on the raspberry pi 4b

I am currently working on a university project with the raspberry pi. I have build an external microphone which I have to connect to the pi via soundcard. This works fine, it records fine all going ...
Lennart's user avatar
  • 11
0 votes
1 answer
120 views

Had to bridge the PCM5102A in order to get audio output with volumio

I’m working on a project with volumio so I decided to use this DAC for better Output. However I stumbled across a problem. I mostly followed this guide: https://raspberrypi.stackexchange.com/questions/...
TheHardwareduck's user avatar
0 votes
1 answer
24 views

Audio stops working after running shell script

This is my first question on this site, so please excuse (and point out) any mistakes I make in my post. I'm running Bookworm on a Rpi4. I need audio for a project that I'm doing, so I decided to use ...
Max's user avatar
  • 1
0 votes
0 answers
162 views

No HMDI audio using Raspberry OS on RPI4

Installed Raspberry OS on my PI4 and I cant seem to get the hdmi audio to work. I am using HDMI-1 Disabled the onboard audio Tried amixer commands Audio Settings in the rapi-config using pipewire. ...
Kendall's user avatar
  • 275
0 votes
0 answers
21 views

Configuration of iqaudio digiamp+ on Matlab

I try to implement a simple Simulink-model on my Raspberry Pi 4 model b . For this, I have a simple sine wave with 1/8000 sample time wich I pluged into an ALSA Audio Capture Block. When I try to run ...
Scorpio731's user avatar
-1 votes
1 answer
91 views

Cannot Find 'play' command in terminal

I am trying to add sound effects to live audio on a Raspberry Pi. I can succesfully do the same in terminal on my Mac using the following command. play "|rec -d overdrive 30 tremolo 50 50” ...
Bill Harvey's user avatar
0 votes
0 answers
38 views

How do I send a mono-wav file to a specific channel out of my USB audio interface from a RPi 4?

My USB audio interface is a Behringer UMC-1820. I'm working on a 8 channel sound installation where I'm sending mono audio to a specific output of the AI. I've seen a post How to feed 8 speakers 8 ...
Lawrence McGuire's user avatar
1 vote
0 answers
203 views

Suggestions on using Pi as an audio delay buffer

Trying to find a solution to using a Pi as an audio delay device (in the order of 10 minutes or so). I have an external analog audio source providing constant audio to the Pi via an external USB ...
Andrew Naylor's user avatar
-1 votes
1 answer
282 views

how to automatic detect song playing?

i’m planing on using a raspberry to automatically detect any song playing in a room and display it’s album art, is there a framework/api capable of song recognition? like soundhound or shazam?
Alfredo M's user avatar
0 votes
0 answers
139 views

PyQt QSoundEffect not working on Pi 4B

I am having a perplexing difficulty, in that I cannot get my PyQt program to produce any sound. I am able to get sound correctly from the Pi over HDMI using speaker-test and paplay, so I am happy ...
Christi's user avatar
  • 210
0 votes
1 answer
2k views

Send audio output to Bluetooth speaker

I am working on a Python script that lets Raspberry Pi 4 play audio announcements (mp3 format) at specified times. I am using the Python OS library to send the play audio commands to system. The aplay ...
Bahi8482's user avatar
  • 111
0 votes
0 answers
53 views

Short Bluetooth audio distortion at regular intervals

I'm using a Pi 4 to receive Bluetooth audio and play it back via HDMI on a TV, using stock 32 bit Raspi OS Buster. It works out of the box, using the built in Bluetooth device. However, at regular ...
Andreas's user avatar
  • 185
0 votes
0 answers
223 views

RPi4 audio periodically but randomly drops out

I am using a RPi4 and have connected it to ethernet and wifi, and run shareport to stream audio to my HDMI hifi (so I can have a wifi hifi!). I also installed Rhythmbox, so I can stream the radio to ...
DinghySailor's user avatar
1 vote
2 answers
527 views

Alsa passthrough Digital In to Analog Out

I have a LogiLink USB Soundbox 7.1 connect to a raspberry pi running rasbian and I want to passthrough the input of S/PDIF In to Speaker Front. I found this: Possible to route audio directly from usb-...
Nils's user avatar
  • 111
2 votes
1 answer
320 views

Audio not playing through Java on Raspberry Pi

The issue I'm trying to play sound on a Raspberry Pi 3 B+ through Java, but it doesn't work. I have Written code (shown below) in IntelliJ, and confirmed that it works on Windows 10. Connected ...
kviLL's user avatar
  • 131
0 votes
0 answers
78 views

Not Able to Change Volume with Cron (tried Python)

Alright, I've been trying this for several days and I'm just dying here... I am putting together a kiosk that should play video. I'm using a NUC with Raspberry Pi Desktop. Everything works but ...
kstthomsen's user avatar
-1 votes
1 answer
212 views

How do I change the PWM GPIO port in the sine_wave_pwm sample application of pico-playground?

This is the sample code in question: https://github.com/raspberrypi/pico-playground/tree/master/audio/sine_wave I cannot see where it has set it's PWM output pin. Inside "..pico-extras\src\...
user17915's user avatar
  • 119
0 votes
1 answer
206 views

ALSA: Why is the pitch of played sounds too low (½ the original frequency)?

I've just installed a fresh Raspbian Buster on My Raspi 3B+ together with a JustBoom DAC HAT sound card. With the old Raspbian installation, sound output went well after a couple of experiments, but ...
Neppomuk's user avatar
  • 452
2 votes
1 answer
13k views

How can I change the audio output device from the command line?

I want to be able to change the audio output device (hdmi or aux) from the command line, preferably, without having to sudo. I'm on a RPI4 with Raspbian-lite Buster. On the RPI3 I was able to use ...
deanresin's user avatar
  • 197
0 votes
0 answers
2k views

How to force audio output to HDMI/3.5mm jack on RPi4 B via CLI?

on RPi 3 we are using something like amixer cset numid=3 1 and then alsactl store to force sound output to jack 3.5mm and store configuration. I want same thing on my RPi4 model B, but it does not ...
Rohlik's user avatar
  • 115
0 votes
2 answers
2k views

Connecting the pi to a phone using a RJ11 cable to send and receive audio

I'm trying to connect the pi 4 model B to a phone that I bought off Amazon (https://www.amazon.ca/Wild-Wood-Phone-Retro-Design/dp/B00H20B2GM). This phone is not connected to a landline or anything as ...
afern001's user avatar
2 votes
1 answer
511 views

Alternative to Bluetooth for streaming Audio via Raspberry to stereo

I stream audio via bluetooth to my Raspberry which is attached to my stereo. Now, I'd like to have the same without bluetooth with IP only. (Basically to save the 5€ for a bluetooth dongle for a PC by ...
weberjn's user avatar
  • 163
0 votes
3 answers
145 views

Power Pi3b+ and 24V Amp off same supply

So I've got a few older pcbs for a low voltage tube headphone amp I built years ago - the Millett Hybrid - and was thinking I could put one together with my Pi3,IQAudio hat DAC, and WD passport HDD ...
Blooze's user avatar
  • 1
1 vote
0 answers
68 views

No audio from omxplayer when running mp4 from shell script

On PI 4 I can run a video from terminal : $ omxplayer -o alsa video.mp4 audio is ok. When I add this exact line in a bash file it plays the video but no sound. I have tried all variations of -o. ...
RANDY LEWIS's user avatar
1 vote
0 answers
93 views

Problem with choppy audio with VLC when mixing to mono?

I'm running the most recentist version of RP OS with most recentist version of VLC on RPI 3 A+. (Dec 2 2020 Buster) (VLC 3.0.11 Vetinari) I'm finding that the audio is "chopped" when the &...
chmedly's user avatar
  • 131
3 votes
3 answers
6k views

How do I force analog audio via the 3.5 jack when Pi 4 is headless?

I am deploying a Pi 4 on a wheelchair and require audio output to prompt the user. The Pi is headless (i.e. no monitor). On the bench, with a monitor, my code correctly sends the audio out the 3.5 ...
Richard Foulds's user avatar
1 vote
3 answers
498 views

Control the Raspberry Pi from my Desktop to play music

So I have a not-so-modern audio system (no Bluetooth or something, but AUX entrance), a desktop computer running Linux on the other side of the room, and a Raspberry Pi which I never used lying around....
user avatar
1 vote
0 answers
79 views

I simply want to be able to programmatically change the audio of a video to use headphones and not hdmi. Is this possible?

I tried amixer cset numid=3 1 but I get amixer: Cannot find the given element from control default I tested the headphones with speaker-test -t sine -f 440 -c 2 -s 1 and hear the sound through the ...
deanresin's user avatar
  • 197
0 votes
2 answers
552 views

Slow audio playback with PCM5102A I2S DAC

I'm using the same PCM5102A DAC board on a Pi B Rev2 as in this blog post with software configured as per this post, connected in the same way. The audio playback is slow but otherwise of good quality....
Andy J's user avatar
  • 101
0 votes
2 answers
677 views

No sounds playing from USB external speaker on Raspberry Pi

I'm trying to get some sound to play via an external USB connected speaker from my Rasp Pi 3 Model B. aplay -L gives me this entry (along with many others) default:CARD=Device USB2.0 Device, USB ...
jonmrich's user avatar
1 vote
1 answer
147 views

Scratchy audio with certain wav files

I'm using a Raspberry Pi 4 with an Adafruit I2S Stereo speaker bonnet. I've run their setup script and rebooted many times. I can play sample mp3 files just fine. They usually sound great. (I've had ...
Cameron Tacklind's user avatar
1 vote
1 answer
437 views

I want to allow two instances of mPlayer to play music over a single bluetooth link to a speaker

I have an application which makes two uses of playing two files at the same time. The first is where it plays a white-noise file very quietly and continuously so that the sound-card does not go to ...
David Goddard's user avatar
1 vote
1 answer
1k views

Raspberry pi 4 vlc isn't giving out audio

The below is the terminal log when I ran vlc. Could any one help me whats the issue here. I'm able to hear audio from youtube in chrome but not through vlc when i play file. Video is fine. The ...
krypter's user avatar
  • 11
0 votes
0 answers
23 views

VLC plays every other track silently and causes bizarre input problems?

I'm running a new Pi4 with Buster (desktop with recommended software) When I play media files off my old Mac hard drive, VLC works wonderfully for the first file. However, when I give it a whole ...
cjm's user avatar
  • 101
2 votes
1 answer
289 views

distorted & slow audio autput when booting with no HDMI on 3b+

If I boot my Pi 3b+ with the HDMI cord plugged in then my audio sounds fine. However, if I want to run it headless and I boot the device without the HDMI plug then the audio is very slow and ...
J Allen's user avatar
  • 21
3 votes
1 answer
1k views

Is there a way play a sound with a specific frequency that is transmitted through the raspberry pi's audio jack to a speaker?

I am trying to make it so that the code and change the frequency of the sound based on external inputs. So it should be able to update with new frequencies in real time. Preferably it would be with ...
SnailDragon's user avatar
5 votes
1 answer
409 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 ...
DonyorM's user avatar
  • 181
0 votes
1 answer
472 views

RPI 4 - HDMI audio dropping on the begining of videos

I use a RP 4 with raspbian as a basic media center. It is running a mopidy music server using alsamixer. The sound via the HDMI is has no dropping. But with mp4s, large or small, the issue is the same....
Christopher Lowden's user avatar
0 votes
1 answer
4k views

Does the Raspberry Pi 4 speaks Bluetooth aptX-HD?

I'd like to use a RPi 4 as a bluetooth audio receiver. For optimal sound quality I'd like to transmit the audio using Bluetooth aptX-HD. Can the built-in bluetooth receiver from the RPi 4 receive that?...
Ragadabing's user avatar
-1 votes
1 answer
241 views

making my own HIFI portable audio dac for raspberry pi zero w

i am currently thinking to setup a portable volumio audio player something like this one https://www.allo.com/sparky/miniboss-rpi-zero.html (i know i can order this instead nut my location(India) is ...
Apratim Ray's user avatar
1 vote
0 answers
480 views

Raspberry Pi, USB Audio Card and 3.5mm Microphone

I've been trying to use this USB Audio card: https://http2.mlstatic.com/tarjeta-de-sonido-usb-71-con-control-de-volumen-D_NQ_NP_904044-MCO31004989404_062019-F.webp as sound output and input. I ...
Bejuco's user avatar
  • 11
4 votes
3 answers
2k views

Play multiple mp3 files

I need to be able to play up to 8 mp3 files at the same time. Is this possible with the raspberry pi 3b+? They need to be started in python code.
mScientist's user avatar
1 vote
0 answers
682 views

Using Raspberry Pi to capture police scanner audio

I want to take a Police Scanner, connect the headphone jack to a RaspberryPi, and capture the broadcasts that are received, so when the recording is played back it is just the transmissions, but maybe ...
James Horn's user avatar
1 vote
0 answers
167 views

Aux and HDMI audio options missing

Background (To give some perspective on the issue): I am using mopidy and mopify as an audio server on a Raspberry Pi 3 B+. WHen setting this up, I found that it would not output through a USB audio ...
NathanielJS's user avatar
1 vote
0 answers
32 views

Send 24/96 pcm music from an rpi3b+ to a zero one

As my title says, I'd like to send audio from an rpi3b+ to another one. Preferably a zero one via a GPIO connection. My target is to have a dedicated device to only manage an USB DAC. Ideally an Rpi ...
Julien Pardo's user avatar
1 vote
0 answers
797 views

Connect Raspberry Pi via Bluetooth to Sound Bar

after spending the last couple of weeks trying to connect my bluetooth soundbar to my Raspberry Pi 3 B+ and playing all audio output on it I am close to giving up. Using the GUI I can successfully ...
lukas's user avatar
  • 11
2 votes
0 answers
347 views

Raspberry as audio bridge

I have a car with a 3.5mm jack for aux-in. It has also BT for my phone. In my phone, I have deezer (more or less like Spotify) that I use to send music to the car audio system. It works fine, but ...
McuGuy's user avatar
  • 21
0 votes
0 answers
4k views

What might be causing "Failed to open ALSA device" errors when using a DAC board?

The equipment I'm using: Raspberry Pi Zero W Allo BOSS DAC board Volumio music player software official Raspberry Pi PSU I've tried more than one official Raspberry Pi PSU as well as other PSUs. ...
Daniele Procida's user avatar
0 votes
1 answer
2k views

How to use WM8960 Audio Board on Raspberry Pi Zero W

I'm trying to use the WM8960 Audio Board (not the HAT) on a Raspberry Pi Zero W. I followed the instructions for the HAT to install the driver (WM8960 Audio HAT User Manual). It seems to be installed ...
nkl-kst's user avatar