| <script src="../resources/js-test-pre.js"></script> |
| <script type="text/javascript" src="resources/audio-testing.js"></script> |
| <script type="text/javascript" src="resources/mix-testing.js"></script> |
| <script type="text/javascript" src="resources/waveshaper-testing.js"></script> |
| <div id="description"></div> |
| description("Tests 4x WaveShaperNode oversampling."); |
| // Should generate harmonics at 18000, 36000, 54000, 72000 |
| // All except for 18000 should be filtered out with the 4x oversampling. |
| "fundamentalFrequency": 18000, |
| "acceptableAliasingThresholdDecibels": -85 |
| runWaveShaperOversamplingTest(testParams); |
| <script src="../resources/js-test-post.js"></script> |