Communicating MIDI over USB

Anyone that’s succeeded with communicating MIDI over USB from a Cordova application?

I’m currently using BLE, but would prefer USB for latency and other reasons.

Primarily for Android.

I’ve found plugins for serial port emulation, but MIDI is a specific device type.

Thanks in advance.