phetsims / balloons-and-static-electricity

"Balloons and Static Electricity" is an educational simulation in HTML5, by PhET Interactive Simulations.
http://phet.colorado.edu/en/simulation/balloons-and-static-electricity
GNU General Public License v3.0
6 stars 10 forks source link

"Looping" sound not heard when sim is initially launched in Studio Wrapper #561

Closed Nancy-Salpepi closed 2 years ago

Nancy-Salpepi commented 2 years ago

Test device MacBook Air (m1 chip)

Operating System 12.0.1

Browser Chrome

Problem description When testing https://github.com/phetsims/phet-io/issues/1626 in master, I noticed an inconsistency in sound between the Studio and State Wrappers. In the State wrapper, if I set the state while the balloon is in motion, I hear the associated sound in the downstream sim (as expected). However, if I launch the sim in Studio while the balloon is in motion, the sim launches without the sound. Clicking anywhere on the screen will turn the sound on.

With Mac + Safari, the sim launches with sound on.

As per MK's recommendation, I am not assigning to any developer at this time.

Steps to reproduce In Studio:

  1. Remove Wall
  2. Rub balloon on the sweater to gather a few electrons
  3. Release the balloon far from the sweater
  4. Press 'preview sim' -- the balloon is moving without sound
  5. Click anywhere on the screen--the sound turns on

Visuals

https://user-images.githubusercontent.com/87318828/153526581-e7b6b7eb-4a28-485d-9948-0c4120ba36a4.mov

KatieWoe commented 2 years ago

Tested on Win 11 and I saw something similar to https://github.com/phetsims/fourier-making-waves/issues/217 here. On Chrome I reproduced this. On Firefox I did not.

zepumph commented 2 years ago

This is the identical issue as in https://github.com/phetsims/fourier-making-waves/issues/217#issuecomment-1051140400. Closing as a duplicate.