howler.js
howler.js copied to clipboard
How to split a stereo source?
I am loading a stereo audio source and would like to split the source so that only the left source is played. Is this possible?
I'm currently working on something related. what I need is independent level control for each channel. any thought? is there any solution? thx
see :https://github.com/goldfire/howler.js/issues/771#issuecomment-1129399268
instead of GainNode you should use a ChannelSpliter then a ChannelMerger.
https://developer.mozilla.org/en-US/docs/Web/API/ChannelSplitterNode