RuneAudio streaming one output to multiple clients

Raspberry Pi related support

RuneAudio streaming one output to multiple clients

Postby Cyborg_delta1 » 29 Oct 2018, 17:12

Hello

I really like the UI interface of Rune Audio and wanted to use it at the centre of my project. I am trying to create a multi room system where I can play music from one Raspberry Pi and the audio to played through out the house as if I have multiple speakers connected but due to the distance of the rooms normal speaker cable will not cut it. I have googled this and thought my best bet was Pulse Audio as it had a multi streaming service via RPT but documentation is very limited, I saw some one on this forum was trying the same thing but there has been no update so I decided to have a crack at it;

I started by running;
Code: Select all
pacman -Su


Then;
Code: Select all
pacman -S pulseaudio pulseaudio-alsa


The install went ok so I rebooted and ran pulseaudio -nC to start the demon service and then get this error;
Code: Select all
pulseaudio: /usr/lib/libc.so.6: version `GLIBC_2.27' not found (required by /usr/lib/pulseaudio/libpulsecommon-12.2.so)


I have searched high and low and there just seems to be conflicting information can any one help me or is there an easier way to achieve the same results?

Thanks in advanced
Cyborg_delta1
 
Posts: 3
Joined: 29 Oct 2018, 16:53

Re: RuneAudio streaming one output to multiple clients

Postby ianhaynes » 29 Oct 2018, 17:47

Provided you can live without synced streaming there's a very simple way, using MPD streaming. You'll need to edit the MPD config or, if you are using the 0.5b version, add a "your-extra-mpd.conf" file as described in this post http://www.runeaudio.com/forum/runeaudio-0-5-beta-for-all-raspberry-pi-models-t6532-140.html#p26219

Then, instead of the content shown in that post add:

Code: Select all
audio_output {   
    type        "httpd"
    name        "your stream name"
    encoder     "flac"
    port        "8000"   
    quality     "6"
    format      "44100:16:2"
    always_on    "yes"
    tags   "yes" 
}


On the other Rune systems you want to stream to, add a radio station entry pointing at the main one, similar to

http://192.168.x.xx:8000. They will them play the stream from the main player, albeit with a short delay.

For more details of this see the MPD documentation https://www.musicpd.org/doc/user/config_audio_outputs.html

Ian
Pi 2, Ver. 0.5b, IQAudio DAC+
ianhaynes
 
Posts: 205
Joined: 04 Mar 2015, 12:51

Re: RuneAudio streaming one output to multiple clients

Postby Cyborg_delta1 » 29 Oct 2018, 20:29

Thank you for the reply I will give that a go

But I was also digging around and found this in the debug

Code: Select all
PCM devices: (aplay -L)
--------------------------------------------------
null
    Discard all samples (playback) or generate zero samples (capture)
jack
    JACK Audio Connection Kit
pulse
    PulseAudio Sound Server
default
    Default ALSA Output (currently PulseAudio Sound Server)
sysdefault:CARD=ALSA
    bcm2835 ALSA, bcm2835 ALSA
    Default Audio Device
usbstream:CARD=ALSA
    bcm2835 ALSA
    USB Stream Output


and in out put I found this so would it be the case of adding the PulseAudio as an output for it to show up?

Code: Select all
MPD audio outputs status: (mpc outputs)
--------------------------------------------------
Output 1 (bcm2835 ALSA_1) is enabled
Output 2 (bcm2835 ALSA_2) is disabled

###### mpd version ######
mpd version: 0.19.0

###### mpd.conf ######
###################################
# Auto generated mpd.conf file
# please DO NOT edit it manually!
# Use RuneUI MPD config section
###################################

log_level   "default"
log_file   "/var/log/runeaudio/mpd.log"
state_file   "/var/lib/mpd/mpdstate"
zeroconf_enabled    "yes"
zeroconf_name    "runeaudio"
bind_to_address "/run/mpd.sock"
bind_to_address    "any"
port    "6600"
max_connections    "20"
user    "mpd"
group    "audio"
db_file    "/var/lib/mpd/mpd.db"
sticker_file    "/var/lib/mpd/sticker.sql"
pid_file    "/var/run/mpd/pid"
music_directory    "/mnt/MPD"
playlist_directory    "/var/lib/mpd/playlists"
follow_outside_symlinks    "yes"
follow_inside_symlinks    "yes"
auto_update    "no"
filesystem_charset    "UTF-8"
id3v1_encoding    "UTF-8"
volume_normalization    "no"
audio_buffer_size    "2048"
buffer_before_play    "20%"
gapless_mp3_playback    "yes"
mixer_type    "software"

input {
   plugin    "curl"
}

decoder {
   plugin    "ffmpeg"
   enabled "yes"
}
replaygain    "off"

audio_output {
   name       "bcm2835 ALSA_1"
   type       "alsa"
   device       "hw:0,0"
   auto_resample    "no"
   auto_format    "no"
   enabled    "yes"
}

audio_output {
   name       "bcm2835 ALSA_2"
   type       "alsa"
   device       "hw:0,0"
   auto_resample    "no"
   auto_format    "no"
}
Cyborg_delta1
 
Posts: 3
Joined: 29 Oct 2018, 16:53

support RuneAudio Donate with PayPal


Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 2 guests