You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The behavior is not the same in the State wrapper: With Set State Rate = 0, if I generate sound in the downstream sim by moving the sliders and then press Reset All--no sound is generated.
However, sound is generated if I:
Set state rate = 0
Generate sound in downstream sim by moving sliders
Press the "Set State Now" button
Also similar to what I see in GFL and Faraday's law.
Yeah, this is one of those classic "hard state/sound" clashes to deal with. The model moved, but it isn't based on user input. Likely the solution is to have sound based on user-controlled elements instead of the model, so that when model Properties change because of state setting, we won't hear that sound. Thanks for the good labels, this should be tackled upon next work in the repo.
Test device
MacBook Air (m1 chip)
Operating System
12.2.1
Browser
Chrome
Problem description
Seen when testing https://github.com/phetsims/phet-io/issues/1626 in master:
In the Studio wrapper, the launched sim will produce sound when the Reset All button is pressed. It will not produce the Reset All button sound.
Also similar to what I reported for GFL phetsims/gravity-force-lab#284 (comment) and Faraday's Law phetsims/faradays-law#222 (comment).
I am not assigning to anyone at this time (MK's suggestion).
Steps to reproduce
Visuals
ohms.law.mov
The text was updated successfully, but these errors were encountered: