How to sync a midi and audio files?

I have an audio file and it’s midi representation. I want to sync these two files and spawn different objects in Unity whenever midi note hits. Is it possible to read a midi file inside FMOD and then call function in unity? If it’s not are there any better program solutions compatible with Unity?