Skip to content
Standard MIDI Files (SMF) Processing Library
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

MD_MIDIFile Standard MIDI File Interpreter Library

This library allows Standard MIDI Files (SMF) to be read from an SD card and played through a MIDI interface. SMF can be opened and processed, with MIDI and SYSEX events passed to the calling program through callback functions. This allows the calling application to manage sending to a MIDI synthesizer through serial interface or other output device, such as a MIDI shield.

  • SMF playing may be controlled through the library using methods to start, pause and restart playback.
  • SMF may be automatically looped to play continuously.
  • Time ticks are normally generated by the library during playback, but this can be taken over by the user program if different time or synchronization with external MIDI clock is required.

External dependencies:

  • SdFat library found here used by the library to read SMF from the the SD card.
  • MIDI interface hardware as described in the library documentation or similar, a USB interface with converter or a MIDI shield.

Library Documentation

You can’t perform that action at this time.