Jump to content
  • Advertisement
Sign in to follow this  
san__gohan

[DirectMusic] Fining exact time for loops

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

Hello, I have loaded a midi file in a segment. This midi file has an intro and another part. I want the other part to repeat undefinitely but the setLoopPoints function accepts a start MUSIC_TIME and an end MUSIC_TIME value. I don't know what these values represent and how to retrieve them from my song. Is there a sofware that i can use to retrieve the exact values of these values so the song can loop smoothly? By the way, how to retrieve these values from the time in seconds. For example, if i know a point is at 50 seconds from the beginning of the song, how to retrieve the MUSIC_TIME equivalent? Thx.

Share this post


Link to post
Share on other sites
Advertisement
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!