blob: 1d2d758ff88624c9acb5d36f0b969ae5e091f959 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
<!DOCTYPE html>
<html class="reftest-wait">
<script>
const ac = new OfflineAudioContext({length: 136, sampleRate: 48000});
const filterNode = new BiquadFilterNode(ac);
filterNode.frequency.setValueCurveAtTime([0.2, 0.3], 0, 1);
filterNode.frequency.linearRampToValueAtTime(0.8, 1);
ac.startRendering().then(() => {
filterNode.frequency.value;
document.documentElement.removeAttribute("class");
});
</script>
|