howler.js icon indicating copy to clipboard operation
howler.js copied to clipboard

How to split a stereo source?

Open ldct opened this issue 7 years ago • 3 comments

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?

ldct avatar Dec 03 '18 14:12 ldct

I'm currently working on something related. what I need is independent level control for each channel. any thought? is there any solution? thx

Diex avatar May 17 '22 01:05 Diex

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

Diex avatar May 17 '22 23:05 Diex