Arduino UNO SD CARD midi file MIDI OUT

Hi, I would need help to build a circuit (and find a library that help me with the midi files) that allows me to read midi files from a SD module and play them with a MIDI OUT output, does anyone have experience with something like this?

I found this one https://github.com/MajicDesigns/MD_MIDIFile but I'm really lost on how to create a circuit that works with this library

Divide your problem into small steps.

  1. Connect your SD module to your UNO and learn how to read files from it.
  2. Learn how to parse a MIDI file once you have access to the data. It's basically about reading one chunk of data at a time and deal with it.
  3. Make your UNO communicate with MIDI. I use a Leonardo for this, because Leonardo can nicely read MIDI data sent via USB from my computer.

Well, if you follow your own link, you come to this:
https://majicdesigns.github.io/MD_MIDIFile/page_hardware.html

That should work with an UNO. For that you need those old round shaped DIN MIDI connectors, which still are used on musical instruments. My experience is in connecting a computer via USB to a Leonardo and having the Leonardo perform actions on musical instruments via servo motors.

I already know how to do the 1 and 3 things you said, I didn’t try to parse midi files because is a very big thing to do and there are libraries like this that just do it, the only problem is that idk read that diagram bc I’m new to this, I usually just follow easier diagrams where they show exactly where is the arduino, the sd card module etc.. and the wiring but I didn’t find a simple diagram of the wiring for this library

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.