| OLD | NEW |
| 1 <!doctype html> | 1 <!doctype html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <title>Test Oscillator Node: sawtooth</title> | 4 <title>Test Oscillator Node: sawtooth</title> |
| 5 <script src="../resources/compatibility.js"></script> | |
| 6 <script src="../resources/buffer-loader.js"></script> | 5 <script src="../resources/buffer-loader.js"></script> |
| 7 <script src="../../resources/js-test.js"></script> | 6 <script src="../../resources/js-test.js"></script> |
| 8 <script src="../resources/oscillator-testing.js"></script> | 7 <script src="../resources/oscillator-testing.js"></script> |
| 9 </head> | 8 </head> |
| 10 | 9 |
| 11 <body> | 10 <body> |
| 12 <script> | 11 <script> |
| 13 description("Test Sawtooth Oscillator with Exponential Sweep"); | 12 description("Test Sawtooth Oscillator with Exponential Sweep"); |
| 14 | 13 |
| 15 var tester = OscillatorTestingUtils; | 14 var tester = OscillatorTestingUtils; |
| 16 | 15 |
| 17 // The thresholds are experimentally determined. | 16 // The thresholds are experimentally determined. |
| 18 tester.setThresholds({snr: 80.00, maxDiff: 4.06, diffCount: 15827}); | 17 tester.setThresholds({snr: 80.00, maxDiff: 4.06, diffCount: 15827}); |
| 19 tester.runTest("sawtooth"); | 18 tester.runTest("sawtooth"); |
| 20 successfullyParsed = true; | 19 successfullyParsed = true; |
| 21 </script> | 20 </script> |
| 22 </body> | 21 </body> |
| 23 </html> | 22 </html> |
| OLD | NEW |