I'm looking for a cross-platform library that allows me to analyze the waveform of a sound file. It needs to be able to at least have the ability to query the amplitude for a given sample, and it would be nice if it could do frequency detection.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
Well, querying the amplitude for a given sample is rather easy, you only need to convert the sample's value to decibels. As for the other types of analysis, you'll probably find aubio to be a good tool. It can do frequency detection, and even gives you the option of using a number of different detection algorithms depending on whether you need accuracy or performance.