I assume that all other (not midi) files play ok.
Have you checked the speaker options (in volume controls) to make sure that midi is not muted?
If you still have the problem post back with details of your operating system and sound card etc.
Motorola Moto G6 review: Hands-on
The best smart speaker: Apple HomePod vs Google Home vs Amazon Echo
Les meilleurs jeux gratuits pour Mac (2018)