puter
puter copied to clipboard
Play the Puter chime at startup
It would be cool if the Puter chime was played at Puter's startup.
Of course, the user could disable it from the personalization menu in settings if they don't want it.
Here's what it could look like if that feature was added :
https://github.com/user-attachments/assets/797a3346-347e-461a-ae33-ff745d9975b6
(make sure you enabled sound on the video)
I love this! How did you manage to play the chime without clicking? That's our only issue right now!
I love this! How did you manage to play the chime without clicking? That's our only issue right now!
Well i just recorded a video of me opening Puter and I added the sound afterwards with editing, just to show what it could look like if the feature was in Puter. But i do know that sound can't play if the user have not clicked inside, and i don't know how it could work.
We talked about having this play after manual login since a dom event can be triggered for that. Otherwise, we just won't play a sound (browser won't let us without a click). This is a good task for a new contributor, so I'm going to wait and see if anyone else wants to take it on.
Hey @KernelDeimos, I'd like to take a look into this issue. could you please assign this to me ? Also do you have any specific chime to implement ?
Hey @KernelDeimos, I'd like to take a look into this issue. could you please assign this to me ? Also do you have any specific chime to implement ?
Sure thing! The chime is at: src/gui/src/audio/puter_chime.mp3
Keep in mind, there's slightly annoying issue you'll encounter where audio is not allowed to play until the user clicks something. For this reason, we can only really support a good experience with it when the user starts at the login page and clicks "login".
There's a new "welcome screen", we could also maybe play it there in situations where the chime hasn't already been played at that point. There might be other good situations for it, let us know if you come up with something else.
@4nshuman hi, are you still working on this?
Hey @KernelDeimos,
Yup I'm still on it. Actually I was tinkering with a couple of solutions to try and play the sound as soon as everything loads up on the page rather than the first user interaction. I have had some success but still experimenting.
hey @KernelDeimos, I've raised a PR, could you please take a look.
Just noticed it got actually added, i'm closing this issue