OLD | NEW |
| (Empty) |
1 <!DOCTYPE html> | |
2 | |
3 <html> | |
4 <head> | |
5 <script src="../resources/js-test.js"></script> | |
6 <script src="resources/compatibility.js"></script> | |
7 <script src="resources/audit-util.js"></script> | |
8 <script src="resources/audio-testing.js"></script> | |
9 <script type="text/javascript" src="resources/mix-testing.js"></script> | |
10 <script type="text/javascript" src="resources/waveshaper-testing.js"></script> | |
11 </head> | |
12 | |
13 <body> | |
14 | |
15 <div id="description"></div> | |
16 <div id="console"></div> | |
17 | |
18 <script> | |
19 description("Tests 2x WaveShaperNode oversampling."); | |
20 | |
21 var testParams = { | |
22 "sampleRate": 44100, | |
23 "oversample": "2x", | |
24 | |
25 // Should generate harmonics at 9000, 18000, 27000, 36000 | |
26 // The last two should be filtered out with the 2x oversampling. | |
27 "fundamentalFrequency": 9000, | |
28 "acceptableAliasingThresholdDecibels": -75.3 | |
29 }; | |
30 runWaveShaperOversamplingTest(testParams); | |
31 | |
32 </script> | |
33 | |
34 </body> | |
35 </html> | |
OLD | NEW |