Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I read somewhere that musicians can only tolerate up to ~20ms latency to be able to perform together “live”.

The speed of light gives you ~186 miles per millisecond, which assuming you need to make a round trip in 20ms gives you an upper distance of ~1900 miles for live performance.

In reality however this will be much lower due to processing overhead, speed of light in fiber (~0.7e), and internet backbone topology.

Curious to know if the creators have done any tests, (or can show any demos) of the effective range this works at?



It's... complicated. What musicians can tolerate with practice and what will throw them off at first and muck them up is quite different. And there's the question of what you're playing - I can play slow stuff with terrible latency and it's fine, but start to play quick and you really feel it. It also depends on the instrument, it's a lot weirder playing something where the haptic feedback is off from what you expect on that instrument (or missing).

But in general, 20ms is considered the top end of fine. A good player can totally feel the difference between 10 and 20 though. Under 10 is not really an issue. After that, you have some stuff to get used to and while you might be able to jam, it's affecting you.


There's a whitepaper on the website. Short answer: they don't care

> There are a lot of people arguing that online jamming does not work because the overall delay is too high. They claim that latencies above 10 ms are not acceptable. In Jamulus typical overall delays are in the range of 30 to 70 ms. It is also typical that audio dropouts occur frequently (usually every 2 to 10 seconds per audible pop/interrupt sound). It has been our experience that, if the audio dropouts are not occurring too often, they are not perceived if the band members concentrate on their playing. If one focuses on the dropouts (and this is what people usually do when they try out the software) it feels annoying.


Latency is a lot lower than people generally think it is. I'm currently on a terrible satellite connection (not the popular one), and the latency to ping 1.1.1.1 averages 16.184ms right now, during awful weather, and never hits above 25ms. Probably the worst modern case scenario you could imagine for latency's sake, and significantly worse than I had ten years ago. In better weather, it's half that.

If you pull a few tricks, it wouldn't be anywhere near impossible to manage sub-20ms latency on your average connection. Now, over a web browser? I couldn't tell you. I wouldn't bet on it. But definitely possible natively.


And people don't realize how "high" latency is for sound in air. 3ms per meter. Sound is 400,000 times slower per distance. Someone 10 feet away in your living room has the same latency as someone about 750 miles from you via magic network pixies (ignoring routing/switching delays, and the latency of each computer at either end going from bits into the network card, to electrical signal changes out the sound jack.)

In your case, 25ms network latency is equivalent to being 8 meters from another musician. That's basically "the other side of a medium-ish room."

It is funny seeing HNers so incredulous that something like this would work, when apparently lots of musicians have been using stuff like this for over a year, without issue. I wish more HNers realized that being smart isn't about knowing things. It's about knowing what you know, and understanding things like biases.

"Well, my knee-jerk reaction is that latency would be a problem. But I'm not a musician and I have no experience here. And clearly a bunch of people put a fair amount of effort into this. Let me see if my knee-jerk reaction is correct by either waiting to seeing what people who have actually used it say, or doing out the math to compare typical network latency to sound-in-air delay."

That's what a smart person says to themselves.

A smart person does not say, "This couldn't possibly be practical, I'm going to comment immediately to that effect."


I think we have enough smart people that are also musicians on here.


> I'm currently on a terrible satellite connection (not the popular one), and the latency to ping 1.1.1.1 averages 16.184ms right now, during awful weather, and never hits above 25ms.

1.1.1.1 is anycasted to many points of presence, one of which might be in the same state as you, so this data point is somewhat irrelevant. I'd be more interested in seeing what king of latency & packet loss you experience to another residential connection far from your location.


Your objection is taking my comment in the least-intelligent light. There's no reason for this service to be P2P; MITMing the connection with a selective forwarding unit would work fine and is the natural conclusion one should reach when analyzing this problem. Cloudflare-in-the-middle would work perfectly.

Like any modern video game, or half of the decent video chat options in the world.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: