Closed Nancy-Salpepi closed 1 year ago
Interesting, thanks @Nancy-Salpepi. I think the correct behavior is that sounds should NOT play when you check the checkbox, until you change the shape again. Ill go ahead with that.
I agree. Even with the Tracks Play Forever enabled, if you check and uncheck that share Sound checkbox, sound should only play again when you move the shape.
Over slack @Nancy-Salpepi thought of a good point to think through.
if I have the sounds checked in the sim and the continuous sounds checked as well-- then I shut off Sounds or All Audio and turn them back on — I hear sound. So if you make the change you proposed above, would you have to change those as well?
@BLFiedler with this thought would you change your comment above?
Thinking about it a bit, I am OK with the difference. I think it is good that general Audio and Sound controls in preferences don't start/stop ambient sounds. But it is best that shape music should only play after changing the shape. But curious what @BLFiedler thinks.
I'm pretty sure I agree with @jessegreenberg's last statement, but let's check in at our next meeting quickly to sanity check.
We are all okay with this. The checkbox serves to "turn off" the sonification ("shapes changes" in Voicing). Whereas, the Audio off (or pref menu) is more like muting the sounds, resuming when you've turned it back on.
WAIT. Actually, the checkbox is inconsistent, which is what NS was pointing out. Let's make sure the checkbox stops the sonification (or prevents it if not enabled) every time. Shape sound should not play unless you move the shape when the Shape Sound checkbox is enabled.
Over to JG to fix
The above is a potential simple fix for this. Now we strop all tracks and reset the player when shape sounds are disabled OR enabled so that in order to hear sounds again the shape must be moved.
Closing.
The above is a potential simple fix for this. Now we strop all tracks and reset the player when shape sounds are disabled OR enabled so that in order to hear sounds again the shape must be moved.
@jessegreenberg does that also refer to when the Shape Sound Options are changed?
Yes, it should behave the smae for "Shape Sound Options". Is that what you are seeing?
Yes. I have to move the shape again for sound to resume.
OK, great. I think this can be closed, please reopen if thats not the case.
Test device iPad 9th generation and mac
Operating System iOS 16.1.1 and macOS 13.1
Browser safari
Problem description For https://github.com/phetsims/qa/issues/879, with 'Play Shapes Sounds forever....' checked in the preferences menu, if I uncheck and then recheck the sounds checkbox in the sim, sometimes I hear sound and sometimes I don't.
Steps to reproduce
Visuals
https://user-images.githubusercontent.com/87318828/211877166-073a9809-bc4d-44b4-8ea2-2456645738ee.mov