Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
<html class="reftest-wait">
<head>
<script>
(async _ => {
try {
const audio = document.createElement('audio');
audio.src = 'sound.ogg';
const ac = new AudioContext();
const src = ac.createMediaElementSource(audio);
src.connect(ac.destination);
await audio.play();
audio.pause();
audio.volume = 0.5;
audio.playbackRate = 0.5;
audio.preservesPitch = false;
} finally {
document.documentElement.removeAttribute("class")
}
})()
</script>
</head>
</html>