-
Notifications
You must be signed in to change notification settings - Fork 4
ChannelMergerNode
The ChannelMergerNode is useful if you want to merge multiple audio streams into one multichannel stream (e.g. left and right). The child nodes are targeted in index order to each output channel in the system. If there are more child nodes than output channels on the current sound card, the audio signal will be connected to the target output index % number of audio channels.
attributes:
- pan (-1 to 1)
- crossfade (0 to 1)
The crossfade attribute makes it possible to crossfade the volume between the child elements.
The simple example below shows how two monofiles can be merged into one output each (e.g. left and right).
<Mixer>
<ChannelMergerNode>
<AudioBufferSourceNode src="mono-file-1.mp3" />
<AudioBufferSourceNode src="mono-file-2.mp3" />
</ChannelMergerNode>
</Mixer>
Read more: https://developer.mozilla.org/en-US/docs/Web/API/ChannelMergerNode
Please follow my research journey at http://hans.arapoviclindetorp.se and https://www.facebook.com/hanslindetorpresearch/
- Collaborative music-making: special educational needs school assistants as facilitators in performances with accessible digital musical instruments (Frontiers in Computer Science 2023)
- Playing the Design: Creating Soundscapes through Playful Interaction (SMC2023)
- Accessible sonification of movement: A case in Swedish folk dance (SMC2023)
- Evaluating Web Audio for Learning, Accessibility, and Distribution (JAES2022)
- Audio Parameter Mapping Made Explicit Using WebAudioXML (SMC2021)
- Putting Web Audio API To The Test: Introducing WebAudioXML As A Pedagogical Platform (WAC2021)
- Sonification for everyone everywhere – Evaluating the WebAudioXML Sonification Toolkit for browsers (ICAD2021)
- WebAudioXML: Proposing a new standard for structuring web audio (SMC2020)