Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 3 of 3

Thread: Diagnose MIDI DIN In Throughput Issue

  1. #1
    Senior Member
    Join Date
    Jun 2013
    Posts
    323

    Diagnose MIDI DIN In Throughput Issue

    I'm seeing dropped MIDI messages on my custom Teensy 3.2 (using MIDI library 3.2). I've done some tests with a loopback cable, sending messages out the MIDI Din Out and straight back into the MIDI In Din. If I send messages at a rate of one messages every 30 ms, I typically get zero dropped messages. But as I lower the interval between messages, problems occur. MIDI over a cable should be able to get close to one message every ms.

    Any suggestion as to where I might look to resolve this issue? Is there a buffer that messages are saved to? Would I get better results by using a callback instead of check MIDI.read()?

    Rob

  2. #2
    Senior Member
    Join Date
    Jun 2013
    Posts
    323
    Disregard. Upon further testing, I was able to get my MIDI circuit running flawlessly at 1 message every ms, so my issue is somewhere in my own code.

  3. #3
    Senior Member
    Join Date
    Jun 2013
    Posts
    323
    I've traced to problem down to checking value usb_configuration. Any idea why this would take so long?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •