# How to sync a midi and audio files?

**URL:** <https://qa.fmod.com/t/how-to-sync-a-midi-and-audio-files/15524>\
**Category:** Unity\
**Created:** [March 5, 2020, 8:20pm UTC](https://qa.fmod.com/t/how-to-sync-a-midi-and-audio-files/15524 "2020-03-05T20:20:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![z0diakk](https://avatars.discourse-cdn.com/v4/letter/z/b9e5f3/32.png) [@z0diakk](https://qa.fmod.com/u/z0diakk)\
**Post date:** [March 5, 2020, 8:20pm UTC](https://qa.fmod.com/t/how-to-sync-a-midi-and-audio-files/15524/1 "2020-03-05T20:20:50Z")

</div>

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?
