Closed
Bug 812245
Opened 12 years ago
Closed 11 years ago
[Sound] Shut Down Animation Needs a sound
Categories
(Firefox OS Graveyard :: Gaia::System, defect, P3)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: padamczyk, Assigned: sjochimek)
References
Details
(Whiteboard: visual design, sound, UX-P3, hanzo)
Attachments
(3 files)
Waiting for the sound from the vendor
Reporter | ||
Updated•12 years ago
|
Priority: -- → P3
Whiteboard: visual design, sound → visual design, sound, interaction
Reporter | ||
Comment 1•12 years ago
|
||
Reporter | ||
Comment 2•12 years ago
|
||
Would be nice if the shutdown sound was sync'd with the animation.
Assignee: padamczyk → sjochimek
Whiteboard: visual design, sound, interaction → visual design, sound, UX-P3
Reporter | ||
Updated•12 years ago
|
Whiteboard: visual design, sound, UX-P3 → visual design, sound, UX-P3, uxbranch
Assignee | ||
Comment 3•11 years ago
|
||
Attachment #745845 -
Flags: feedback?(padamczyk)
Assignee | ||
Comment 4•11 years ago
|
||
Patryk: I added a 500 delay. The sound start when the first Orange circle appears.
Reporter | ||
Comment 5•11 years ago
|
||
Tested, great! Ship it!
Reporter | ||
Updated•11 years ago
|
Whiteboard: visual design, sound, UX-P3, uxbranch → visual design, sound, UX-P3, hanzo
Assignee | ||
Comment 6•11 years ago
|
||
Attachment #749001 -
Flags: review?(timdream)
Comment 7•11 years ago
|
||
Comment on attachment 749001 [details]
PR Github
Why do you need the that 500 sec?
(set the review flag back to me when this question is answered)
Attachment #749001 -
Flags: review?(timdream)
Reporter | ||
Comment 8•11 years ago
|
||
Comment on attachment 745845 [details]
Branch on github
Just tested it works perfectly.
Attachment #745845 -
Flags: feedback?(padamczyk) → feedback+
Assignee | ||
Comment 9•11 years ago
|
||
Comment on attachment 749001 [details]
PR Github
Tim: We wanted this sound starts at the same time as the first orange circle appear. That explains the 500ms delay. If we don't use a delay here the sounds are played earlier, and the effect is broken.
Attachment #749001 -
Flags: review?(timdream)
Comment 10•11 years ago
|
||
Comment on attachment 749001 [details] PR Github Hum... 1. Instead of introducing a timeout, please put the play() somewhere here: https://github.com/samjoch/gaia/blob/793df1b47956b67a2ddc26008c54a1419d7e39c4/apps/system/js/sleep_menu.js#L279 So that the sound actually plays when the animation took place. 2. Do we really want to play that sound even with a partner shutdown video replace the default 3-ring animation?
Attachment #749001 -
Flags: review?(timdream)
Assignee | ||
Comment 11•11 years ago
|
||
Tim: Even if i put the play() in that part, i still need a timeout to play the sound to keep synchronized the sound and the animation. Without the timeout the sound is played when the animation start, too soon. Maybe we can add that delay in the sound ? Patryk: Can you take 2. ?
Flags: needinfo?(padamczyk)
Reporter | ||
Comment 12•11 years ago
|
||
> 2. Do we really want to play that sound even with a partner shutdown video
> replace the default 3-ring animation?
Since we are allowing partners to swap out the animation we should also allow them to swap out the sound as well. Both the sound and the animation should be swap-able.
I am okay if the animation and sound are locked together as 1 component.
Flags: needinfo?(padamczyk)
Assignee | ||
Updated•11 years ago
|
Attachment #749001 -
Flags: review?(timdream)
Comment 13•11 years ago
|
||
Comment on attachment 749001 [details] PR Github https://github.com/samjoch/gaia/blob/817a0347bbdace160cb2643d0ad82db24dadc76e/apps/system/js/sleep_menu.js#L291 As I said previously, instead of a timeout(), you should put the code in the nextAnimation() with condition checks, so the file would play at the exact time.
Attachment #749001 -
Flags: review?(timdream) → review-
Comment 14•11 years ago
|
||
Comment on attachment 749001 [details]
PR Github
You are getting there!
Attachment #749001 -
Flags: review-
Assignee | ||
Comment 15•11 years ago
|
||
Ok i removed the setTimeout. Patryk can you confirm is still ok ?
Flags: needinfo?(padamczyk)
Assignee | ||
Updated•11 years ago
|
Attachment #749001 -
Flags: review?(timdream)
Comment 17•11 years ago
|
||
Comment on attachment 749001 [details]
PR Github
Thank you!
Attachment #749001 -
Flags: review?(timdream) → review+
Comment 18•11 years ago
|
||
https://github.com/mozilla-b2g/gaia/commit/e4bf807f22dd5c392d181a216b2e7d4ccd162308
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Comment 19•11 years ago
|
||
The audio scares me with a large volume. Could we lower the volume factor to 0.5 or else? Or we should consider to change the default content/normal volume...
Assignee | ||
Comment 20•11 years ago
|
||
Revert from #883090: https://github.com/mozilla-b2g/gaia/commit/586529fb54eae68e7854509b43fd87080cfcc606
You need to log in
before you can comment on or make changes to this bug.
Description
•