We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(2)
您可以尝试这些链接
OpenVP(是一个用于开发音乐可视化的免费开源平台,使用 C# 编写),请参阅 OpenVP 屏幕截图。
C# 中的声音可视化工具
使用托管直接声音播放和可视化 WAV 文件
再见。
You can try these links
OpenVP (is a free and open-source platform for developing music visualizations, written in C#), see the OpenVP Screenshots.
Sound visualizer in C#
Play and Visualize WAV Files using Managed Direct Sound
Bye.
下面是一个使用 WASAPI API 计算计算机上播放的任何声音的 FFT 的脚本。它使用 CSCore 及其 WinformsVisualization 示例:
然后从对于不同的脚本,建议首先锁定它,因为这是在单独的线程上修改的。
我不确定我在哪里得到
GetSpectrumPoints
因为它似乎不在 Github Repo,但就在这里。只需将其粘贴到该文件中,我的代码就应该可以工作。Here's a script that computes the FFT of any sound played on the computer using the WASAPI API. It uses CSCore and its WinformsVisualization example:
Then when retrieving the barData from a different script it's recommended to lock it first since this is modified on a separate thread.
I'm not sure where I got
GetSpectrumPoints
since it doesn't seem to be in the Github Repo, but here it is. Just paste this into that file and my code should work.