Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

knealeaj

Synchronised beats and screen output

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

I have seen a number of demos with the beats of songs synchronised to the objects rendered to the screen . How is this is done? Code examples would be great Thanks

Share this post


Link to post
Share on other sites
Advertisement
(Assuming C/C++....)

1. Grab yourself a copy of fmod sound api at fmod.org.
2. Look up FSOUND_DSP_GetSpectrum() and associated functions.

That''ll give you an idea of what''s involved, and an api to achieve it with.

Plus; You can d/load my simple d3d mod player from here and get some sample mod files from here.

The mod player is a very simple app I knocked up to test out the capabilities and ease of use of fmod, using the direct3d framework and one 3d model. There''s probably just half-a-dozen lines of code to animate the graphic equaliser!

Have fun!

Share this post


Link to post
Share on other sites

  • 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!