| <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 2x WaveShaperNode oversampling."); |
| // Should generate harmonics at 9000, 18000, 27000, 36000 |
| // The last two should be filtered out with the 2x oversampling. |
| "fundamentalFrequency": 9000, |
| "acceptableAliasingThresholdDecibels": -85 |
| runWaveShaperOversamplingTest(testParams); |
| <script src="../resources/js-test-post.js"></script> |