MIDI
From Free Pascal wiki
Midi file format
Playing MIDI
Standard MIDI Files (SMF) contain sound events that indicate the notes and instruments in a musical performance, but do not include the digital waveform of the audio. They usually have the extension .mid or .midi. To play a MIDI file, software has to synthesize the music, which usually requires reading digital samples of musical instruments from a large file.
Windows
- https://bitbucket.org/avra/ct4laz/downloads/pl_win_midi.zip
- TMidiInput and TMidiOutput components
- Alan Warriner TMidiGen components
- https://sourceforge.net/projects/lazprojects/files/LazPlayMidi
- PianoEx
Linux
macOS
- macOS MIDI Player Example code for a minimal application to play MIDI and iMelody files.