'Javascript: Control gain in every channel when playing a 5.1 music file

I have a two part question

  1. How can I control the gain in every channel when playing a 5.1 music file in Javascript?
  2. Is it possible to do it in Javascript? If not what's the simplest way to do it?


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source