Questions tagged [pulseaudio]

a network-capable, multi-platform sound server.

Filter by
Sorted by
Tagged with
0 votes
0 answers
38 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
90 views

Pulseaudio - No USB Sound

I have a Raspberry Pi 4 and am running the Picroft Rasbian image. Picroft uses Pulseaudio to control the audio, but I can't get it to play anything from my USB speaker. The result of pactl info: ... ...
user avatar
  • 33
0 votes
0 answers
17 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
48 views

Noisy sound when using bluetooth HFP with Ofono and pulseaudio

Following everything mentionned here On my Raspberry Pi 4 with Raspbian Bullseye. I have an issue with the incoming and outgoing sound of HFP when calling with my paired phone. I can hear and speak ...
user avatar
  • 1
0 votes
1 answer
42 views

Set two sinks with pulseaudio

I have two raop speakers that I can stream audio to from my Raspberry pi using Pulseaudio and AirConnect. At the moment, I can set either one as the default sink and it works as expected. I would like ...
user avatar
  • 101
2 votes
1 answer
134 views

Bluetooth disconnects when SSH connection closes (RPi Zero 2)

I am trying to use a headless Rpi Zero 2 (Raspian 11) for bluetooth audio streaming. I can establish a connection to a bluetooth speaker using bluetoothctl connect XX:XX:XX:XX:XX:XX from an SSH ...
user avatar
  • 31
0 votes
0 answers
32 views

Launch audio python application on startup - pulseaudio

After much trial and error where I couldn't get systemd, cron, or other methods to work, I found that at least when running the desktop, pulseaudio launches with the desktop, and must be running ...
user avatar
0 votes
0 answers
46 views

Simultaneous multi output with LibreELEC

I am using LibreELEC now for a while and try to add a few Bluetooth speakers. So, does anyone know how to simultaneously output music via the analog output and bluetooth using LibreELEC and pulseaudio?...
user avatar
1 vote
1 answer
173 views

How to stop pulseaudio from deleting your .asoundrc file on startup?

I have a Raspberry Pi 4 and have been messing around with Pulseaudio and Alsa a lot lately. I wrote an asoundrc file which I want the system to run every time it's on. However, Pulseaudio keeps ...
user avatar
0 votes
0 answers
31 views

Calling pulseaudio: paplay - p record.wav from python script doesn't work

Objective: run a wav file from python on a Bluetooth headset paired to the raspberry Pi. So far my code works well when I run it on the raspberry pi in python. Once I call the same python script from ....
user avatar
0 votes
1 answer
134 views

Unable to get Qt5 audio to work using pulseaudio on Rpi 4

I'm on Raspberry pi 4 and the OS is DietPi I configured ALSA so I could play an audio file successfully through HDMI using aplay [an audio file] Then launched the PyQt5 app but got PulseAudioService: ...
user avatar
  • 1
0 votes
2 answers
324 views

bluetooth is not working after updation

am using pi 4 8GB for last 6 months everything was going well. Last week i updated my OS(raspbian). After that bluetooth is not working properly. i can able to pair a device successfully, but am not ...
user avatar
0 votes
0 answers
453 views

Raspberry Pi Audio - Can not get 5.1 Surround Sound Audio to output to HDMI

I have an applications where I need to do the following on a Raspberry Pi (3, 4, and/or Zero) running the latest version of Raspberry Pi OS: Play an AC3 file with 5.1 audio over HDMI. Play an MP3 or ...
user avatar
3 votes
3 answers
433 views

How to make pulseaudio use a surround profile?

I recently upgraded my Pi 400 to the latest Os version that now uses Pulseaudio by default. I have my Pi connected to an AVR (Harman Kardon 151S) that is connected to a 5.1 setup of loudspeakers. ...
user avatar
  • 135
0 votes
0 answers
142 views

Record USB System Audio and Send to Named Pipe

I am trying to get audio to LedFx, a controller for sound reactive LEDs. One of the ways it can read audio through its docker container is through a named pipe. The command ffmpeg -y -i http://wms-15....
user avatar
  • 51
0 votes
1 answer
526 views

Python script not playing audio when run through systemd

After trying every possible solution online I am posting this question. I have a python script that runs on boot with the help of systemd. Everything worked fine till I installed a fresh raspian ...
user avatar
3 votes
2 answers
13k views

How to fix audio after December 2020 update

