Questions tagged [pulseaudio]

PulseAudio is a sound system for POSIX OSes, it is a proxy for your sound applications. It allows you to do advanced operations on your sound data as it passes between your application and your hardware. Things like transferring the audio to a different machine, changing the sample format or channel count and mixing several sounds into one are easily achieved using a sound server.

PulseAudio is sound server for linux proposed to replace OSS. It allows input from multiple applications and perform mixing before forwarding it alsa. PulseAudio provide userlevel tools for more control over audio. PulseAudio is bundled with ubuntu and other linux OS by default.

369 questions
2
votes
0 answers

ALSA issue playing multiple audio using mpg123 stretch (jessie was fine!) Raspberry PI

I've been chasing this issue down for a few long (long) days and can now 100% reproduce but not sure actually whats causing the issue. This used to work 100% under jessie but not stretch (ive re-checked at I am right it works). Let me explain how to…
NiWa3836
  • 21
  • 2
2
votes
1 answer

Getting volume value from pulseaudio

I've written this code by looking at various examples: Python pulseaudio monitor, Pavumeter source, async playback example, and Pacat source. I have successfully connected to a sink and am able to record it, but my problem is, I'm stuck at getting…
Marius
  • 39
  • 3
2
votes
1 answer

unable to install pulse aduio

I accidentally removed pulseaudio using "sudo apt-get remove pulseaudio" and now i am unable to reinstall it. audio on my computer is mot working anymore. please help i have my project demonstration tomorrow. sudo apt-get install pulseaudio Reading…
2
votes
0 answers

Play sound in octave with pulseaudio

I would like to play sound in octave with pulseaudio. I saw this post but the octave audio management is changed in the new releases and it is not longer possible to use paplay like say that post, I have the version 4.2.1-4 Now when I try to use…
Andrea993
  • 663
  • 1
  • 10
  • 23
2
votes
0 answers

How to process audio stream in realtime

I have a setup with a raspberry pi 3 running latest jessie with all updates installed in which i provide a A2DP bluetooth sink where i connect with a phone to play some music. Via pulseaudio, the source (phone) is routed to the alsa output (sink).…
x29a
  • 1,761
  • 1
  • 24
  • 43
2
votes
1 answer

Pulseaudio and sudo in Python

I am running a script that works on sockets.. It requires sudo to run.. however, Inside the script i call another script that requires not to be run as sudo here is the code: import subprocess import socket s=socket.socket(socket.AF_INET,…
Daveyman123
  • 315
  • 3
  • 13
2
votes
0 answers

Pulseaudio/alsa : slow playback device wake-up

I have a Debian machine (3.16.0-4-amd64 #1 SMP Debian 3.16.36-1+deb8u2 (2016-10-19) x86_64 GNU/Linux) on which I have some audio devices connected. The devices that are stereo works well, but I have a problem with a mono headset. When I type the…
MythTitans
  • 63
  • 5
2
votes
0 answers

PulseAudio Preferences (paprefs) without a desktop GUI

I'm trying to set up a raspberry pi with a docker mopidy service (wernight/mopidy). To follow this step: Launch paprefs (PulseAudio Preferences) > "Network Server" tab > Check "Enable network access to local sound devices" (you may check "Don't…
benwiz
  • 2,167
  • 3
  • 22
  • 33
2
votes
2 answers

Storing AAC Audio and Retrieving

I would like to store a file which has AAC audio frames, For that i used the below pipeline, gst-launch-1.0 filesrc location=Test_44100Hz_2ch_s16le.wav ! "audio/x-raw,rate=44100,format=s16le,channels=2" ! audioparse format=raw raw-format=s16le…
2
votes
1 answer

Configuring MPD with an 5.1 external surround sound card

I've read tons of threads about this, but i cant figure it out. So i have a MPD server running on Raspbian, with an external sound card attached to it. Music works fine trough mpd with the 2 channels, but not for 6 channels. Also i am confused…
Julian
  • 385
  • 2
  • 9
2
votes
1 answer

ALSA PCM device network streaming

I am writing an application in C++ intended to stream data from a PCM device (microphone) to a remote server. I have successfully been able to stream a recorded wav file to the server, and I have been able to output the mic input to a file. The…
claudia
  • 87
  • 3
2
votes
1 answer

Pulseaudio sound streaming for multiple users on tcp using Guacamole VNC

Ubuntu 14.04. I have PulseAudio running as daemon, and configured to do streaming. In /etc/pulse/default.pa I have added the following, to accept TCP connections: load-module module-native-protocol-tcp auth-ip-acl=192.168.1.0/24…
sunapi386
  • 1,167
  • 14
  • 18
2
votes
1 answer

Using GStreamer to connect to a PulseAudio stream

I'm trying to write a program that uses GStreamer to connect to PulseAudio as a source so that I can intercept any audio that's being played. I have no need to play it back so my assumption is that my pipeline only needs a source and demuxer, I'm…
geoffjay
  • 413
  • 4
  • 13
2
votes
0 answers

how to set PulseAudio streams for accessibility purposes

I have a small Python script that sets up PulseAudio such that the Festival speech synthesis program can pipe synthesised speech into Skype calls. This is to enable someone that is unable to speak to have a voice at regular Skype group meetings. It…
d3pd
  • 7,935
  • 24
  • 76
  • 127
2
votes
1 answer

Saving a Pulse Audio stream with Haskell bindings

Using the pulse-simple package I have made the following code: main=do s<-simpleNew Nothing "example" Record Nothing "this is an example application" (SampleSpec (F32 LittleEndian) 44100 1) Nothing Nothing xs<-simpleRead s $ 44100*10…
HEGX64
  • 221
  • 1
  • 9