-
Notifications
You must be signed in to change notification settings - Fork 3
Overlap checkbox only prevents overlaps of the same sound. #6
Copy link
Copy link
Open
Description
When the "No Overlap" checkbox is checked, it only prevents the overlapping of the same sound file. If the user plays different sound files at the same time they will overlap each other. This seems to originate here:
Lines 6 to 10 in 35e6ec8
| if (document.getElementById("overlap").checked) { | |
| document.getElementById(soundSrc).pause(); | |
| document.getElementById(soundSrc).currentTime = 0; | |
| document.getElementById(soundSrc).play(); | |
| } |
A sound file is only paused if it matches soundSrc. If a different file is already playing, the new soundSrc starts playing over it. I am not sure if is intended or not, but it seems to differ from the hover text explanation for the checkbox.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels