Jump to content

Multiple tracks on mobile devices


mariogarranz
 Share

Recommended Posts

I have read many articles describing multiple simultaneous sounds on mobile browsers as something impossible.

These articles, however, are often 1 or 2 years old, and I have seen games playing different sounds at the same time on iOS and Android.

 

My experience is that multiple sounds at the same time work on iOS Safari and Android Chrome, but fail on Android stock browser.

Can anyone with more experience shed some light on the current status of this feature?

 

Thanks :)

Link to comment
Share on other sites

You need to consider the difference between WebAudio and HTML5 audio. WebAudio supports multiple tracks quite happily, whereas HTML5 audio is much more limited (and often painful to use!). Some devices will allow playing more than one HTML5 audio sound at once and others don't. On the whole my experience of HTML5 audio is that it is hugely unreliable and inconsistent, laggy, and generally unpredictable. If you want to use multiple tracks you are definitely better off looking at using WebAudio. But bear in mind that not all mobile browsers support it, although most do these days. In particular the Android stock browser does not support WebAudio.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...