blob: f845f02eee9689be3a1a989d3c70dc0518555625 [file] [log] [blame]
crogers@google.comf8a74102012-04-02 21:07:37 +00001<!DOCTYPE html>
2
3<!--
4Create an oscillator of type SAWTOOTH and generate a slow exponential tone sweep.
5The result can be checked for the correct wave shape and for aliasing artifacts.
6See oscillator-testing.js for details.
7-->
8
9<html>
10<head>
11<script type="text/javascript" src="resources/audio-testing.js"></script>
12<script type="text/javascript" src="resources/oscillator-testing.js"></script>
13</head>
14<body>
15
16<script>
17
18window.onload = init;
19
20function init() {
rniwa@webkit.orgcc082ecd2012-06-16 03:42:58 +000021 if (!window.testRunner)
crogers@google.comf8a74102012-04-02 21:07:37 +000022 return;
23
weinig@apple.comd61d8c12016-08-27 02:01:11 +000024 generateExponentialOscillatorSweep("sawtooth");
crogers@google.comf8a74102012-04-02 21:07:37 +000025}
26
27</script>
28
29</body>
30</html>