-
Notifications
You must be signed in to change notification settings - Fork 4
Chain
The Chain element connects all its child elements in a serial way, just like a channel with inserts in a mixer or like a chain of modules in a modular synthesizer. The input of a Chain element is connected to its first child element (if it has an input) and the last child element is connected to the Chain elements output which is connected to its parent element. The Chain element is technically a WebAudio GainNode and can therefor have its gain attribute set to control the overall output volume of the Chain.
<?xml version="1.0" encoding="UTF-8"?>
<Audio version="1.0" timeUnit="ms">
<Chain gain="-3dB">
<OscillatorNode></OscillatorNode>
<BiquadFilterNode frequency="500"></BiquadFilterNode>
</Chain>
</Audio>
This example shows an oscillator sent trough a BiquadFilterNode. The output of the BiquadFilterNode is connected to the Chain element, which is set to reduce the gain with 3dB before the audio passes to the Audio elements main output.
Controls the overall output volume of the Synth. Can be set in dB or power value.
The attribute "portamento" can be set to any value to control the transition time for oscillator frequency change. This makes it possible for oscillatorNodes to glide between notes. The portamento attribute is inherited to all child nodes but only affects the transition time for frequency change on oscillatorNodes.
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)