Commit graph

5 commits

Author SHA1 Message Date
Jordan Eldredge
bd5fa82c99 Trailing commas! 2019-03-19 06:55:24 -07:00
Jordan Eldredge
be22396af2 Provide default value for balance 2019-02-26 07:32:48 -08:00
Jordan Eldredge
182b4d0024 Allow consumers to initialize StereoBlanceNode value a la StereoPannerNode 2019-02-26 07:23:10 -08:00
Jordan Eldredge
522609fa5e Allow SteroBalanceNode to accept a string 2019-02-26 07:23:10 -08:00
Jordan Eldredge
4fd802f96e
Go back to using two gains for balance (#725)
SteroPannerNode handled mono files correctly, but apparently panning is not the same as balance.

Eventually I found a work around [here](https://github.com/WebAudio/web-audio-api/issues/975#issue-177242377). The idea is to use a dummy GainNode before the channel splitter to handle the up-mixing before the split is applied.

Tested a mono file as well as left/right balance on Chrome, Firefox, and Safari on Mac desktop.
2019-01-25 04:57:49 -08:00