I started using fmod recently for a project of mine. I am not exactly sure if it is the right library for the job and that’s exactly why I am making this post. I need to be reading mp3 files and doing analysis on them by dividing them in equal number of parts and sampling the amplitude of the sound at each one of them for every song. I don’t need to be playing them and just want to do the above process of reading amplitude as fast as is possible with my CPU because the number of songs will vary.
My question is, can this be done with fmod? I was looking through the documentation and saw that a function that might do the job for me is Channel::getSpectrum() . Is it the only one or is there something I am missing? Or is the right function Sound::readData(). If it is Sound::readData() I do not understand in what kind of format are the returned data. Thanks in advance for any answers.
- Lefteris asked 6 years ago
- You must login to post comments