I recently updated my Pi4 to the latest version of Raspberry Pi OS, following all the steps to change the audio software to pulseaudio - from the instructions on the website. https://www.raspberrypi....
user avatar
  • 71
1 vote
1 answer
455 views

No audio through 3.5mm jack when using QtMultimedia on RPI4B

I am currently trying to run a PYQT5 GUI on my RPI 4B using PYQT5 and its QtMultimedia. I have 2 speakers (running through an amp) connected through the 3.5mm jack (BMC2835 headphones), and while ...
user avatar
  • 11
0 votes
0 answers
1k views

How to set default ALSA input/output in pusleaudio on LibreELEC?

I'm using Raspberry Pi 3 Model B as LibreElec for Kodi. My Pi is connect on TV on HDMI. In kodi, when I select audio outputs HDMI or Jack it play sound well. But when I select Pulseaudio, it don't ...
user avatar
1 vote
0 answers
918 views

LibreELEC : read-only files system

I'm using PI as LibreElec for Kodi. I'm root in SSH and trying to modify, the file /etc/pulse/default.pa or /etc/pulse/daemon.conf for PulseAudio for an other problem. But all the directory is on read-...
user avatar
0 votes
0 answers
146 views

connecting bluetooth audio sink to PiFmAdv

I have a raspberry pi configured as a bluetooth audio sink using this post: Another How to turn your Pi in a Bluetooth Speaker Tutorial. Which uses pulseaudio. I also have the PiFmAdv configured and ...
user avatar
  • 131
1 vote
1 answer
248 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
39 views

How to control PulsAudio programmatically?

I want to set up my Raspberry Pi as Bluetooth-Audio-Receiver which transports the audio via AUX to my speakers. I've read that there is PulseAudio which would solve my problem. But I want to be able ...
user avatar
  • 101
0 votes
1 answer
221 views

No audio from HDMI, Bluetooth, or Jack port (Raspberry Pi 4B)

new user here. Finally got around to using my raspberry pi 4B this week and I'm having troubles getting audio from all 3 methods mentioned in the title. I've researched here and there for hours about ...
user avatar
  • 1
0 votes
1 answer
729 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
1 vote
0 answers
394 views

No sound with VLC on raspbian

I just re-installed raspbian on a PI3: after a raspbian update (apt update/upgrade): . there was sound with VLC, but video freezed . there was video with OMXplayer, but no sound . KODI was working as ...
user avatar
  • 21
2 votes
1 answer
513 views

Chopping audio over bluetooth with PulseAudio

I have an issue with a Raspberry Pi 3B+ and audio over bluetooth, it is configured with PulseAudio and BlueZ to connect my phone on the Pi, it works great but there is minor audio cuts (less than 0.5s)...
user avatar
1 vote
1 answer
1k views

Read Incoming Bluetooth Audio On Pi With Python

this is my first post on here! I am trying to make my raspberry pi 3 a bluetooth speaker which synchronizes beat of the music being played from a phone to an LED light strip. For the LED light ...
user avatar
  • 11
1 vote
2 answers
226 views

Can I use Raspberry Pi as a USB speaker?

Now I have A: Desktop PC with Arch Linux B: Raspberry Pi 3 with Raspbian Buster connected with a speaker and I'd like to use B as a wired speaker of A. By "wired", I mean that A and B are connected ...
user avatar
  • 131
1 vote
1 answer
40 views

How to stream AudioIN by PulseAudio

I'm new and I can't speak well in Eng. I need Your help. A few days ago, I bought UCA222 and I need to stream AudioIN by RTSP or sth like this. I was tried by OBS on RPi, but something is broken. Now,...
user avatar
2 votes
2 answers
125 views

Stream all system audio to Raspberry Pi from elementryos

I have this setup The old HP server I'm using as a desktop, but it doesn't have audio hardware at all - nothing in the bios, nothing on the motherboard. I want all audio from any application to go ...
user avatar
  • 141
2 votes
0 answers
88 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
1 vote
0 answers
39 views

How do I get audio working from inside LXD container?

I'm following the instructions in this blog entry: https://blog.simos.info/running-x11-software-in-lxd-containers/ where the container connects to the unix socket on the host: unix:/run/user/1000/...
user avatar
1 vote
0 answers
343 views

Route native Alsa app audio to bluetooth speaker with Pulseaudio?

