简体   繁体   English

在移动设备上使用Web Audio API进行Javascript节拍检测

[英]Javascript beat detection using Web Audio API on mobile device

is there anyway to detect the beat of an mp3 or wav file using javascript's web audio api on mobile devices? 无论如何,在移动设备上使用javascript的网络音频api来检测mp3或wav文件的节拍吗? I've seen it work on Desktop chrome but not on iOs 我已经看到它适用于台式机Chrome,但不适用于iO

Web Audio API is cross-platform solution. Web Audio API是跨平台的解决方案。 If it works on one browser, using standardized APIs, the solution should work with other browsers too. 如果它在使用标准化API的一种浏览器上运行,则该解决方案也应在其他浏览器上运行。

  1. Check preliminary browser support here for your target platforms: 在此处查看针对目标平台的初步浏览器支持:

http://caniuse.com/#feat=audio-api http://caniuse.com/#feat=audio-api

  1. Check that the actual target devices work as they advertise 检查实际的目标设备是否在宣传时正常工作

JavaScript is a great platform to use across mobile devices. JavaScript是在移动设备上使用的绝佳平台。 Look into Cordova for easy integration to Android, IOS, and Windows 8. 查看Cordova ,轻松与Android,IOS和Windows 8集成。

Take a look at this tutorial on how to do beat detection in js. 看一下有关如何在js中执行节拍检测的本教程

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM