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

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

问题描述

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

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?

推荐答案

由于WebGL尚未准备就绪,我假设您是指渗透(目前仅在WebKit和Firefox中受支持).

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).

除此之外,使用HTML5音频和WebGL绝对可以实现均衡器.一个叫戴维·汉弗莱(David Humphrey)的人用WebGL撰写了有关制作不同音乐可视化工具的文章,并能够创建一些非常令人印象深刻的.这是一些可视化的视频(点击观看):

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天全站免登陆