简体   繁体   中英

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? I've seen it work on Desktop chrome but not on iOs

Web Audio API is cross-platform solution. If it works on one browser, using standardized APIs, the solution should work with other browsers too.

  1. Check preliminary browser support here for your target platforms:

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. Look into Cordova for easy integration to Android, IOS, and Windows 8.

Take a look at this tutorial on how to do beat detection in js.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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