blob: 0b1cc95a8540dd3ba48b8533393515c6e7d5b0d3 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<title>
waveshaper-oversample-4x.html
</title>
<script src="../../imported/w3c/web-platform-tests/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>