I was just wondering if there was anywhere I could find an example of a plain old spectrum analysis for an MP3 file. I know there is the function in the channel class "getSpectrum" but I am not quite sure how to use it.
Thanks in advance.
- Livengood asked 7 years ago
Unfortunately, we don’t currently expose any public API for getting the spectrum of a file. The functions Channel::getSpectrum and ChannelGroup::getSpectrum will give you a snapshot of the spectrum for the currently playing audio. If you need to get the spectrum of a file, there are many free FFT implementations on the net which will do that for you.
- Guest answered 7 years ago
Please login first to submit.