Menu

Does 'Listening' to a group jam put more load on the server ?

kieran
2020-08-13
2020-08-13
  • kieran

    kieran - 2020-08-13

    Hi Team,
    I like listening to groups jamming on public jamulus servers. Usually they are local (sub 30ms) but i was wondering what happens when i listen to a group with say 200ms delay/away ?  If  i have selected 'listener' on my profile, does that mean my delay is ignored by the server ?

    ...so many questions.

     
    • Gilgongo

      Gilgongo - 2020-08-13

      Hi Kieran,

      All the server is doing is taking what it gets from clients (delayed or not) and sending the mix back to each client. Your presence as a listener only impacts the server in terms of bandwidth use (it needs to allocate some bandwith for your stream).

       
  • kieran

    kieran - 2020-08-13

    but if i join a group with a long delay, does that mean the muscians hear the combined sound later ?

     
    • Lars L

      Lars L - 2020-08-13

      No, the server is not synchronizing the audio in any way. But as mentioned above, some (little?) extra work is needed by the server to create another "copy" of the sound mix to send back to you as well. So I say - keep listening! But perhaps present yourself in the chat asking "may I listen?".

       
  • kieran

    kieran - 2020-08-13

    Thanks Lars,
    So how does the syncing between musicians happen then ?
    How does a guitar with say 20ms delay sync up with a drummer with say 80ms delay ?
    Where does that sync management occur ?

     
  • DonC

    DonC - 2020-08-13

    The synchronisation is done by the players. They need to play ahead of the beat by the amount of lag they have. When everything is well synchronised coming back from the server the players are all actually playing at different times.
    It is not as impossible as it sounds as you get immediate feedback when you listen to the server signal how your part fits with the others.
    But it is also the reason why getting a low latency is so important.

    Note that this is not worse than playing on a big stage. Sound travels at about 345 meters a second, so already if you are playing with someone only 3.4 meters away you are hearing at a 10ms delay. A big orchestra synchronises as much by sight as by sound as light travels faster. But using video over the Internet introduces so much lag that it is practically impossible to play music.

     
MongoDB Logo MongoDB