Closed KatieWoe closed 3 years ago
This is a design issue, so assigning to @arouinfar.
My 2 cents... I think it's going to be confusing for sound to stop when the sound checkbox is still checked. So if we do stop sound when the sim is paused, then we should also disable the sound controls, as we do when sound is turned off via the navigation bar.
I'll also point out that this is only an issue when the domain is "space & time". So that makes it even more complicated. If the sim is paused in "space & time", and the user switches to "space", what do we do? Do we resume sound even though the times controls (which are now disabled) is set to pause? Or do we make them switch back to "space & time", resume playing the sim, then switch back to "space".
Imo this is a can of worms. And good that we might do by changing the behavior is liable to result in even greater confusion.
Raising priority to high. A decision on this is needed before we can proceed with the next Fourier RC.
@KatieWoe you raise a good question.
Generally, I would expect the sound to pause if its origin paused. In Waves Intro, pausing the sim will also pause the sound associated with the "Play Tone" checkbox because the cause of the sound (oscillating speaker membrane) has paused. However, general UI sounds (checkboxes, sliders, etc.) will still play.
Things are a bit different in this sim. The sound associated with the sound checkbox represents the harmonics currently displayed in the Harmonics graph. In f(x) and f(t) modes the content is static and is analogous to a paused state in f(x,t) mode. I agree with @pixelzoom's assessment in https://github.com/phetsims/fourier-making-waves/issues/190#issuecomment-929540907. I don't think we need to pause the sound of the harmonics when the sim is paused. Closing.
Test device Dell Operating System Win 10 Browser Chrome Problem description For https://github.com/phetsims/qa/issues/711. When the sim is paused, the sound of the wave does not stop. This is especially noticeable when the wave is moving.
Visuals
https://user-images.githubusercontent.com/41024075/135146786-6a52d05a-132a-4740-ab18-29b88e1fe955.MOV
Troubleshooting information: