Index: LayoutTests/webaudio/osc-sawtooth-sweep-snr.html |
diff --git a/LayoutTests/webaudio/osc-sawtooth-sweep-snr.html b/LayoutTests/webaudio/osc-sawtooth-sweep-snr.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..b5606f5013dec82e1469e488de0ffc4bf218b0e8 |
--- /dev/null |
+++ b/LayoutTests/webaudio/osc-sawtooth-sweep-snr.html |
@@ -0,0 +1,23 @@ |
+<!doctype html> |
+<html> |
+ <head> |
+ <title>Test Oscillator Node: sawtooth</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 Sawtooth Oscillator with Exponential Sweep"); |
+ |
+ var tester = OscillatorTestingUtils; |
+ |
+ // The thresholds are experimentally determined. |
+ tester.setThresholds({snr: 83.00, maxDiff: 3.18, diffCount: 4100}); |
+ tester.runTest("sawtooth"); |
+ successfullyParsed = true; |
+ </script> |
+ </body> |
+</html> |