MIDI
MIDI is an audio format we can use to store the data about notes a musical instrument plays.
Instead of digital sampling an analogue signal, like other sound file formats, MIDI will instead store data such as the time a note on a keyboard was pressed, the pitch of that sound, the volume, etc. The key thing is that it stores how the instrument was played, rather than what sound it produced.
There are some advantages and disadvantages of MIDI.