Hi! I am new to arduino (a couple weeks) although I have a few years of coding experience in python. I want to make a program that will read off a MIDI file on my computer and light up a certain LED from which note is being played. I have 88 LEDs (number of keys on a piano) because I want this project to be done with the piano in mind. I don’t know where to start and how you would read off a MIDI file from your computer (i’ve seen some posts doing this on an SD card but I want to keep the MIDI file on my Mac)
Extra Info:
I am running MacOS Big Sur
I am using an Arduino Mega 2560
Any help will be greatly appreciated. Thanks in advance!
I'm no expert in midi, but I have heard about some things that might help you.
hairless-midiserial This is software that can run on Mac and acts like a midi player, but actually sends the data to a serial port such as the one you see when you connect your Arduino to the Mac.
The Arduino MIDI Library. You can install this through the library manager on the Arduino IDE, I think. There are some examples sketches included in the library that you can use as a starting point, such as the "SimpleSynth" example.