I have an app that only supports Alsa, and I want to route its audio to a Bluetooth speaker. I'm attempting to use Pulseaudio to do it if that is possible. The Bluetooth speaker is paired and I can ...
user avatar
  • 11
0 votes
1 answer
395 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
2 votes
1 answer
99 views

Separate video audio output two Raspberry Pis

I own a projector which is obviously on the opposite site of the room than the audio system. I'd like to keep everything cableless, so one RPI is connected to the audio system, the other one to the ...
user avatar
0 votes
0 answers
76 views

pulseaudio server RP3 can't play audio from network client and local client at the same time

I have a Raspberry Pi 3 B connected to my speakers through a usb soundinterface. It's also connected via usb midi to a masterkeyboard which I use to play piano and doesn't have it's own speakers. On ...
user avatar
  • 1
1 vote
0 answers
98 views

Software/Framework Recommendations [closed]

I'm prototyping a device using a raspberry pi 3b+. Here are some of the requirements I'm hoping to fulfill. *When I say "device" I'm referring to the raspberry pi. Device Requirements Stream ...
user avatar
  • 11
0 votes
0 answers
737 views

VLC player can't play larger media files on raspbian

I am using Pi 4 for an week. I tried some media players available on repository like vlc,kodi,mpv etc. I have noticed none of them can play a media file(mp4,avi,mkv) smoothly. So I am stuck with vlc. ...
user avatar
  • 1,652
1 vote
0 answers
2k views

Raspi 4 - PulseAudio Server issues

I am currently trying to setup a pulseaudio server on a new Raspberry Pi 4. In our office, we like to listen to music but passing the aux cord around is always a pain, so we thought we could use a ...
user avatar
  • 111
1 vote
1 answer
217 views

How to get song information using PulseAudio?

I want to have a script that is continuously running in the background while I connect my phone via Bluetooth to play music. I need the script to get the total time length of the track, the current ...
user avatar
1 vote
0 answers
425 views

Best way to sync OMXPlayer video with audio stream?

I am having issues getting OMXPlayer video played on a TV via HDMI to sync with audio streamed over the network. My thought was delay the video output by ~500 ms then use pavucontrol to fine tune the ...
user avatar
  • 41
1 vote
0 answers
570 views

Mopidy with PulseAudio sound over TCP

So I have been struggling with this for a while now and looked everywhere for solutions. I have installed Mopidy with Spotify extension on my Raspberry Pi 3B but I can't seem to get the pulseaudio ...
user avatar
2 votes
1 answer
138 views

Using Pi to stream audio from PC to stereo

I would like to use my pi to stream the audio from my pc to my stereo. I am using the method described here. Unfortunately, my computer does not detect the pi. Some details about my installation: ...
user avatar
5 votes
1 answer
1k views

Bluetooth Blues

I've discovered again that cursing and swearing at inanimate objects doesn't actually improve things, so I'll try posting a question. A couple of months ago I attempted a fairly ambitious project (...
user avatar
  • 17.4k
3 votes
1 answer
2k views

Raspberry Pi 3 bluetooth stops working after a while

I use it to connect to a speaker (as a pulseaudio sink) dmesg | grep Blue shows the following: [ 14.034501] Bluetooth: Core ver 2.22 [ 14.034587] Bluetooth: HCI device and connection manager ...
user avatar
  • 31
2 votes
0 answers
297 views

Pi with PulseAudio over wifi - can't connect

I was trying to set up my RPi 1 as audio device for my laptop and found this answer. On the RPi all the steps worked fine, except that /etc/default/pulseaudio is empty. But in the linked answer the ...
user avatar
  • 121
1 vote
1 answer
100 views

How can I find the answer to "What does Raspbian use to handle audio?"

I think some releases of Raspbian handle audio differently than the previous version. If the use of ALSA or Pulse Audio (or some other software) has changed with Raspbian releases, what do I need to ...
user avatar
0 votes
1 answer
707 views

Pulseaudio module-combine-sink always throws Failure

I am new to pulseaudio. As per my requirement, I need my audio output to be routed to either connected speaker, bluetooth speaker, or both. I am able to play the media file on speaker, or bluetooth ...
user avatar
0 votes
2 answers
264 views

How to force upgrade of PulseAudio at Raspbian 8?

Is it possible to upgrade PulseAudio to version higher than 5.0? If yes, then how? Thanks!
user avatar