phetsims / equality-explorer

"Equality Explorer" is an educational simulation in HTML5, by PhET Interactive Simulations.
GNU General Public License v3.0
2 stars 3 forks source link

Support for UI sounds #181

Open markgammon opened 3 years ago

markgammon commented 3 years ago

As part of the work done for https://github.com/phetsims/vegas/issues/77, UI sounds got turned on for this simulation. Before the sim is published again from master, we should decide whether to turn the UI sounds off, leave them on and design and implement sounds for the rest of the interactions, or publish with a partial sound design.

If the decision is to turn them off, this can be accomplished by adding the following line to the end of the sim's -main.js file:

  soundManager.setOutputLevelForCategory( 'user-interface', 0 );
pixelzoom commented 3 years ago

UI sounds were turned off for the 1.1 release in https://github.com/phetsims/equality-explorer/issues/177. So I'm going to retitle this issue accordingly, and adjust its status.

pixelzoom commented 2 years ago

@kathy-phet asked me to evaluate the technical lift of adding UI sound to this sim. @amanda-phet FYI.

There are very few common-code UI components in this sim, only a handful of buttons on each screen. Most of the interaction involves moving items between the toolboxes and the scale. So simply turning on UI sounds is not going to provide a good/useful sound experience.

So there will be a lot of sim-specific sound implementation required. And the first thing that needs to happen is a significant design task. Identify where to use sound, how much sound design to bite off, etc. Then descide whether to move forward, based on whether adding sim-specific sound will result in a meaningful sound experience for the user.

There are some big questions here, including:

amanda-phet commented 2 years ago

After a discussion with Ashton many months ago, my understanding is that sound design is a big chunk of work for everyone involved as there is a lot of thought that goes into it (similar to your questions you've listed) as well as lots of iterating on the design. So it's a lengthy process that takes time. Is this a Q2 goal? I have other sims where sound design has come into question and I think I need some clarification from Kathy about the priority of sound design for this sim, as well as others.

pixelzoom commented 2 years ago

My understanding is that @kathy-phet wants to have a discussion about this, sometime towards the beginning of Q2 2022. So assigning to @kathy-phet and @amanda-phet.

pixelzoom commented 2 years ago

According to @kathy-phet in Slack, "we are going to postpone that work on EE for now". So unassigning myself, and labeling as deferred.

pixelzoom commented 2 days ago

Support for default UI sounds in common code has come a long way since we last worked on this issue. In the couple of places where this sim was missing UI sounds, I was able to quickly add them in the above commits, and I used the same defaults as common code.

Sounds is now enabled for the entire suite, and I recommend that we publish 1.2 (see https://github.com/phetsims/equality-explorer/issues/208) with default UI sounds. @amanda-phet @kathy-phet Do you have any objections?

If no objections... @amanda-phet feel free to test-drive if you have time. If you don't have time, I think it's fine to vet this during dev testing, since QA is well-versed in default UI sounds.

kathy-phet commented 1 day ago

No objections to publishing with UI sound. Thanks!

pixelzoom commented 1 day ago

Ready for dev testing in https://github.com/phetsims/qa/issues/1172, https://github.com/phetsims/qa/issues/1173, and https://github.com/phetsims/qa/issues/1174.

amanda-phet commented 16 hours ago

I tried every action and heard a sound, so that's good!