phetsims / molarity

"Molarity" is an educational simulation in HTML5, by PhET Interactive Simulations.
http://phet.colorado.edu/en/simulation/molarity
GNU General Public License v3.0
2 stars 6 forks source link

Add sound #110

Closed jbphet closed 5 years ago

jbphet commented 5 years ago

The sound design has been approved, it's time to add it to the sim. The sound design document is available here and the most recent sound design prototype is here.

jbphet commented 5 years ago

I've added most of the sounds for this, and it's time for @Ashton-Morris to take it for a test drive and let me know what should be changed about the mix. The volume settings are pretty distributed in the code, so @Ashton-Morris - I think it would be best if you just provided me with written feedback about what should go up and down and by how much in this GitHub issue and then I'll do the best I can to implement it in the code.

The dev version to test can be found at https://phet-dev.colorado.edu/html/molarity/1.5.0-dev.16/phet/molarity_en_phet.html.

Ashton-Morris commented 5 years ago

Overall it sounds very good. The change I would make is: Lower the precipitate by 30%

Also I am not getting a sound for when you close the combobox without choosing a new Solute.

And when I change the water level with no solute, it sounds like that sound is not going through the same reverb as all of the other sounds. That sound much more mono while all the other sounds sounds wider.

jbphet commented 5 years ago

Lower the precipitate by 30%

I've done this, and I also fixed an issue where the sound was playing infrequently compared to the sound design prototype. In the end, I also tweaked the volume a bit more to match the sound design prototype pretty closely.

I am not getting a sound for when you close the combobox without choosing a new Solute.

@Ashton-Morris, @emily-phet, and I discussed this in the most recent sound design meeting, but I thought I'd record it here too so that we have a record of the information. The problem with playing a sound when the combo box closes is that the close event occurs before the change to the selected value (in this case the selected solute), so the code to play a sound when the combo box is opened and closed but no selection change occurs is a bit tricky. It could be done, but I proposed that we leave it like this for now and wait until the sound generation functionality is fully integrated into the Combobox common code, at which point this will be easier. The team agreed that this was okay.

[W]hen I change the water level with no solute, it sounds like that sound is not going through the same reverb as all of the other sounds. That sound much more mono while all the other sounds sounds wider.

The sounds are both going through exactly the same reverb signal path. I suspect that it sounds the way it does because the marimba sound being used for the concentration is one of the few stereo sounds that we have. I believe we left this one as a stereo sound because we use it a lot and it sounds good that way, but I'm not certain. So, for this one, the easiest ways to address it are to:

@Ashton-Morris - please let me know which of the options sounds best to you.

Here is the latest dev version, which includes the changes to the precipitate sound generator: https://phet-dev.colorado.edu/html/molarity/1.5.0-dev.18/phet/molarity_en_phet.html

Ashton-Morris commented 5 years ago

@jbphet I am getting a 404 error even when connected through the vpn. Can you verify that this link is working?

jbphet commented 5 years ago

My bad - I had accidentally deployed the phet-io brand instead of the phet brand. The link should be good now.

jbphet commented 5 years ago

The latest implementation of the sound was reviewed in the 7/9/2018 sound design meeting, and we've decided that it's good to go. Assigning to @twant, and she is working on the publication of this sim with support from @zepumph.

twant commented 5 years ago

Thanks so much @jbphet! Everything sounds great -- closing.