Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Audio channel selection

The idea is to have multiple audio files streaming on a website and to set each audio stream to separate audio channels. Alternatively, the audio could come from separate web pages, and even separate windows, and then filtered to separate audio channels.

As I understand it, audio coming from anywhere in the browser is streamed through audio channels 1 (left) and 2(right). The advantage of audio sources being streamed on different channels is the ability to access that sound data independently for further manipulation.

How can this be accomplished?

like image 863
spracketchip Avatar asked Nov 04 '22 11:11

spracketchip


1 Answers

Check this tutorial about creating positional audio with Web Audio API

http://www.html5rocks.com/en/tutorials/webaudio/positional_audio/

Web Audio API has required low level audio functions to mix audio channels freely.

like image 197
Mikko Ohtamaa Avatar answered Nov 11 '22 15:11

Mikko Ohtamaa