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
0
votes
1 answer

Register virtual sound device from within application

I want to be able to process audio output of applications (VLC, Rhythmbox, ...) within my own one. Moreover, one should be able to select my application as the sink for the sound (e.g., in VLC or pavucontrol my application should appear as an output…
Sämy
  • 799
  • 2
  • 7
  • 17
0
votes
0 answers

How can I specify type for an "opaque" struct declaration with Cython? (empty struct `pa_threaded_mainloop` in PulseAudio)

So first, the high-level problem (though the question is, I think a general cython question): I'm using a raspberry pi to control some LEDs over an I2C bus. I'd like to control these by snooping the audio and doing fun signal-processing things, and…
Dav Clark
  • 1,430
  • 1
  • 13
  • 26
0
votes
1 answer

Automatically starting skype with pulse latency set to 60ms

I use OpenSuse 13.1. There is a bug in pavucontrol with skype, that causes a terrible noise when starting skype. It is solved by killing skype and starting it with >> PULSE_LATENCY_MSEC=60 skype This is great. Now I don't want to kill/restart skype…
dorien
  • 5,265
  • 10
  • 57
  • 116
0
votes
2 answers

How to play a sound onto a input stream

I was wondering if it was possible to play a sound directly into a input from python. I am using linux, and with that I am using OSS, ALSA, and Pulseaudio
Natecat
  • 2,175
  • 1
  • 17
  • 20
0
votes
1 answer

C++: How do I load a PulseAudio module via DBUS API?

The PulseAudio DBUS API page says that the arguments to LoadModule are Arguments: name : String, arguments : {String -> String} It also states that {String -> String} is a dictionary with a String key and String value. How do I send this via the…
MrUser
  • 1,187
  • 15
  • 25
0
votes
1 answer

generating the square wave with pulses

I am trying to modify the method of generating the square wave that it can generate eight pulses with different pulse width with 0.3ms delay each per a period. I have seen that sampleBuffer is responsible for generating the pulse signals but i am…
Jeff Bootsholz
  • 2,971
  • 15
  • 70
  • 141
0
votes
1 answer

Get AVRCP and BlueZ to work for controlling phone

not sure if I got everything right so please be a bit patient with me ;-) I setup my RPi with BlueZ + pulse (on Rasbian) audio working as A2DP receiver and it works like charm with my iPhone and iPad. For my project I would like to implement AVRCP…
p1ngu1n
  • 33
  • 1
  • 6
0
votes
1 answer

(How) Can I get a stream of all sounds recorded from the microphone that my computer did not produce? (using PulseAudio or something else)

I've been playing around with some speech-to-text and text-to-speech systems, and am running into the problem that when the computer makes sounds that it can recognize, it starts taking commands from itself. To avoid this, I'd like a stream of all…
Alan
  • 192
  • 1
  • 8
0
votes
2 answers

How to allow pulse audio script to increase volume over 100% through bash

I'm using this script to change volume in pulseaudio through keybindigs, but it has a 0% to 100% limit. As pulseaudio allows volume to increase over 100% (what is still to low on my notebook), I want to adjust it to allow 140% or 150% max…
paulodiovani
  • 1,208
  • 2
  • 16
  • 34
0
votes
2 answers

Recording each channel using ALSA API

I'm using a playstation eye, plugged into a raspberry pi. I have the raspberry pi recognising the built in microphone array of the PSEye and I can sample input levels using arecord -vv /dev/null -r 16000 -f S16_LE -c 4 -D…
benjgorman
  • 702
  • 10
  • 31
0
votes
1 answer

Undefined reference -- Local symbol

I am trying to add a new function "pa_context_set_sink_input_paused" to a c file. This c file is part of pulseaudio. I was able to able and successfully compile pulseaudio too. The code I added to the c file (which has many other functions defined…
Sathish
  • 227
  • 3
  • 11
0
votes
1 answer

pa_simple_new() failed: Connection refused

I am getting error pa_simple_new() failed: Connection refused while trying to call pa_simple_new function. Here is the code. int error; static const pa_sample_spec ss = { .format = PA_SAMPLE_S16LE, .rate = 44100, .channels = 2 }; /*…
Ibrar Ahmed
  • 1,039
  • 1
  • 13
  • 25
0
votes
1 answer

Broadcast a program's audio to a media server

I'm trying to broadcast an application's audio output to a media server like Adobe FMS, Red5, or IceCast. Is there a tool that can help me accomplish this, or a library that can help with building a custom solution in linux/windows? Thanks.
Muhammad Ali
  • 712
  • 7
  • 14
0
votes
1 answer

Regarding audio recording audio using pulseaudio API

I cannot record audio using monitor source of sink devices,from 2 to 3 days.I have reinstalled Pulseaudio, but the problem remains. I am using ubuntu 12.04 with default pulse audio. few day ago, i had same problem but I reinstalled ubuntu so I…
0
votes
1 answer

grabbing audio from sound card in linux

i am new baby to linux environment.so plz help me, I want to redirect audio stream into file which currently playing on speaker. but they must not be mix to each other if there two or more media player are running at same time. every stream which…