Open jbphet opened 3 years ago
Note to self: Remember to benchmark the sim size and startup time before and after making the changes to these files.
Transferred this issue from molecules-and-light to greenhouse-effect, since that's where the sound files now reside.
I'm also going to mark this as "blocks-publication", since this should be addressed before the next publication of the Molecules and Light sim or any version of Greenhouse Effect that includes these sounds.
I would recommend this as a "blocks-sim-publication", and creating a "pointer" issue if needed in Molecules and Light because otherwise every dev will see this issue when going to publish any sim (like I just did for getting ready for Friction and Ratio and Proportion).
To be clear, this blocks the publication of Molecules and Light, but not Greenhouse Effect, since the latter doesn't use the sounds in question.
There isn't much value in working on this until we are either adding the "Micro" screen to the Greenhouse Effect or we need to republish Molecules and Light from the main branch. I'm going to unassign and defer for now. This issue should be "reactivated" when work either of these two efforts begins.
While working on the soundboard (see https://github.com/phetsims/phetmarks/issues/45), I noticed that the slow-motion rotation sounds are very long. I suspected that this means that the files are also quite large, and indeed they are. According to Windows Explorer, the size for both
rotation-counterclockwise-slow-motion.mp3
androtation-clockwise-slow-motion.mp3
is is 303 KB. The lengths of these loops could probably be reduced quite a bit without compromising the user experience. This would reduce the size of the download for this sim, as well as the startup time.I'm thinking I should go ahead and do this, since we are going to be consolidating this code into the greenhouse-effect fairly soon.