-
Notifications
You must be signed in to change notification settings - Fork 4
Audio
The audio element is the mandatory root element of any WebAudioXML document. It acts as a main output connector and has its own WebAudio GainNode that controls the overall volume for all outputs. The audio element is also a good place to define general settings like "timeUnit" and "interaction". If i.e. timeUnit is set to "ms" all child elements will use milliseconds as unit for specifying time (applies to DelayNode and Envelopes). If the "interactionArea" is specified, all mouse, pointer and touch relative values will correspond to that element. The output from all child elements within an audio element are mixed into the master output. It acts as a master Mixer element.
This example sets the master volume to -6dB and make all child elements refer to time using milliseconds.
<?xml version="1.0" encoding="UTF-8"?>
<Audio version="1.0" gain="-10dB" timeUnit="ms" interactionArea="#touchArea">
<OscillatorNode><<OscillatorNode>
</Audio>
This example shows an Audio element containing one oscillator. The timeUnit will be milliseconds for all subsequent child nodes and the interactionArea will be a HTML element with id="touchArea".
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)