mirror of
https://github.com/classilla/tenfourfox.git
synced 2024-10-22 02:25:05 +00:00
16 lines
450 B
HTML
16 lines
450 B
HTML
<!DOCTYPE html>
|
|
<html class="reftest-wait">
|
|
<script>
|
|
var context = new window.OfflineAudioContext(1, 100, 48000);
|
|
context.oncomplete = function(e) {
|
|
document.documentElement.removeAttribute("class");
|
|
};
|
|
var panner = context.createPanner();
|
|
panner.setPosition(0, 3, 0); // directly overhead
|
|
panner.connect(context.destination);
|
|
var source = context.createOscillator();
|
|
source.connect(panner);
|
|
source.start(0);
|
|
context.startRendering();
|
|
</script>
|