To have latency visible in the MacOS MIDI Network Setup, make sure the TimestampRtpPackets is set to true in the AppleMIDI_Settings.h
TimestampRtpPackets
true
AppleMIDI_Settings.h
https://github.com/lathoub/Arduino-AppleMIDI-Library/blob/bba15666b0e340c7a48adfbc61a4e898a28c23fd/src/AppleMIDI_Settings.h#L33-L35
This library will run on WIFI hardware (WIFI Shield or ESP32 Wifi), but when low latency is needed, go for wired Ethernet.
Latency in the MacOS MIDI Network Setup on an ESP32:
Wired Ethernet is better to reduce latency. Here is the same ESP32, but using an W5500:
The latency is very close to 0ms.
SAMD21 has low latency using the W5500
A slower ATMEGA2560 has a fixed latency around 3 ms.
(All above measurements done using the Ethernet3 library with an W5500 chip)
There was an error while loading. Please reload this page.