4 <title>Test Oscillator Node: square
</title>
5 <script src=
"resources/compatibility.js"></script>
6 <script src=
"resources/buffer-loader.js"></script>
7 <script src=
"../resources/js-test.js"></script>
8 <script src=
"resources/oscillator-testing.js"></script>
13 description("Test Square Oscillator with Exponential Sweep");
15 // Thresholds for verifying the test passes. The thresholds are experimentally determined.
17 var tester
= OscillatorTestingUtils
;
18 // The thresholds are experimentally determined.
19 tester
.setThresholds({snr
: 81.57, maxDiff
: 7.26, diffCount
: 18260});
20 tester
.runTest("square");
21 successfullyParsed
= true;