WebAudio / web-audio-api

The Web Audio API v1.0, developed by the W3C Audio WG
https://webaudio.github.io/web-audio-api/
Other
1.04k stars 165 forks source link

ChannelCount and friends for source nodes is confusing #2384

Open rtoy opened 3 years ago

rtoy commented 3 years ago

Describe the issue People get confused with channelCount and friends when applied to a source node like an oscillator.

We should update the description in each source node to say that it's not used.

Where Is It For example, see the table in https://webaudio.github.io/web-audio-api/#OscillatorNode, just before the description of the OscillatorType enum.

Additional Information Proposal is to update the table to say channelCount, channelCountMode, and channelIntepretation are not used for source nodes. Or link back to the description of each and say there that source nodes don't use it.

rtoy commented 3 years ago

Teleconf 2021-06-10: Yes we should clarify this.

guest271314 commented 3 years ago

What impact are channelCount, channelCountMode, and channelIntepretation expected to have on MediaStreamAudioDestinationNode and MediaStreamAudioSourceNode?

We should update the description in each source node to say that it's not used.

Does this intent to mean channel count cannot be set on a source node?