0
0

Hi,
I am fairly new to FMOD and VB aswell. Im am doing a uni project where i have to write a program which will calculate the mood of an mp3 and then create a lightshow based on that mood.
I have chosen to use FMOD in VB to get the FFT data in which i base the mood off.
At the moment my program has some very simple IF statements which basically say if so and so frequency goes above a certain amplitude and other frequencies are below a certain amp etc, THEN mood equals whatever.
However in this case as the frequencies are constantly changing the mood changes just as quickly; no good for creating a light show.

The idea i have now is to average out the frequncies over say 10 second periods and calculate an overall mood for that 10 seconds and have 10 second light patterns.
For this though i need to get the FFT data before playing the music, as it is atm the mood is calculated as the song plays.
How is this done?

Thanks
Gizza

  • You must to post comments
0
0

Thanks for that, but now i have another problem.

After i have analysed the song using the NOSOUND and NONREALTIME i then want the user to be able to play the song which uses the moods which have now been calculated.

Is there a way to reset FMOD to play the song normally. I have done FMOD.Close and then recalled FMOD.Init(…) but that doesnt seem to work.

Thanks
Gizza

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.