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
0 answers
19 views

USB Sound Output Only Sending 16 Bit

I am using the RaspberryPi 4 running Raspbian (Debian: 10, Linux Kernel: 5.10) and have connected to my DAC (Cambridge Audio CXA61 which is a DAC/Amplifier) through USB. While playing a 24 bit, 96 kHz ...
user avatar
  • 1
0 votes
0 answers
54 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. aplay -l ...
user avatar
  • 101
0 votes
0 answers
26 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 ...
user avatar
  • 145
0 votes
0 answers
19 views

How can i read the actual time of the played Audio from VLC player?

i want to play a sound on my Raspberry over the VLC media player. I want to change between two songs, but dont want to restart the song from the beginning at 00:00.00. Instead i want to read the ...
user avatar
0 votes
0 answers
77 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 ...
user avatar
1 vote
2 answers
114 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-...
user avatar
1 vote
1 answer
98 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 ...
user avatar
  • 121
0 votes
0 answers
53 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 ...
user avatar
-1 votes
1 answer
93 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\...
user avatar
  • 119
0 votes
1 answer
71 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 ...
user avatar
  • 445
0 votes
0 answers
289 views

Connecting a pi-4 4GB to stereo for 5.1 surround sound

First I'm a new Raspberry Pi user on my first project. I have a Sony ZA3100ES Receiver set up to provide 5.1 surround sound that works great with DVDs and Cable TV but I want to connect to Netflix ...
user avatar
0 votes
0 answers
235 views

Raspberry Pi 4 no audio output and missing settings

Since a last reboot my Raspberry Pi 4 model b has no audio output. The taskbarsymbol is also missing. Anyone an Idea how to fix it?
user avatar
0 votes
0 answers
57 views

Will this work for the Pi 400?

I'm planning to buy one of these USB-A to 3.5mm Audio jack for the Pi 400 since it has no audio jack... https://www.amazon.com/gp/product/B089NJPSXN I don't have the option to use HDMI audio output (...
user avatar
0 votes
1 answer
3k 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 ...
user avatar
  • 157
0 votes
0 answers
858 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 ...
user avatar
  • 113
0 votes
0 answers
25 views

My usb sound card describes everything from my monitor even my "click" from the mouse

I have sound!!!! But with a problem.I bought a usb sound card(Sound Blaster Play!3).A voice from the speakers describes everything from my monitor even my "click" from the mouse.All words....
user avatar
  • 1
-1 votes
2 answers
346 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 ...
user avatar
1 vote
1 answer
220 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 ...
user avatar
  • 153
0 votes
3 answers
77 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 ...
user avatar
  • 1
1 vote
0 answers
36 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. ...
user avatar
1 vote
0 answers
59 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 &...
user avatar
  • 131
2 votes
2 answers
3k 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 ...
user avatar
1 vote
3 answers
277 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
51 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 ...
user avatar
  • 157
0 votes
2 answers
254 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....
user avatar
  • 101
0 votes
2 answers
374 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 ...
user avatar
1 vote
1 answer
67 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 ...
user avatar
1 vote
1 answer
259 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 ...
user avatar
0 votes
1 answer
749 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 ...
user avatar
0 votes
0 answers
20 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 ...
user avatar
  • 101
1 vote
1 answer
156 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 ...
user avatar
  • 11
2 votes
1 answer
309 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 ...
user avatar
2 votes
1 answer
100 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 ...
user avatar
  • 151
0 votes
1 answer
399 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....
user avatar
0 votes
1 answer
3k 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?...
user avatar
-1 votes
1 answer
171 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 ...
user avatar
0 votes
0 answers
374 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 ...
user avatar
  • 1
4 votes
3 answers
1k 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.
user avatar
1 vote
0 answers
480 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 ...
user avatar
1 vote
0 answers
127 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 ...
user avatar
1 vote
0 answers
29 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 ...
user avatar
1 vote
0 answers
656 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 ...
user avatar
  • 11
2 votes
0 answers
220 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 ...
user avatar
  • 21
0 votes
0 answers
2k 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. ...
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 ...
user avatar
2 votes
1 answer
763 views

How can I direct the output both of mpg123, and of eSpeak to the same ALSA sound device?

I'm currently struggling with the following scenario: I'd like to make my Raspi (3B) play a short MP3 jingle and then, after a 250 µsec pause, speak a short text by using an add-on sound card (...
user avatar
  • 445
2 votes
1 answer
727 views

Install spotify on raspberry pi 3 and run it remotely

I try mopidy and runeaudio, but the interfaces seem odd to me. I want to install the Spotify app on my Raspberry 3, and access music through a URL I can share with anyone connected to my wifi. Is ...
user avatar
  • 21
0 votes
1 answer
2k views

MPD with Bluetooth

Is it possible to run MPD with bluetooth in the Pi? Currently many guides which I have seen are mostly utilizing Upnp/Wifi setup to run. Now this is fine if there was only Apple devices. Since ...
user avatar
  • 151
0 votes
1 answer
207 views

Raspberry pi 3B+ HDMI audio truncated

Ruuning NOOBS. I can set the default audio to HDMI out, attach an audio extractor to the HDMI, and get sound out. Except, with two different brands of audio extractors so far, it's common for the ...
user avatar
  • 103
0 votes
0 answers
227 views

espeak hangs when I invoke from command line - headless server

For some reason espeak hangs when I try to run it. Here is what I am getting. Any suggestions? root@nifd:/etc# espeak hi ALSA lib pcm_dmix.c:990:(snd_pcm_dmix_open) The dmix plugin supports only ...
user avatar