| Index: LayoutTests/webaudio/osc-triangle-sweep-snr.html
|
| diff --git a/LayoutTests/webaudio/osc-triangle-sweep-snr.html b/LayoutTests/webaudio/osc-triangle-sweep-snr.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..d5d2cc869a0bf3c0b0e75a6851ade484828baa00
|
| --- /dev/null
|
| +++ b/LayoutTests/webaudio/osc-triangle-sweep-snr.html
|
| @@ -0,0 +1,23 @@
|
| +<!doctype html>
|
| +<html>
|
| + <head>
|
| + <title>Test Oscillator Node: triangle</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 Triangle Oscillator with Exponential Sweep");
|
| +
|
| + // Thresholds for verifying the test passes. The thresholds are experimentally determined.
|
| +
|
| + var tester = OscillatorTestingUtils;
|
| + tester.setThresholds({snr: 84.85, maxDiff: 2.50, diffCount: 5100});
|
| + tester.runTest("triangle");
|
| + successfullyParsed = true;
|
| + </script>
|
| + </body>
|
| +</html>
|
|
|