Skip to content

How should tambo deal with sounds attempting to play during sim construction? #181

@samreid

Description

@samreid

From phetsims/center-and-variability#261, @matthew-blackman and I observed that if you clicked in the splash screen during startup, there were spurious sound effects (clipped audio, for instance) during startup. It seemed to happen more frequently with the dev tools closed. But never happened 100% of the time.

We were wondering if tambo should gracefully ignore attempts to play audio before the sim launcher is complete? Or alternatively, it could throw an assertion error if sound is attempted before sim launcher is complete, so we can catch this during development instead of testing.

@jbphet what do you think?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions