| OLD | NEW |
| 1 <!doctype html> | 1 <!doctype html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <script src="../resources/js-test.js"></script> | 4 <script src="../resources/js-test.js"></script> |
| 5 <script src="resources/compatibility.js"></script> | 5 <script src="resources/compatibility.js"></script> |
| 6 <script src="resources/audio-testing.js"></script> | 6 <script src="resources/audio-testing.js"></script> |
| 7 <script src="resources/realtimeanalyser-testing.js"></script> | 7 <script src="resources/realtimeanalyser-testing.js"></script> |
| 8 <script src="resources/fft.js"></script> | 8 <script src="resources/fft.js"></script> |
| 9 <title>Test Analyser getFloatFrequencyData and getByteFrequencyData, No Smoo
thing</title> | 9 <title>Test Analyser getFloatFrequencyData and getByteFrequencyData, No Smoo
thing</title> |
| 10 </head> | 10 </head> |
| (...skipping 30 matching lines...) Expand all Loading... |
| 41 order: 7, | 41 order: 7, |
| 42 floatRelError: 1.4602e-6 | 42 floatRelError: 1.4602e-6 |
| 43 }, { | 43 }, { |
| 44 order: 8, | 44 order: 8, |
| 45 floatRelError: 8.4828e-7 | 45 floatRelError: 8.4828e-7 |
| 46 }, { | 46 }, { |
| 47 order: 9, | 47 order: 9, |
| 48 floatRelError: 2.3906e-5 | 48 floatRelError: 2.3906e-5 |
| 49 }, { | 49 }, { |
| 50 order: 10, | 50 order: 10, |
| 51 floatRelError: 1.2765e-5 | 51 floatRelError: 2.0483e-5 |
| 52 }, { | 52 }, { |
| 53 order: 11, | 53 order: 11, |
| 54 floatRelError: 8.4920e-6, | 54 floatRelError: 1.3456e-5 |
| 55 }, { | 55 }, { |
| 56 order: 12, | 56 order: 12, |
| 57 floatRelError: 4.3344e-7 | 57 floatRelError: 4.6116e-7 |
| 58 }, { | 58 }, { |
| 59 order: 13, | 59 order: 13, |
| 60 floatRelError: 3.1314e-7 | 60 floatRelError: 3.2106e-7 |
| 61 }, { | 61 }, { |
| 62 order: 14, | 62 order: 14, |
| 63 floatRelError: 1.1756e-7 | 63 floatRelError: 1.1756e-7 |
| 64 }, { | 64 }, { |
| 65 order: 15, | 65 order: 15, |
| 66 floatRelError: 1.1756e-7 | 66 floatRelError: 1.1756e-7 |
| 67 }]; | 67 }]; |
| 68 | 68 |
| 69 // True if all of the basic tests passed. | 69 // True if all of the basic tests passed. |
| 70 var basicTestsPassed = true; | 70 var basicTestsPassed = true; |
| (...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 205 basicTestsPassed = Should(analyser.fftSize + "-point byte FFT", byteFr
eqData) | 205 basicTestsPassed = Should(analyser.fftSize + "-point byte FFT", byteFr
eqData) |
| 206 .beCloseToArray(expectedByteData, 0) && basicTestsPassed; | 206 .beCloseToArray(expectedByteData, 0) && basicTestsPassed; |
| 207 | 207 |
| 208 }).then(context.resume.bind(context)); | 208 }).then(context.resume.bind(context)); |
| 209 | 209 |
| 210 return context.startRendering(); | 210 return context.startRendering(); |
| 211 } | 211 } |
| 212 </script> | 212 </script> |
| 213 </body> | 213 </body> |
| 214 </html> | 214 </html> |
| OLD | NEW |