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
0answers
15 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 ...
0
votes
0answers
48 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 ...
1
vote
2answers
41 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-...
1
vote
1answer
45 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 ...
0
votes
0answers
37 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 ...
-1
votes
1answer
46 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\...
0
votes
1answer
45 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 ...
0
votes
0answers
183 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 ...
0
votes
0answers
134 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?
0
votes
0answers
43 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 (...
0
votes
1answer
2k 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 ...
0
votes
0answers
399 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 ...
0
votes
0answers
50 views

MPD audio to HDMI and usb sound card

Right now i am using mpd to play music from usb sound card. Enabled usb sound card as per this link and modified /usr/share/alsa/alsa.conf Using mpdroid on android to control mpd. Is it possible to ...
0
votes
0answers
21 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....
0
votes
0answers
87 views

Raspberry Pi 4 not detecting Wireless headphones

Raspberry Pi 4 is not detecting my realme Buds Wireless Pro headphones I tried trouble shooting the issue by referring the following : https://peppe8o.com/fixed-connect-bluetooth-headphones-with-your-...
0
votes
1answer
127 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 ...
1
vote
1answer
140 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 ...
0
votes
3answers
47 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 ...
1
vote
0answers
23 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. ...
1
vote
0answers
55 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 &...
2
votes
2answers
2k 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 ...
1
vote
3answers
217 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....
1
vote
0answers
46 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 ...
0
votes
2answers
188 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....
0
votes
2answers
295 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 ...
1
vote
1answer
59 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 ...
1
vote
1answer
202 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 ...
0
votes
1answer
634 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 ...
0
votes
0answers
18 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 ...
1
vote
1answer
115 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 ...
2
votes
1answer
167 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 ...
2
votes
0answers
79 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 ...
0
votes
1answer
349 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....
0
votes
1answer
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?...
-1
votes
1answer
160 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 ...
0
votes
0answers
322 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 ...
3
votes
3answers
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.
1
vote
0answers
440 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 ...
1
vote
0answers
112 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 ...
1
vote
0answers
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 ...
1
vote
0answers
622 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 ...
2
votes
0answers
190 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 ...
0
votes
0answers
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. ...
0
votes
1answer
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 ...
2
votes
1answer
662 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 (...
2
votes
1answer
717 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 ...
0
votes
1answer
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 ...
0
votes
1answer
201 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 ...
0
votes
0answers
210 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 ...
2
votes
2answers
2k views

Command aplay does not work without sudo

The command aplay only works if preceded by sudo. omxplayer test.wav will play the audio I recorded with arecord just fine. aplay text.wav does not, but sudo aplay test.wav does. The suggestions from ...