News for hackers. Stuff that matters.
Re:How Fast Is a PS/2 Keyboard? by bitwize on Monday August 06, 2018 @06:27AM (#17696422)
Absolutely. Musicians can feel latency as low as 1ms when playing a digital instrument. You bet your ass it matters to people used to immediate response.
Re:How Fast Is a PS/2 Keyboard? by gmueckl on Monday August 06, 2018 @06:48AM (#17696517)
1ms latency, you say? With a speed of sound of 340m/s, this corresponds to distance between loudspeaker and ear of 0.34m. So, anything except headphones will add more than 1ms of latency.

I get that the rhythmic nature of music enables precision at the scale of a few ms because musicians can anticipate these moments in time (reaction time does not apply). But I'm baffled by claims of sensitivity to delays less than about 10ms because these are near or even over the limits of acoustics. For example, when you do the math, you'll see that it is basically impossible for a large enough orchestra to play perfectly in sync. But a good orchestra can give the impression of a precise performance despite that. This can only mean that the human hearing is less precise than what people claim.

Re:How Fast Is a PS/2 Keyboard? by panuma on Monday August 06, 2018 @08:06AM (#17696907)
Speed of sound in e.g. wood is 10 times faster than in air. So an electric guitar player with 3.4m cord to the amp can feel a latency of 1ms for low frequencies through the stage and his feet. Humans have more rhythmical precision with said low frequencies. Symphonic orchestras are not known for their tight rhythm.
Re:How Fast Is a PS/2 Keyboard? by panuma on Monday August 06, 2018 @08:24AM (#17696993)
Superior time perception for lower musical pitch explains why bass-ranged instruments lay down musical rhythms http://www.pnas.org/content/111/28/10383
Re:How Fast Is a PS/2 Keyboard? by userbinator on Monday August 06, 2018 @12:45PM (#17699257)
I get that the rhythmic nature of music enables precision at the scale of a few ms because musicians can anticipate these moments in time (reaction time does not apply).

I think it's more like an "equivalent time sampling" effect, and the perceived 1ms latency is actually a perceived phase shift.

Re:How Fast Is a PS/2 Keyboard? by gmueckl on Monday August 06, 2018 @11:51PM (#17703743)
What kind of phase shift are you talking about? Humans cannot hear the phase of a single oscillation. Beats produced by two tones with shifted frequency are audible because the resulting amplitude is a function of time. But this is unrelated to timing and rhythm of music.
Re:How Fast Is a PS/2 Keyboard? by purerandomness on Monday August 06, 2018 @07:53AM (#17696849)
The speed of sound is a constant, so I'm sure the brain filters it out.

What you can hear are changes in latency which get added to the constant time the signal travels to the brain.

Re:How Fast Is a PS/2 Keyboard? by Gibbon1 on Monday August 06, 2018 @06:38AM (#17696462)
I remember a friend editing tracks for a video. He was annoyed that the tool he was using couldn't align the drum track close enough, difference was plus minus 10ms or some such. I think the thing is you can't discern 10ms absolute but you can easily hear a 10ms differential.
Re:How Fast Is a PS/2 Keyboard? by jve on Monday August 06, 2018 @08:14AM (#17696946)
Hmm, this got me interested. Found a tool which I can use to test myself what kind of difference do I hear: https://www.audiocheck.net/blindtests_timing_2w.php?time=5

With some training I could achieve >95% confidence in discernig 5ms with my headphones.

Re:How Fast Is a PS/2 Keyboard? by phaus on Monday August 06, 2018 @11:21AM (#17698373)
In just a few minutes I was able to start identifying the difference between synced audio and a 5 ms delay. That's about my limit. I wasn't able to get the 2ms delay correct more than you would expect from guessing.
Re:How Fast Is a PS/2 Keyboard? by Zelizz on Monday August 06, 2018 @05:44PM (#17702030)
I managed to get "76/100 (76%) — Confidence : 99.99%" for the 1ms test. I wonder if headphone quality makes a difference?
Re:How Fast Is a PS/2 Keyboard? by phaus on Monday August 06, 2018 @07:46PM (#17702758)
I have a pretty good setup with a DAC/AMP + nice headphones. You might have a better setup but I think my hearing just isn't good enough.

Age impacts the frequency range that most people can hear. That might be a factor here too. I'm in my mid 30s, are you younger?

Re:How Fast Is a PS/2 Keyboard? by agumonkey on Monday August 06, 2018 @06:53AM (#17696539)
music is surprisingly sensitive to the slightest differences
Re:How Fast Is a PS/2 Keyboard? by aljarry on Monday August 06, 2018 @09:10AM (#17697230)
Some real-life tests disagree, saying 10-15ms is roughly the minimal latency noticeable by musicians, while 20 for "normal humans".

Tests: http://whirlwindusa.com/support/tech-articles/opening-pandor...

Re:How Fast Is a PS/2 Keyboard? by nickjj on Monday August 06, 2018 @10:20AM (#17697766)
With my old audio set up I had about a 12ms delay from talking into a microphone and being able to hear myself in headphones.

It screwed me up so much from the delay that I had to take my headphones off when recording otherwise I couldn't put together a sentence.

Re:How Fast Is a PS/2 Keyboard? by aljarry on Tuesday August 07, 2018 @02:48AM (#17704337)
How did you measure the 12ms?
Re:How Fast Is a PS/2 Keyboard? by nickjj on Tuesday August 07, 2018 @07:16AM (#17705441)
The DAW I was using (REAPER) had a label which showed the latency.
Re:How Fast Is a PS/2 Keyboard? by chronial on Monday August 06, 2018 @06:43AM (#17696489)
Can you give a source for that? My understanding is that we just identify latency and account for it. The human reaction time is orders of magnitude higher that 1ms.
Re:How Fast Is a PS/2 Keyboard? by panuma on Monday August 06, 2018 @08:19AM (#17696971)
https://www.researchgate.net/profile/Robert_Jack4/publicatio...

This claims that for percussionists 20ms is too much but 10ms is not. As a bassist I disagree, and think under 5ms is acceptable.

Re:How Fast Is a PS/2 Keyboard? by Gibbon1 on Monday August 06, 2018 @10:18PM (#17703458)
I had a meeting with a group that was looking into wireless game controllers. They said they really wanted <2ms latency over the wireless link because they didn't want the total latency to be more than 8-10ms.

Because tween gamers could totally tell when the lag gets above 10ms. Which is all well and good but 12 year old boys start throwing the game controller when that happens, which causes higher failure rates. Which means more warranty returns.

Re:How Fast Is a PS/2 Keyboard? by chronial on Monday August 06, 2018 @09:02AM (#17697164)
thx, that's interesting to see
Re:How Fast Is a PS/2 Keyboard? by short_sells_poo on Monday August 06, 2018 @12:08PM (#17698845)
I think we have to distinguish reaction and perception. A musician or gamer might perceive <5msec latency and it might be jarring/disturbing for them. This is different to actually reacting to events in <5msec time.
Re:How Fast Is a PS/2 Keyboard? by chronial on Monday August 06, 2018 @12:39PM (#17699188)
The important point is that there are massive delays between these steps:

    1. Your brain wants to move a muscle
    2. The muscle moves
    3. The effect of the move is processed by your brain
And still you think stuff happens instantly and you can hit a beat etc. Our brain just adapts to the latency and removes it from our perception. It it thus not a big deal if you add a little bit of latency between step two and three. As long as that latency is constant, our brain just adapts.

This is of course only true if there are no reference points with lower latency. E.g. if you drag an item across a smartphone, we notice tiny latencies, because our finger moves before the icon – something we can easily see.

Re:How Fast Is a PS/2 Keyboard? by frou_dh on Monday August 06, 2018 @06:59AM (#17696576)
Much the same phenomenon as line-drawing with a stylus on a tablet screen. It has to be really low latency to not feel cheesy compared to pen-and-paper.
Re:How Fast Is a PS/2 Keyboard? by izzydata on Monday August 06, 2018 @10:11AM (#17697665)
There is no chance of that. As someone who has played music games for 20 years with timing windows as small as around 15ms I can safely say anything less than 10ms would be imperceptible.

It isn't about training and practice. There is just a physical limitation of being a human.

Re:How Fast Is a PS/2 Keyboard? by phaus on Monday August 06, 2018 @11:24AM (#17698403)
As far as listening to music and determining there is something wrong with it because you noticed a 5ms difference, I find that hard to believe.

However, when given samples of audio with no delay and a 5ms delay. I, with no special talent and no musical training, was able to start accurately identifying the delayed audio almost every time after a few minutes of practice.

The difference isn't imperceptible when it comes to a single noise when we are specifically told to look for it, but I would bet that its imperceptible when it comes to just randomly listening to music.

Re:How Fast Is a PS/2 Keyboard? by rawTruthHurts on Monday August 06, 2018 @08:00AM (#17696879)
Your bet your ass that less than 5ms go unnoticed by serious pros in the business.