Test AudioBufferSource.onended

Tests that the onended event is called. This test cannot be run in an offline context because the onended event is always called.

Press "Test" button to run the test. You should hear two tones, each lasting 1/2 second. If you do not, the test failed and onended was not correctly fired to generate the second tone. There should also be messages displayed for each tone played.

Results