You are not logged in.
Hi,
I've installed MPD on my server, configured the music path I can play music on clients, but I don't have sound on client !
I've try audio_output HTTP and Icecast, I'm not interrested in these two solutions.
So I wanted to broadcast sound over network, so I leanrt about Pulseaudio, in my /etc/mpd.conf I uncomment the pulse sound card.
Edit /etc/pulse/default.pa in order to add my client IP
load-module module-native-protocol-tcp auth-ip-acl=192.168.1.5
And start pulseaudio --start.
On the client edit the /etc/pulse/client.conf to add server ip address.
default-server=192.168.1.10
And started as well !
Message error on client :
User-configured server at 192.168.1.10 refusing to start /autospawn.
I simply want to broadcast the audio_outup in the server to the clients
How can I fix it ?
Thanks in advance.
Last edited by NeanderMarcl (2013-07-15 11:49:36)
Offline
simply make sure the pulse server is actually RUNNING it cannot autospawn over network. so make sure its already working
and of course you need to supply the pulse IP on mpd.conf as well.
Last edited by Rasi (2013-07-13 21:59:24)
He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.
Douglas Adams
Offline
Also, pavucontrol is a nice tool that lets you graphically see your audio levels. If you run that, and see the displays bounce, you know that the audio is getting as far as the input of PA (or not). Then you know whether the problem is in the front end (between the source and PA) or in the back end (between PA and the sound hardware)
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
@Rasi : I've re-launch pulseaudio --start no problems on the server, but the same error on the client.
User-configured server at 192.168.1.10 refusing to start /autospawn.
@ewaller : pavucontrol shows me the MPD stream we can see the sound stream blue but I still can't hear anything.
Offline
Okay, so it is a back end problem.
In Pavucontrol, go to the Output Devices tab and check the port pull down. Make sure yours is set for something rational. Maybe try all the ones that make sense. Also, go to the configuration tab and look at the various profiles. Make sure that it, too, selects something rational; If you are using built in speakers, make sure it is not trying to use HDMI.
Then, pop over to your favorite mixer and make sure all the controls are un-muted and that the volumes are up.
If none of that helps, post the output of
pacmd dump
pacmd dump-volumes
and of
amixer
ewaller$@$odin ~ 1005 %pacmd dump-volumes
Welcome to PulseAudio! Use "help" for usage information.
>>> Sink 0: reference = 0: 35% 1: 35%, real = 0: 35% 1: 35%, soft = 0: 100% 1: 100%, current_hw = 0: 35% 1: 35%, save = yes
Input 0: volume = 0: 35% 1: 35%, reference_ratio = 0: 100% 1: 100%, real_ratio = 0: 100% 1: 100%, soft = 0: 100% 1: 100%, volume_factor = 0: 100% 1: 100%, volume_factor_sink = 0: 100% 1: 100%, save = yes
Source 0: reference = 0: 153% 1: 153%, real = 0: 153% 1: 153%, soft = 0: 153% 1: 153%, current_hw = 0: 153% 1: 153%, save = yes
Source 1: reference = 0: 100% 1: 100%, real = 0: 100% 1: 100%, soft = 0: 100% 1: 100%, current_hw = 0: 100% 1: 100%, save = yes
ewaller$@$odin ~ 1006 %pacmd dump
Welcome to PulseAudio! Use "help" for usage information.
>>> ### Configuration dump generated at Sun Jul 14 09:05:28 2013
load-module module-device-restore
load-module module-stream-restore
load-module module-card-restore
load-module module-augment-properties
load-module module-switch-on-port-available
load-module module-alsa-card device_id="0" name="pci-0000_00_1b.0" card_name="alsa_card.pci-0000_00_1b.0" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes card_properties="module-udev-detect.discovered=1"
load-module module-udev-detect
load-module module-jackdbus-detect channels=2
load-module module-bluetooth-policy
load-module module-bluetooth-discover
load-module module-esound-protocol-unix
load-module module-native-protocol-unix
load-module module-gconf
load-module module-default-device-restore
load-module module-rescue-streams
load-module module-always-sink
load-module module-intended-roles
load-module module-suspend-on-idle
load-module module-console-kit
load-module module-systemd-login
load-module module-position-event-sounds
load-module module-role-cork
load-module module-filter-heuristics
load-module module-filter-apply
load-module module-dbus-protocol
load-module module-cli-protocol-unix
set-sink-volume alsa_output.pci-0000_00_1b.0.analog-stereo 0x5ad5
set-sink-mute alsa_output.pci-0000_00_1b.0.analog-stereo no
suspend-sink alsa_output.pci-0000_00_1b.0.analog-stereo no
set-source-volume alsa_output.pci-0000_00_1b.0.analog-stereo.monitor 0x18675
set-source-mute alsa_output.pci-0000_00_1b.0.analog-stereo.monitor no
suspend-source alsa_output.pci-0000_00_1b.0.analog-stereo.monitor no
set-source-volume alsa_input.pci-0000_00_1b.0.analog-stereo 0xffff
set-source-mute alsa_input.pci-0000_00_1b.0.analog-stereo yes
suspend-source alsa_input.pci-0000_00_1b.0.analog-stereo yes
set-card-profile alsa_card.pci-0000_00_1b.0 output:analog-stereo+input:analog-stereo
set-default-sink alsa_output.pci-0000_00_1b.0.analog-stereo
set-default-source alsa_input.pci-0000_00_1b.0.analog-stereo
### EOF
>>> %
ewaller$@$odin ~ 1007 %amixer
Simple mixer control 'Master',0
Capabilities: pvolume pswitch pswitch-joined
Playback channels: Front Left - Front Right
Limits: Playback 0 - 65536
Mono:
Front Left: Playback 23253 [35%] [on]
Front Right: Playback 23253 [35%] [on]
Simple mixer control 'Capture',0
Capabilities: cvolume cswitch cswitch-joined
Capture channels: Front Left - Front Right
Limits: Capture 0 - 65536
Front Left: Capture 65535 [100%] [off]
Front Right: Capture 65535 [100%] [off]
ewaller$@$odin ~ 1008 %
Last edited by ewaller (2013-07-14 16:10:08)
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
It works !
The problems was the latencies between mpd and pulse I can adjust it by
buffer_before_play "100%"
But I would like to start pulseaudio after the boot.
Pulseaudio does not use systemd, how can I start it at the boot ?
Offline
It works !
The problems was the latencies between mpd and pulse I can adjust it bybuffer_before_play "100%"
But I would like to start pulseaudio after the boot.
Pulseaudio does not use systemd, how can I start it at the boot ?
You may look at systemd ---user or just add it to ~/.xinitrc
Linux odin 3.13.1-pf #1 SMP PREEMPT Wed Mar 5 21:47:28 CET 2014 x86_64 GNU/Linux
Offline
I don't have X interface.
How can I use systemd with pulse ?
Offline
I don't have X interface.
How can I use systemd with pulse ?
Look at the wiki article of systemd, you could ad it to ~/.bashrc too ( I would prefer the first one).
Linux odin 3.13.1-pf #1 SMP PREEMPT Wed Mar 5 21:47:28 CET 2014 x86_64 GNU/Linux
Offline