Hi, I am working on a project where I would like the functionality of my Teensy 4.1 to be controllable either by USB midi input from a laptop, or by a prerecorded midi file on an SD card read by the Teensy 4.1's built-in SD card slot. I have the USB side of the project working well, I'm now moving on to the SD.
It seems like reading a midi file from an SD card should be a solved problem at this point, and I'd rather not reinvent the wheel here if I don't have to. Some online posts have pointed me towards this library for Midi file parsing, but it seems that it works with an SD library that's different from the one the Teensy normally uses, and I'm not sure how the two will interact: https://github.com/MajicDesigns/MD_MIDIFile
Has anyone else used this library with the built-in SD card reader? If so, what modifications were necessary to get it to work? Are there any other libraries out there that might better suit my purpose?
Thanks!
It seems like reading a midi file from an SD card should be a solved problem at this point, and I'd rather not reinvent the wheel here if I don't have to. Some online posts have pointed me towards this library for Midi file parsing, but it seems that it works with an SD library that's different from the one the Teensy normally uses, and I'm not sure how the two will interact: https://github.com/MajicDesigns/MD_MIDIFile
Has anyone else used this library with the built-in SD card reader? If so, what modifications were necessary to get it to work? Are there any other libraries out there that might better suit my purpose?
Thanks!