Skip to main content

MIDI Forum

Testing Web MIDI La...
 
Notifications
Clear all

Testing Web MIDI Latency on Android 6.0+ – Observations from VND88 MIDI Lab (2026 Build)

1 Posts
1 Users
0 Reactions
151 Views
Posts: 1
New Member
Topic starter
 

I’ve been running a series of mobile Web MIDI latency tests using an internal experimental build referred to as the <a href=" removed link " target="_blank" rel="noopener">VND88 MIDI Lab (2026 build). The goal is to benchmark event processing stability and controller response behavior across mid-range Android and iOS devices.

This is not a commercial release, but rather a controlled environment used to simulate multi-channel MIDI routing and real-time interaction.


Test Environment

Android

  • Android 6.0 – 13

  • 2GB–6GB RAM devices

  • USB-MIDI via OTG

  • Chrome (latest stable)

iOS

  • iOS 12+

  • CoreMIDI compatible devices

  • Safari (latest)

Web

  • Web MIDI API enabled

  • PWA mode with offline cache


Observed Performance Metrics

Under standard conditions:

  • Event processing latency: 8–14ms (USB-MIDI direct input)

  • UI rendering: Stable 60FPS on mid-range devices

  • Multi-channel routing: No noticeable jitter under 4-channel simulation

  • Session encryption: AES-256 handshake (for preset sync validation testing)

Latency variance appears to increase when background processes are active, especially on Android 6–8 devices.


Installation Context (Test Build)

Android test build (~75MB APK):

  • Signed package (SHA-256 checksum verified)

  • Requires network + storage permissions

  • USB device authorization required at runtime

iOS deployment:

  • Distributed via TestFlight

  • CoreMIDI authorization on first launch

Web fallback:

  • Progressive Web App mode

  • Add-to-home-screen supported

  • Offline event logging enabled


Interesting Findings

  1. Web MIDI performance on Android 6–8 shows greater timing drift compared to Android 10+.

  2. Chrome seems to manage buffer scheduling more consistently than some Chromium-based alternatives.

  3. USB permission reinitialization sometimes reduces latency spikes after extended idle time.


Open Questions for the Community

  • Has anyone benchmarked Web MIDI API latency across older Android devices?

  • Are there recommended buffer strategies to reduce 10–15ms fluctuation?

  • Any known limitations of OTG MIDI handling on low-RAM devices?

  • Best practices for stabilizing event timing in PWA environments?

I’m particularly interested in real-world field testing beyond lab measurements.

Appreciate any insight or shared benchmark data.


 
Posted : 27/02/2026 7:12 pm
Topic Tags
Share: