blob: 40aecfc6b47992c7d9b3069578aecc9d8f8a8e53 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<title>
waveshaper-oversample-4x.html
</title>
<script src="../../resources/testharness.js"></script>
<script src="../../resources/testharnessreport.js"></script>
<script src="../resources/audit-util.js"></script>
<script src="../resources/audit.js"></script>
<script src="../resources/mix-testing.js"></script>
<script src="../resources/waveshaper-testing.js"></script>
</head>
<body>
<script id="layout-test-code">
let testParams = {
'sampleRate': 44100,
'oversample': '4x',
// Should generate harmonics at 18000, 36000, 54000, 72000
// All except for 18000 should be filtered out with the 4x oversampling.
'fundamentalFrequency': 18000,
'acceptableAliasingThresholdDecibels': -79.88,
description: '4x WaveShaperNode oversampling'
};
runWaveShaperOversamplingTest(testParams);
</script>
</body>
</html>