Skip to content

MIDI Monitor first-message latency #118

@aolsenjazz

Description

@aolsenjazz

Thanks for building and making these apps free + open source.

MIDI Monitor spy-on functionality has a bug where it reports an incorrect timestamp for receipt of MIDI messages. Below are the steps to recreate:

  • create a virtual MIDI port via rtmidi/CoreMIDI/whatever
  • send a message to the virtual MIDI port
  • MIDI monitor will likely report ~5-7ms in between send and receipt
  • send several midi messages in a small timespan (think spamming a pad/key/turning a knob)
  • when sent rapidly, midi monitor will report correctly, these events should be sent/received in < 1ms
  • wait a sec, send another message
  • MIDI monitor should report 10-30ms delay between send and receipt

I hope that accurately communicates the issue. Note that as more messages are sent, the delay increases - seemingly maxing out around 30ms. Tested CoreMIDI separately to ensure this wasn't a CoreMIDI issue. The easiest way to reproduce this might be using my app, Mimic (not trying to shill, but I made something to debug these problems).

14 inch Macbook pro 2023, M2 max, Ventura 13.3.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions