ChannelSplitterNode splits stereo input out of only left channel
Reported by
yotamm...@gmail.com,
Feb 5 2018
|
|||
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36 Steps to reproduce the problem: 1. Run https://jsfiddle.net/ps7tu2dp/ 2. Prints "output 1, output 0" 3. expected "output 1, output 1" What is the expected behavior? In Chrome 63, the ChannelSplitterNode would split a stereo input out of both the left and right channels. In Chrome 66, the audio is only routed to the left channel. Even when the ConstantSourceNode is set to 2 channels and channelCountMode is "explicit" the output is only in the left channel. What went wrong? Audio output is only in left channel. Did this work before? N/A Chrome version: 66.0.3339.0 Channel: canary OS Version: OS X 10.13.3 Flash Version: Maybe i'm misunderstanding the ChannelSplitterNode. How should i isolate the left and right channels of either a stereo or mono input?
,
Feb 5 2018
According to https://webaudio.github.io/web-audio-api/#the-channelsplitternode-interface, channelInterpretation should be "discrete", but previously, Chrome used "speakers". This was changed on Jan 4, 2018, Chrome 65. Thus, the mono ConstantSourceNode only goes to one output instead of being upmixed to stereo at the splitter input. BTW, although ConstantSourceNode has a channelCount attribute, it does nothing; this attribute affects the mixing at the input, but ConstantSourceNode has no inputs. It always outputs a mono channel. If your source is truly stereo, the channel splitter will split out the two channels to the first two outputs of the splitter. This is working as intended.
,
Feb 5 2018
Thank you for the clarification!
,
Feb 5 2018
Thanks for the response. Closing as WontFix, working as intended. |
|||
►
Sign in to add a comment |
|||
Comment 1 by tkent@chromium.org
, Feb 5 2018