| Index: LayoutTests/webaudio/osc-square-sweep-snr.html
|
| diff --git a/LayoutTests/webaudio/osc-square-sweep-snr.html b/LayoutTests/webaudio/osc-square-sweep-snr.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..83f05df032ea3888e0d129f9c711e3f041c0ac0a
|
| --- /dev/null
|
| +++ b/LayoutTests/webaudio/osc-square-sweep-snr.html
|
| @@ -0,0 +1,24 @@
|
| +<!doctype html>
|
| +<html>
|
| + <head>
|
| + <title>Test Oscillator Node: square</title>
|
| + <script src="resources/compatibility.js"></script>
|
| + <script src="resources/buffer-loader.js"></script>
|
| + <script src="../resources/js-test.js"></script>
|
| + <script src="resources/oscillator-testing.js"></script>
|
| + </head>
|
| +
|
| + <body>
|
| + <script>
|
| + description("Test Square Oscillator with Exponential Sweep");
|
| +
|
| + // Thresholds for verifying the test passes. The thresholds are experimentally determined.
|
| +
|
| + var tester = OscillatorTestingUtils;
|
| + // The thresholds are experimentally determined.
|
| + tester.setThresholds({snr: 87.75, maxDiff: 3.63, diffCount: 6800});
|
| + tester.runTest("square");
|
| + successfullyParsed = true;
|
| + </script>
|
| + </body>
|
| +</html>
|
|
|