Skip to content

Unusually high delay on Midi 'out'.  #493

@eldorel

Description

@eldorel

Describe the bug
Generating a midi CC and sending it to an output "device" has a VERY long delay before the event is visible on the midi bus. Virtual and physical devices are affected exactly the same way.

To Reproduce
Steps to reproduce the behavior:

  1. Install midiview ( Midiview )
  2. connect midiview to midi device (and/or install RTPmidi for testing.)
  3. set element midi input and output device to midiview
  4. Generate MIDI CC signal (Build-in midi keyboard is sufficient.)
  5. observe delay between keypress and the midi event in midiview.

Expected behavior
Midi events should logged milliseconds after the key is generated, and midi devices should respond to the event with an imperceptible delay.

Video

Video.mp4

Desktop (please complete the following information):

  • OS: Windows 8 + Windows 10
  • Version: 0.46.4

Standalone or Plugin
Standalone

Additional context

I noticed this delay while setting up a midi VU meter and motorized faders on an x-touch.
I verified the issue with other hardware and a different PC, and then trimmed down to just an external midi logger, rtpmidi, and Element with no hardware in the loop.

Routing the midi generated in element to another DAW {on either the same pc or another} via ReaStream {instead of the [midi out] or device-midi nodes} and using that DAW to push the midi to hardware devices or midiview removes the delay, so it's definitely isolated to the [midi-out] in Element.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions