OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 | 2 |
3 <!-- | 3 <!-- |
4 Tests that an audio-rate signal (AudioNode output) can be connected to an AudioP
aram. | 4 Tests that an audio-rate signal (AudioNode output) can be connected to an AudioP
aram. |
5 Specifically, this tests that an audio-rate signal coming from an AudioBufferSou
rceNode | 5 Specifically, this tests that an audio-rate signal coming from an AudioBufferSou
rceNode |
6 playing an AudioBuffer containing a specific curve can be connected to an AudioG
ainNode's | 6 playing an AudioBuffer containing a specific curve can be connected to an AudioG
ainNode's |
7 .gain attribute (an AudioParam). Another AudioBufferSourceNode will be the audi
o source | 7 .gain attribute (an AudioParam). Another AudioBufferSourceNode will be the audi
o source |
8 having its gain changed. We load this one with an AudioBuffer containing a cons
tant value of 1. | 8 having its gain changed. We load this one with an AudioBuffer containing a cons
tant value of 1. |
9 Thus it's easy to check that the resultant signal should be equal to the gain-sc
aling curve. | 9 Thus it's easy to check that the resultant signal should be equal to the gain-sc
aling curve. |
10 --> | 10 --> |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 gainChangingSource.noteOn(0); | 103 gainChangingSource.noteOn(0); |
104 | 104 |
105 context.oncomplete = checkResult; | 105 context.oncomplete = checkResult; |
106 context.startRendering(); | 106 context.startRendering(); |
107 } | 107 } |
108 | 108 |
109 runTest(); | 109 runTest(); |
110 successfullyParsed = true; | 110 successfullyParsed = true; |
111 | 111 |
112 </script> | 112 </script> |
113 <script src="../fast/js/resources/js-test-post.js"></script> | |
114 | 113 |
115 </body> | 114 </body> |
116 </html> | 115 </html> |
OLD | NEW |