Multi-channel audio support in browser on iOS and Android

I found this link on a page here in StackOverflow about "Creating Audio Using Javascript in <audio>" , and this page on how to play audio on multiple channels . I found that iPhone supports an audio tag and an audio object in Javascript to play single-channel audio, but is there a way to play audio on multiple channels?

Perhaps I am complicating this too much, so this is what I am trying to do. I want to make an elegant audio player in Javascript that supports the transition from one audio file to another. The way I was going to realize this is to gradually decrease the volume on one channel while gradually increase the volume on the other channel so that I get some kind of fading effect. Is there a simpler solution for this using only Javascript? I think one more solution is to lower the volume to a certain point, start a new audio file on the same channel, and then increase the volume again. This circumvents the need for extinction, but I would like to disappear, if at all possible.

Is it possible? I know that the HTML5 specification is not finished yet, but is there any workaround you know about? Do any of you have ideas for a different approach?

From what I can say from this post about playing sound in an Android browser , this is not yet supported, but do any of you know if it will support multi-channel sound after supporting the sound tag? Does opera mini support this?

+3
source share
3 answers

This is an old question that I know :).

iOS Safari . , fade-in/out iOS, - . Apple . javascript. ( 1).

Safari iOS .

Android, , .

+3

, , , ...

, ( ..)

http://davealger.com/jthump/

, <iframe>, , .

, , HTML 5 .

0
source

Source: https://habr.com/ru/post/1780331/


All Articles