Skip to content

Overlap checkbox only prevents overlaps of the same sound. #6

@TheKrunch

Description

@TheKrunch

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:

AA-EE-OO/scripts.js

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions