How can I make the equalizer for the music in my game?
Music Equalizer
(9 posts) (3 voices)-
Posted 1 year ago #
-
Do you really mean an equalizer, ie a set of controls enabling the user to adjust the amplitude of different audio frequencies in the music?
Or do you mean you want to make an audio visualiser that animates a line or series of bars according to the audio signal, a bit like this flash example:
http://www.flabell.com/flash/Simple-Flash-Mp3-Player-37Alex
Posted 1 year ago # -
Yes, I want make audio visualiser. How to do it on the iPhone SDK?
Posted 1 year ago # -
Some of the info here should help get you started:
http://stackoverflow.com/questions/1592345/do-you-know-a-good-and-efficient-fft
Posted 1 year ago # -
I saw it, but I do not understand how to use it. I am new to Objective-C, could you help me with this deal?
Posted 1 year ago # -
From what I saw on stackoverflow it looks like making a visualiser is going to be pretty complex as well as processor intensive. If you are new to Objective C then maybe you might be attempting something that is going to be a bit too difficult to do on your own! Also, if the visualiser is going to be very processor intensive then you need to think about how you are intending to use it. If it is just a bit of decoration that appears during gameplay then it might not be a great idea anyway, as it could interfere with other operations. A better idea might be to make a fake equaliser. Make a few different animations of bars going up and down at different rates and to different heights, then stick them in a row so they look like an equaliser. You could also add some randomness to make it look more convincing. This should prove less processor intensive, easier to do and a heck of a lot quicker
Posted 1 year ago # -
Visualization of sound - this is the main gameplay in my game, so I will not be able to use the fake columns - the players and they will bite me quickly lose interest in the game. If you do not mind, I can give you a PM with a link to the flash game. It is not yet published, so I would not want to spread it in the open access to the forum. Maybe you could help me, because my knowledge of Objective-C is very bad and I'm very difficult to understand all this. ):
Posted 1 year ago # -
I falled in this site http://sites.google.com/site/iphonecoreaudiodevelopment/ of a guy that made this app for the iPad: http://darktrain.net.au/tekkit-hd and give source code of his experiments.
It doesnt seems that he make a running wave form in real time but seems that he's at leat able to do a graph of the audio signal... i'm not sure.
Posted 1 year ago # -
Those links from Mik look well worth investigating - you should download the source files and have a read. What you need is to find a way to do an FFT analysis of an audio signal. This should provide you with the data you need to create a real time graphic representation of the sound. With a bit of luck there may be something relevant to this in the source files on the iphonecoreaudiodevelopment link Mik posted.
Posted 1 year ago #
Reply
You must log in to post.