Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / webaudio / waveshaper-oversample-2x.html
blob9946468cb46505b706f122a97a67a08a95041b5b
1 <!DOCTYPE html>
3 <html>
4 <head>
5 <script src="../resources/js-test.js"></script>
6 <script src="resources/compatibility.js"></script>
7 <script type="text/javascript" src="resources/audio-testing.js"></script>
8 <script type="text/javascript" src="resources/mix-testing.js"></script>
9 <script type="text/javascript" src="resources/waveshaper-testing.js"></script>
10 </head>
12 <body>
14 <div id="description"></div>
15 <div id="console"></div>
17 <script>
18 description("Tests 2x WaveShaperNode oversampling.");
20 var testParams = {
21 "sampleRate": 44100,
22 "oversample": "2x",
24 // Should generate harmonics at 9000, 18000, 27000, 36000
25 // The last two should be filtered out with the 2x oversampling.
26 "fundamentalFrequency": 9000,
27 "acceptableAliasingThresholdDecibels": -75.3
29 runWaveShaperOversamplingTest(testParams);
31 </script>
33 </body>
34 </html>