Sign in to follow this  

wav and midi syncing

This topic is 4554 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

This topic is 4554 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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this