Shairport question

Volumio 3.804/ Shairport

I have questions about shairport. I want to use it for streaming appleTV to Volumio. It works but with a lot of delay. How I can I rit off the delay? When you start streaming it stutters also a lot but goes away after a view seconds.
Is shairport is the same as airplay and it works with you’re network? I have everything wired. Accept my iphone, then also stuttering.
The delay is around 4 seconds. I tried to edit /etc/shairport-sync.conf but seems to have no effect.

I figure it out. You can edit “volumio/app/plugins/music_service/airplay_emulation, sudo nano shairport-sync.conf.tmpl”

add audio backend:

general =
{
name = “${name}”;
ignore_volume_control = “yes”
audio_backend_latency_offset_in_seconds = -0.45
audio_backend_buffer_desired_length_in_seconds = 0.15
};

-0.45= 4.5 seconds delay. Lipsinc problems are solved this way.
I changed it 0.20 buffer and -0.295 latency. Almost no stuttering now…

You have to know that it will prevent future Volumio update.
:wink:

ohh thanks for the info , than I back up my settings and do always clean install.

1 Like

I now where the delay comes from. lypsinc out of sync and the stuttering etc. It is caused by fusion DSP. Without it no problems.

hello!
Processing DSP introduces delay, no doubt, not a bug…
Stuttering is rather due to buffer setting.

1 Like

I like to use the dsp for improve the bass sound. But also like to stream AppleTV to Volumio. I did increase the buffer to 0.25 and then no stuttering. But till now I can not find the good latency value for it.
Do I have to make a choice between dsp or no dsp?

I do not get it right anymore. I changing the buffer but still stuttering. Too bad. So I can not use DSP I guess when airplaying.

Did you test volumio beta based on bookworm?
It could be better…

on the alpha the buffering was even worse. Do I get the beta bookworm from 192.x.x.x/dev enable testmode? Or do I have to install alpha and than update?

You need a fresh install.

So far as I can find there is no beta bookworm? Only alpha yet?

Everything is here Public Alpha Test: Audio Without Compromise - Volumio on Bookworm Begins

only alpha latest 0.066. I did already test that one.

Beta Phase (Coming Soon)

  • Focus shifts to user experience:
    • Plugin compatibility and integration
    • Interface behavior
    • Display and control plugins
  • Broader testing encouraged - complete plugin functionality expected

I think the buffering is because of the limited ram on rpi3(1gb) It is also on bluetooth (4.2 bluetooth I think) with a lot of out of lipsync. When I stream from Appletv to my active speaker with bluetooth no problems no delay no buffering.
On the rpi5 is bluetooth 5.0 that could be an improvement. Than I have to find using bluetooth or airplay to raspberry (Volumio). With the rpi3 I stop trying. Specs of that board are not good enough for Volumio. Only standard use.

thanks for all the support and information so far.