在WP7中提取声谱数据 [英] Extracting sound spectrum data in WP7

查看:13
本文介绍了在WP7中提取声谱数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我意识到 MediaLibrary 的 GetVisualizationData() 在 WP7 上返回一堆零时,我非常不满意.为了从我的 MediaLibrary 的歌曲集中计算和提取声谱数据,我可以应用哪些其他方法?

I was very dissatisfied when I realized that the MediaLibrary's GetVisualizationData() returns a bunch of zeros on WP7. What are the other approaches I could apply in order to compute and extract sound spectrum data from my MediaLibrary's song collection ?

附言它的编写方式表明我正在从事一个 XNA 项目.我很乐意接受甚至与 Silverlight 相关的方法,因为这更像是我正在努力解决的普遍问题

P.S. The way it's written suggests that I'm working on an XNA project. I would be glad to accept even Silverlight-related approaches, as this is more of a general problem I'm struggling with

推荐答案

您必须编写自己的算法.这并不容易,但您要寻找的是节拍检测(此页面有一些链接让你开始).

You'll have to write your own algorithm. It's not exactly easy, but what you're looking for is Beat Detection (this page has some links to get you started).

这是一些 Java 源代码用于来自 Mimim 库的节拍检测.

Here is some Java source-code for beat detection from the Mimim library.

这篇关于在WP7中提取声谱数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