如何编写基于网络的音乐可视化工具? [英] How to write a web-based music visualizer?

查看:27
本文介绍了如何编写基于网络的音乐可视化工具?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试寻找构建音乐可视化工具以在网络浏览器中运行的最佳方法.Unity 是一个选项,但我需要构建一个自定义音频导入/分析插件来获取最终用户的声音输出.Quartz 可以满足我的需求,但只能在 Mac/Safari 上运行.WebGL 似乎还没有准备好.Raphael 主要是 2D 的,仍然存在获取用户声音的问题......有什么想法吗?以前有人这样做过吗?

解决方案

WebGL 尚未准备好",我假设您指的是渗透(目前仅在 WebKit 和 Firefox 中支持).

除此之外,使用 HTML5 音频和 WebGL 绝对可以实现均衡器.一个叫 David Humphrey 的人

I'm trying to find the best approach to build a music visualizer to run in a browser over the web. Unity is an option, but I'll need to build a custom audio import/analysis plugin to get the end user's sound output. Quartz does what I need but only runs on Mac/Safari. WebGL seems not ready. Raphael is mainly 2D, and there's still the issue of getting the user's sound... any ideas? Has anyone done this before?

解决方案

By WebGL being "not ready", I'm assuming that you're referring to the penetration (it's only supported in WebKit and Firefox at the moment).

Other than that, equalisers are definitely possible using HTML5 audio and WebGL. A guy called David Humphrey has blogged about making different music visualisers using WebGL and was able to create some really impressive ones. Here's some videos of the visualisations (click to watch):

这篇关于如何编写基于网络的音乐可视化工具?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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