| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 | 2 |
| 3 <!-- | 3 <!-- |
| 4 Create two sources and play them simultaneously. This tests unity-gain summing
of AudioNode inputs. | 4 Create two sources and play them simultaneously. This tests unity-gain summing
of AudioNode inputs. |
| 5 The result should be some laughing playing at the same time as the drumming. | 5 The result should be some laughing playing at the same time as the drumming. |
| 6 --> | 6 --> |
| 7 | 7 |
| 8 <html> | 8 <html> |
| 9 <head> | 9 <head> |
| 10 <script type="text/javascript" src="resources/audio-testing.js"></script> | 10 <script src="resources/audit-util.js"></script> |
| 11 <script src="resources/audio-testing.js"></script> |
| 11 <script type="text/javascript" src="resources/buffer-loader.js"></script> | 12 <script type="text/javascript" src="resources/buffer-loader.js"></script> |
| 12 | 13 |
| 13 </head> | 14 </head> |
| 14 <body> | 15 <body> |
| 15 | 16 |
| 16 <script> | 17 <script> |
| 17 | 18 |
| 18 window.onload = init; | 19 window.onload = init; |
| 19 | 20 |
| 20 var sampleRate = 44100.0; | 21 var sampleRate = 44100.0; |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 source2.start(0); | 57 source2.start(0); |
| 57 | 58 |
| 58 context.oncomplete = finishAudioTest; | 59 context.oncomplete = finishAudioTest; |
| 59 context.startRendering(); | 60 context.startRendering(); |
| 60 } | 61 } |
| 61 | 62 |
| 62 </script> | 63 </script> |
| 63 | 64 |
| 64 </body> | 65 </body> |
| 65 </html> | 66 </html> |
| OLD | NEW |