5 ms·
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 pa
by dmoreno 7y ago
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 https://github.com/davidmoreno/rtpmidid)
- paranoidrobot 7y ago> 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.
- salicideblock 7y agoIn 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 :)
- anonymfus 7y ago> 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.
- xf00 7y agoThis 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.
- dmoreno 7y agoMusic 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.
- paranoidrobot 7y agoOk, thanks - I wouldn't have thought 100ms variation would be that noticeable.
- crtasm 7y agoI notice if the soundtrack on a video is consistently off by 100ms, can believe a musician would notice occasional 100ms variation in a beat.
- jcelerier 7y agogood musicians can notice the difference between 10 and 20 milliseconds of latency pretty easily in my experience
- edejong 7y agoAs 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.
- whiddershins 7y agoI 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.
- mrob 7y agoExcellent demonstration at 6:52 here: https://archive.org/details/GDC2013Pavaheau https://archive.org/details/GDC2013Pavaheau Even 5ms jitter is perceptible, and 10ms is obvious when compared directly with 0ms.
- TazeTSchnitzel 7y agoAudio and video streaming have buffering, which hides most jitter. MIDI doesn't have that at all.