HTML5中的MIDI音乐支持 [英] MIDI music support in HTML5

查看:118
本文介绍了HTML5中的MIDI音乐支持的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

现在,JavaScript和Windows Media Player/QuickTime浏览器插件支持使用html播放midi. 我想知道将来是否有关于html5的新闻会支持播放带有音频标签的midi?

Now playing midi in html is supported with javascript and windows media player/quicktime browser plugins. I'm wondering if there are any news about html5 is going to support playing midi with audio tag in the future ?

推荐答案

如果要播放midi文件,可以在这里查看它们的操作方式: http://mudcu.be/midi-js/. 该示例页面使用了 MIDI.js .请注意,它甚至通过脚本来使用声音字体.挺整洁的.

If you want to play midi files, you can see how they did it here: http://mudcu.be/midi-js/. The example page makes use of MIDI.js. Note that it even uses soundfonts, all via scripting. Pretty neat.

如果您对控制Midi设备更感兴趣,或者让Midi设备控制您的HTML5页面,那么W3C的家伙们正在努力.请参见草稿api描述

If you're more interested in controlling midi devices, or having midi devices control your HTML5 page: the W3C guys are working on that. See the draft api description here

这篇关于HTML5中的MIDI音乐支持的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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