开发者

Is there a simple to use library to play music (or get line in) and out put spectrum analysis values?

I am trying to get the values that generate the following:

Is there a simple to use library to play music (or get line in) and out put spectrum analysis values?

In my research I've seen several libraries (NAudio seems the most powerful I've looked at so far) that supposedly get these values, but I haven't the first clue how to do it.

Essentially I want to poll these values while music is playing, to create animations based on them.

H开发者_StackOverflow社区owever in everything I've searched for, it seems like I'm going to have to do a lot of work just to get these values?

Is there any library that simplifies this process, or any example code/projects that show how to make the above, so I can just take the values and apply them to what I'm trying to do?

I'm not trying to understand how these values are created or retrieved, just would like to have them so I can make use of them. (Assuming that these lines reference different frequencies in each sample(?) of the music).

Low frequencies cause one animation, higher frequencies cause different animations is what I'm attempting to do.


On @Aequitarum's suggestion adding my comment as answer.

Check this Multimedia PeakMeter Control There are three projects in the source code, and shows the example of spectral analysis of audio.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