phetsims / projectile-data-lab

"Projectile Data Lab" is an educational simulation in HTML5, by PhET Interactive Simulations.
GNU General Public License v3.0
0 stars 0 forks source link

Add preference for turning off the landing sound? #238

Closed catherinecarter closed 4 months ago

catherinecarter commented 5 months ago

In the preferences menu, currently there are options to change the sound of the launched projectile. One of these options is "none," meaning you can turn the sound off for the launcher.

image

There is no option to turn the landing sound off. It seems unbalanced to be able to turn off the launcher sound and only hear the landing sound, but no option to turn off the landing sound and only hear the launcher sound.

I'm wondering if there are others who agree that adding the option to turn the landing sound off would feel more balanced.

matthew-blackman commented 5 months ago

I consulted with @emily-phet and @Ashton-Morris about this, and their recommendation was to omit this feature - at least until there is further evidence that it is needed. Their reasoning was that projectile landing sounds are central to the distribution of the data in the histogram, which is a core feature to the sim's learning goals. Allowing users to silence this seemed less productive than allowing them to silence the launch sound to focus on the distribution of positions.

Currently, users can hear the launch sound by itself if they hit launch a few times manually - there are a few seconds before the first projectile hits the ground. This seems like a reasonable way to listen to the launch sounds in isolation.

@catherinecarter does this reasonable to you? This would be a low-cost feature to implement if we decide it is warranted, but I tend to agree with the reasons above in leaving it out unless it is requested.

samreid commented 4 months ago

In today's discussion, we agreed to go forward with implementing this. We will also have an option to hear nothing for the landing sound, so both could be turned off at the user's discretion. Probably a checkbox.

matthew-blackman commented 4 months ago

This has been implemented. @catherinecarter can you review?

catherinecarter commented 4 months ago

The sounds seem to be working as intended, which is great.

The layout of the preferences menu is a little squished, though. I don't know how it works, but if the "Play Landing Sound" can be shifted down just a tad to create a buffer between the launch sound description and it, I think it would be more readable.

image

matthew-blackman commented 4 months ago

Updated in the commit - @catherinecarter feel free to close if the updated version looks good.

catherinecarter commented 4 months ago

Looks easier to read. Nice.