I have written a program that interprets the mood of a song based on its fft data. But when i open the program and play a song the values it gets are way too high for about the first 20 seconds of the song. But once its played through, if i play it again its fine, giving the values it should.

Likewise if i play one song, then another song, the values of the second song will be perfect, but the values for the first 20 seconds of the first song are too high.

This only happens for the first file i play after opening the program, after that its fine. Could this be related to FMOD someway, or is it more likely just completely related to my code.

Im afraid i cant really post any code as theres too much and i have no idea even where this error could be.

Thanks for any help.

  • You must to post comments
Showing 0 results
Your Answer

Please first to submit.