I originally thought it was impossible, but today I found this Web Audio API doc, and I think it may actually be possible not only to do the balance, but also the equalizer. I'll at least look into it more.
https://developer.mozilla.org/en-US/docs/Web/API/Web_Audio_A...