Test of loop equal to false, and startTime less than stopTime. The result should be the chime sound will play until stopTime is reached. Clicking on the "Start" button sets startTime to "now". Simultaneously, stopTime is set to ("now" + 12 seconds). As a result, because loop is set to false, the sound will cycle for only ONE complete loop (a total of 5 seconds), then stop. If the "Stop" button is pressed any time before the end of the sound cycle, the sound should stop instantly.

Your browser might not support all features required by X_ITE!