Jump to content
  • Advertisement
Sign in to follow this  
EternityZA

using the beat of the music to make things psychedelic

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

Hi.

Myself and one artist have created a 2D puzzle game (similar to puzzle bubble in some regards). its complete except for music and sound. Ive had an idea. i want to make the different colour bubbles light up/vibrate/pulse on the beat of the music and im planning on using tracker ("keygen") music. Im planning on using OpenAl but i havent touched it yet so i dont know what it can or cannot do. basicly i want to create a "visualizer". it wont affect the gameplay at all. Ive been doing graphics programming for a while but i havent touched sound yet so my question is: Is this feasible? How hard would it be to retrieve the information i need from the sound stream? Does it sound like a worthy idea overall?

im not asking how im suposed to do it. il figure that out myself im just wondering what you think about it.

Share this post


Link to post
Share on other sites
Advertisement
Hello!
It's cool for the player to see and hear the music - that way the user experience goes to a positive feedback.

Why not let the user interact with the bubbles music himself? Look potapon and Rez(ps2) gameplay movies to see what i mean.

Maybe you can play a sound file when a bubble pops up and when you do a combo you overlap sounds and a music appears. Something like that =] It gives a lot deeper emotion to the gameplay.

Share this post


Link to post
Share on other sites
It is plenty doable.

If you try to do this just by monitoring the stream of output, there's a sample project hosted on here somewhere that measures "beat energy", but it really doesn't work very well ime. There's a thread to that effect somewhere here too. You'll need to look into using FFT methods to get a good result.

You can download a freebie game I made that pulsates some ground colours based on it so you can judge for yourself: Mega Defender It's only 30Mb

I've not tried doing this with tracker music as I didn't have any, but it should be totally trivial to rip the beats out of that.

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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!