Jump to content
  • Advertisement
Sign in to follow this  

wav and midi syncing

This topic is 4836 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

elo guys! does anyone have any idea on how to sync 2 files (a wav and a midi file) to play at the same time? I am using DirectMusic in playing the midi file because DirectMusic has a lot of capabilities in terms of modifying the midi output in real time. For the wav files, I'm using DirectShow because of its timeline feature where you can arrange streams to play at certain times. I plan to record the midi into wav and then play them together, in sync of course. The problem is that the midi and wav files don't exactly play at the same time and I get a delayed effect. Does anyone have any experience on this problem? Any suggestion is welcome. I think you will be able to assign the IReferenceClock of DMusic to DShow, but I don't exactly know how to use it. thanks!

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!