i want to write a firmware for an ESP8266, which listens to Apple MIDI (RTP MIDI) over WIFI and controls LEDs, which are connected to the ESP.
I found the AppleMIDI-Library (https://github.com/lathoub/Arduino-AppleMIDI-Library) on the internet, but i don't understand, how i can read out Midi-Signals, which are sent to the ESP.
All the examples only show how to sent Midi. They write it is possible to receive midi, but its not written how.
There is always only the "MIDI.read" used, but noone is taking values out of it.
In the end i only need a function, which gives me the Midichannel, the Midinote and the velocity, if a signal was sent.
I'm not a coder. I remember a few things from university, but i learned it years ago....
Can someone help me?
Thanks in advance!
oxxe