News for hackers. Stuff that matters.
Re:Details about MIDI 2.0 by dmoreno on Saturday May 25, 2019 @05:11AM (#20007891)
I for one expect that MIDI 2.0 helps to boost the RTP MIDI protocol adoption (over ethernet). It has much more speed, longer distances, less latency, proper packet loss recovery (which is not a problem on local networks) and overall much better hardware ecosystem.

Even on WiFi it is useful although latency is very jittery.

Disclaimer: I'm working on a RTP MIDI implementation for linux (https://github.com/davidmoreno/rtpmidid)

Re:Details about MIDI 2.0 by paranoidrobot on Saturday May 25, 2019 @05:56AM (#20008067)
> Even on WiFi it is useful although latency is very jittery.

Could you elaborate on why Wifi latency jitter would be an issue for MIDI?

From an outsider's perspective and with only a vague knowledge of MIDI, it doesn't seem to be something that should be any more sensitive to latency jitter than other realtime applications like audio/video.

Re:Details about MIDI 2.0 by dmoreno on Saturday May 25, 2019 @06:18AM (#20008151)
Music performance is a synchronized effort, and with very precise timings. If there is lag, everything is just a bit late and a musician can (unconsciously) compensate up to some point. But for example (if my math is correct) 120 bpm, has 8th notes every 250ms.

If drum beat is sometimes, and only sometimes, 100ms later than it should, the result is not nice at all. And it is random jitter.

Re:Details about MIDI 2.0 by seandougall on Saturday May 25, 2019 @03:07PM (#20010649)
There’s also MIDI timecode, which has to send at four messages per frame (up to 120 messages per second), and whose entire job is to convey timing. It’s basically unusable over WiFi.
Re:Details about MIDI 2.0 by paranoidrobot on Saturday May 25, 2019 @06:40AM (#20008216)
Ok, thanks - I wouldn't have thought 100ms variation would be that noticeable.
Re:Details about MIDI 2.0 by edejong on Saturday May 25, 2019 @07:35AM (#20008412)
As an amateur musician, I played with real time synthesis a lot. Latency, and especially jitter in latency is the biggest enemy. 100 ms is an eternity. 5-7 ms is still noticible and anything above 10 ms becomes a nuisance. Some artists, especially drummers, hear 2 ms differences.

And it’s quite logical really. A reasonably fast tempo is 180 bpm. Playing sixteenths notes would separate them by 80 millis. Then you have separation in swing style sixteenths, funk (which is often ahead of the pulse by a tiny fraction) and the real scale is around 20 ms. That’s comparable to 50 frames per second.

This is also the reason (among others) why orchestras need conductors. The right side would hear the left side 100 millis later due to the speed of sound.

Re:Details about MIDI 2.0 by whiddershins on Saturday May 25, 2019 @08:40AM (#20008672)
I am of the belief you need to be in the sub-millisecond range for jitter, in order to be capturing a performance authentically.

Whatever the range of perception is, there’s going to be another range where people can’t consciously describe what they are perceiving, yet it affects them.

Re:Details about MIDI 2.0 by dkersten on Saturday May 25, 2019 @09:12AM (#20008832)
If you are playing an instrument, eg a MIDI keyboard, I’ve found anything above around 10ms creates a noticeable lag between when you physically touch the key and when you hear the sound.
Re:Details about MIDI 2.0 by crtasm on Saturday May 25, 2019 @06:51AM (#20008263)
I notice if the soundtrack on a video is consistently off by 100ms, can believe a musician would notice occasional 100ms variation in a beat.
Re:Details about MIDI 2.0 by jcelerier on Saturday May 25, 2019 @07:27AM (#20008384)
good musicians can notice the difference between 10 and 20 milliseconds of latency pretty easily in my experience
Re:Details about MIDI 2.0 by mixmastamyk on Saturday May 25, 2019 @02:53PM (#20010576)
For example, with a video player like vlc, try moving the sound out of sync with the video with the hot keys.
Re:Details about MIDI 2.0 by tomcam on Saturday May 25, 2019 @02:02PM (#20010328)
100ms is 1/10th of a second. It’s an agonizing wait when you’re playing.
Re:Details about MIDI 2.0 by salicideblock on Saturday May 25, 2019 @06:05AM (#20008095)
In broad terms, performing music is much more sensitive to latency than A/V playback is.

Think of it like playback vs a phone call. If you have 0.5s gap between audio and video, you hardly notice. But the same latency in a phone call makes it very awkward.

In music performance, the awkwardness would be multiplied by the number of spectators cringeing :)

Re:Details about MIDI 2.0 by anonymfus on Saturday May 25, 2019 @06:39AM (#20008211)
> If you have 0.5s gap between audio and video, you hardly notice.

If your video comes later than audio and depicts human mouth talking you would notice it ever for 1 frame (0.02s for 50 frames/s) delay; but it's true that if audio is delayed relative to video, then 0.5s is hardly noticeable.

Re:Details about MIDI 2.0 by xf00 on Saturday May 25, 2019 @11:01AM (#20009421)
This is because in the real world audio always arrives late compared to images. Our brain is trained to compensate.

Personally I start getting annoyed when the delay is above +200ms or under -50ms.

Re:Details about MIDI 2.0 by mrob on Saturday May 25, 2019 @06:57AM (#20008281)
Excellent demonstration at 6:52 here:

https://archive.org/details/GDC2013Pavaheau

Even 5ms jitter is perceptible, and 10ms is obvious when compared directly with 0ms.

Re:Details about MIDI 2.0 by TazeTSchnitzel on Sunday May 26, 2019 @10:49AM (#20015175)
Audio and video streaming have buffering, which hides most jitter. MIDI doesn't have that at all.