Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

HTML5 visualisations in mobile

I am trying to make use of a few visualization libraries for a mobile app I am making (with phonegap).

The libraries are: https://github.com/jsantell/dancer.js and http://www.michaelbromley.co.uk/blog/42/audio-visualization-with-web-audio-canvas-and-the-soundcloud-api

However, they do not seem to work in mobile. Is there a way you could integrate these into an app? Or is the support for some of the tech these make use of now supported yet. I have only tested on iOS.

Thanks.

like image 965
Jonovono Avatar asked Apr 23 '14 19:04

Jonovono


2 Answers

The problem as for right now is that the Web Audio API is not supported in mobile other than iOS 6+

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

This API is the base for building an audio visualizer.

If you are working with Phonegap you could make part of the application web and the visualizer part native and use ir as a Phonegap plugin. It is justified to do this depending how much % of the application the visualizer is.

like image 126
fernandopasik Avatar answered Oct 21 '22 04:10

fernandopasik


You might be able to use the Intel XDK for this. It allows you to make mobile applications using jQuery/JS/HTML5. Assuming you have all the code, it shouldn't be too difficult to port.

HTH.

like image 36
Easton Avatar answered Oct 21 '22 05:10

Easton