Grumpy_Mike:
Yes use a Leonardo or Micro and that can simply be used to look like a MIDI input / output device from your computer.
Use this GitHub - rkistner/arcore: MIDI-USB Support for Arduino
No need for any special cores. Arcore hasn't been updated for 2 years now.
Just use the MIDIUSB library.
Pieter