This demo uses the Web Audio API to adjust the volume of two videos, based on the position of the mouse. By moving the mouse to the top of the page, the upper video gets louder, while the volume of the lower one drops. By moving the mouse to the bottom of the page, the opposite happens. In addition to this, by moving the mouse left or right, the stereo audio stream can be panned.
Contact ourt team to tell us what you think about this demo and also if you have any questions. We are happy to answer you back.