Thanks for that, it looks like the compiler is pretty extensive in its optimization, even looking at the values of the initialized arrays it seems. When I did a max search and print for each of the three arrays it still...
I'm hoping to store (audio) sample data in flash memory for accompanying playback in a large synth project, but when I load too many files using the progmem declaration for the arrays e.g. using PROGMEM const uint8_t...
Thanks again for looking at this Paul. If it's not a buffer number/size effect, is it possible the reason the problem doesn't arise when connecting the Arturia to a PC (and then back out to the Teensy non-host MIDI...
A hanging note on a synth means too few note off messages rather than too many. Remember also that the issue only arises when using the host port, and then is remedied by inserting a hub. I don't think the Arturia is...
To localize the problem may require feedback from the receiving teensy back to the host teensy to tell it to stop transmititng when an error occurs (using e.g. known note sequences where the number of notes left on...
Also, the Arturia Minilab only causes missing midi events on the Teensy when using the USB MIDI host port.
I have never seen the Teensy lose data when going into the serial or non-host USB MIDI port.
Yes it fails with the appropriate message if I put in a syntax error. Hopefully PaulS will be able to try the file with his minilab too and let us know if he sees the same result.
Thanks Paul. I tried the new midi.cpp file, but unfortunately the behavior with my Arturia Minilab seems unchanged. Still seems to work reliably only via the hub.
I have a large synth project near complete now, which includes a T4.1 and the audio shield (via the Audio library block structure), has 3 way midi connectivity including USB and HOST USB, and has lots of other devices...
Thanks in advance for any time you can spend on this Paul. Would be really excellent to have the USB MIDI host working well for keyboards like the miniLab that have fast midi bursts without needing a hub.