Open KatieWoe opened 5 years ago
Is this the "cheering" game reward sound?
Most noticeable, as it is the longest. Happens with the other sounds as well though, such as the "ding you got it right" sound.
Questions:
@jbphet: There's currently no API for pausing these sounds. Is that supported in the new sonification sound API?
@arouinfar @ariel-phet @samreid I was under the impression that there was nothing that needs to be changed in a sim to make it work for LoL. Is LoL expecting to use some API (PhET-iO?) to pause sound?
I feel like I've seen some iteration of this same issue pop up for just about every sound-containing sim being tested in the LoL harness. @KatieWoe has there been an related issue in a common repo?
@pixelzoom you may find https://github.com/phetsims/resistance-in-a-wire/issues/194#issuecomment-460123581 helpful. I don't really know anything about the technical aspects of LoL support.
In the LoL environment, the teacher has the option to pause the activity for all students, most likely for a quick announcement or class discussion. John Travoltage (which has sonification) has been integrated into LoL, so it seemed like an easy candidate to test this sort of issue "in the wild" (given that it makes quite a bit of sound). I created a dummy activity on my teacher account, and opened it in another browser on my student account. When a teacher pauses the activity, the students see an LoL splash page, but any sound that was playing when the teacher paused the activity could still be heard.
We already discussed this problem and proposed a solution in https://github.com/phetsims/tambo/issues/51
But that solution assumes that the sim is using tambo, correct? This sim is still using vibe.
That issue is for tambo. https://github.com/phetsims/vibe/issues/33 is for rewriting vibe to use tambo.
Correct me if I'm wrong, but if vibe only supports pre-recorded samples, and not long-running dynamically generated sound, then it is probably fine if the sound continues after pause is pressed. It will stop shortly thereafter when the sound is done.
@KatieWoe's original note:
Likely to be deferred as in phetsims/fractions-common#80.
Seems appropriate to me.
Or perhaps we should close this and other sim-specific issues that identify this as a "bug", and formulate a plan based on phetsims/vibe#33 (porting to tambo) and phetsims/tambo#51 (handling pause in tambo).
@amanda-phet @ariel-phet does this need to be addressed for the current RC, or can it be deferred until we have a general plan? (See https://github.com/phetsims/tambo/issues/57.)
@pixelzoom does not need to be addressed for current RC
This issues is not specific to graphing-lines, and still occurs now that this sim is using tambo for sound. So transferring this issue to tambo.
For https://github.com/phetsims/QA/issues/277 The sounds in the Graphing Lines game do not pause when the legends of learning harness is paused. Likely to be deferred as in https://github.com/phetsims/fractions-common/issues/80.