Closed robmint closed 6 years ago
The library does not add or remove any delays. So unless the application is adding a delay in the code, it plays the file as it reads it with a small overhead when the file is started. The delay must be in the actual file. You should edit the MIDI file using an appropriate tool to remove any quiet time at the start or end.
Thank you for sharing your useful lib.
I am running the library on Arduino Uno with some HID USB firmware to make the Uno appear as a midi device.
The main MCU is running your lib and reading midi from SD card and playing it in looping mode. I am using your example
katzen perc fullvel.mid
file.The issue i'm having is a big gap in the playback after the file finishes (about 10 seconds). I'm trying to achieve a seamless looping of the midi file.
I have tried with other midi files and it seems the gap is not always so long, but there is always a gap of some length.
I've used your example code
MD_MIDIFile_Loop
.I am using a midi monitor tool display all the midi messages as they are received. From the beginning:
Any ideas?