-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Decreasing Number of Bodies sound heard on Reset All #307
Comments
This sound is also coming up when selecting a new preset, and it shouldn't be. Looking into it. |
@Nancy-Salpepi can you review this and close when ready? Thanks! |
Sounds good to me now--I don't hear it on Reset All or when changing the orbital system. |
This part is fixed, but on main I just realized that the sound made when selecting an orbital preset is missing. I just hear the combobox closing sound. |
This is weird and potentially a common code issue. I'm seeing that although the published version has a custom comboBox sound, neither MSS or Kepler's baseline do, nor sims like GeometricOptics, but I'm seeing Balancing-Chemical-Equations still uses the selection sound instead of the closing one. Even though there's nothing in their construction that seems to indicate a difference. Any thoughts @pixelzoom ?? |
@Nancy-Salpepi said:
I'm not experiencing this problem -- when I select an item from And ComboBox has a default sound, so it's not necessary to specify a sound unless you want to change the default. |
But that's not it. The ComboBox has three sounds: Again, Balancing-Chemical-Equations still has a selection sound, but other sims do not. Should we do anything about this or leave it be? |
Oh, I see. Published version 1.2.3 (and baseline) are using a custom sound for the EDIT: No, that's not correct. The published version was using the default, a tone with decreasing pitch for each item. And baseline 1.3.0-dev.1 has the problem reported here -- same sound for every item. |
Sounds can be provided by the items, see ComboBoxListBox: // Make a list of sound generators for the items, using defaults if nothing was provided.
const itemSelectedSoundPlayers = items.map( item => {
return item.soundPlayer ?
item.soundPlayer :
multiSelectionSoundPlayerFactory.getSelectionSoundPlayer( items.indexOf( item ) );
} ); OrbitalSystemComboBox |
I compared geometric-optics published to main. The published version has the default sound -- a different tone for each item. main has the same tone for all items. So something was changed in main, probaby unintentionally. |
Posted to Slack#developer:
|
Since we've established that this is a common-code problem, I opened phetsims/sun#861. @jbphet volunteered to investigate. I'll put this issue on hold until that issue is resolved. |
Assigning to me and @AgustinVallejo to keep an eye on phetsims/sun#861. |
phetsims/sun#861 has been addressed (thanks @jbphet!) and is behaving nicely in this sim. So this issue can be closed. |
Test device
MacBook Air M1 chip
Operating System
14.1.1
Browser
Safari 17.1
Problem description
For phetsims/qa#1008, on the Lab Screen, pressing Reset All with more than 2 bodies present will trigger the 'Decreasing Number of Bodies' sound.
Steps to reproduce
Visuals
soundsonResetAll.mov
The text was updated successfully, but these errors were encountered: