Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / webaudio / oscillator-triangle.html
1 <!DOCTYPE html>
2
3 <!--
4 Create an oscillator of type TRIANGLE and generate a slow exponential tone sweep.
5 The result can be checked for the correct wave shape and for aliasing artifacts.
6 See 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
18 window.onload = init;
19
20 function init() {
21     if (!window.testRunner)
22         return;
23
24     generateExponentialOscillatorSweep("triangle");
25 }
26
27 </script>
28
29 </body>
30 </html>