Skip to content

Running status issue? Midi messages mangled and subsequent communication broken/out of sync. #125

@hallvardkristiansen

Description

@hallvardkristiansen

Context

Using the English language, please answer a few questions to help us understand your problem better and guide you to a solution:

  • What board are you using ?
    • 7 x Teensy 3.6
    • Wiznet W5500 ethernet chip
    • MCP23017 multiplexers
  • What version of the Arduino IDE are you using ?
    • Teensyduino 1.8.15
  • What Operating System are you using for the DAW
    • Windows
    • MacOS
    • Linux
    • Other (please specify)
  • Is your problem related to:
    • Setup
    • Connecting
    • AppleMIDI <> MIDI
    • Dropped messages
  • How comfortable are you with code ?
    • Complete beginner
    • I've done basic projects
    • I know my way around C/C++
    • Advanced / professional

Describe your project and what you expect to happen:

The Teensies are controlling lights and buttons on a sequencer, controlled by a computer running PD, Ableton and MidiPipe. The Teensies connect automatically using sendInvite in a staggered sequence which works fine. The Teensies send and receive midi without issue for the most part. Midi notes are mapped to particular LEDs and switches.

Describe your problem (what does not work):

Perhaps "bug" is not correct here, but I don't have any better way of describing the issue. Midi messages sent by MidiPipe to reset LEDs and other functions get dropped by the Teensy. When sending eight messages with noteOff, only two arrive correctly and occasionally a third arrives as noteOn. Sometimes when spamming a button, the messages can make it through, but this only happens in one out of 20 attempts.

Steps to reproduce

Send batches of the same type of message to the Teensy using MidiPipe.
We have checked all the hardware, tested replacing the Teensy with a macbook which received all the messages fine on the same ethernet cable. We also checked serial output of raw midi data which looked correct.
I have a suspicion that we are dealing with running status messages not being parsed by the Teensy, and thus making the subsequent messages nonsense.

Right now I do not have direct access to the hardware, but I could request a serial dump of the raw midi messages as soon as possible.

Would appreciate any suggestions for solutions!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions