missing first note during loop playback of midi file

Windows 10 Version 10.0.19042 Build 19042
Audacity 2.4.2

  1. Imported a MIDI file (*.mid)
  2. Selected a group of notes
  3. Pressed Shift + Space bar to start loop play
  4. All selected notes were played the first time through
  5. After first time through, does not play first note

MIDI is not sound. It is a sequence of commands that tell a synthesizer to play notes. Each MIDI note should have (at least) two commands - a “note on” message and a “note off” message.
If the loop does not start before the “note on” message, then the note will not be played.