Skip to content

[BUG]: MIDI Services slower data transfer speed compared to classic WinMM #781

@sat-okada

Description

@sat-okada

Windows Version

27954.br_release.250919-1230

Service Installation Method

GitHub

SDK version, if appropriate

1.0.13-preview.13.192

Location

Application using WinMM MIDI 1.0 (Classic API)

Type of bug

Application not working as expected

Steps to reproduce

Report about two type of message.

The first is about Note On/Note Off messages.

  1. Install UUT_USB_MIDI_ECHO_NO_PRINTF.uf2 on ProtoZOA
    This works like looping back a message sent from the Host.
  2. Connect ProtoZOA to PC.
  3. Use USBAUDIO.sys
  4. Pocket MIDI loads 65536/131072/262144/524288 Note On/Off messages in System Exclusive window
  5. Sends messages
  6. Measure the time until all messages returned by loopback are received by Pocket MIDI's MIDI In Monitor
    Comparing with MIDI Services installed and uninstalled, the former takes 1.2 to 1.3 times longer.

The second is about SysEx messages.

  1. Connect SEQTRAK to PC via USB.
    This is Full-Speed device.
  2. Launch SEQTRAK App
  3. Use USBAUDIO.sys
  4. Select PROJECT/SOUND MANAGER
    Backup projectBackup process uses SysEx messages, which are sent in SEQTRAK MaxPacketSize (64KB) increments.
  5. Measure the time until the progress bar extends to the end and the backup is completed.

Comparing with MIDI Services installed and uninstalled, the former takes 1.6 to 1.8 times longer.
As for SysEx, changing to Usbmidi2.sys slows it down about 2x more.

Expected behavior

MIDI Services installed, same transfer rate as before.

Additional notes

No response

Metadata

Metadata

Assignees

Labels

bug 🐞Something isn't workingfixed-awaiting-public-release 🕙Fixed in our internal builds. Waiting to make its way to a public release.optimization ☄️Related to optimizing performance or other aspects

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions