Skip to content

feat(pomodoro): Add Web Audio API sound alert on timer completion (#81) - #86

Open
Shivang9983 wants to merge 3 commits into
anoopcodehack:mainfrom
Shivang9983:feature/pomodoro-sound-alert
Open

feat(pomodoro): Add Web Audio API sound alert on timer completion (#81)#86
Shivang9983 wants to merge 3 commits into
anoopcodehack:mainfrom
Shivang9983:feature/pomodoro-sound-alert

Conversation

@Shivang9983

Copy link
Copy Markdown
Contributor

Closes #81

🛠️ Changes

  • Added a soft "ding" sound alert in client/src/hooks/usePomodoro.js using the Web Audio API.
  • Plays automatically when the timer reaches 00:00.
  • No extra npm packages or mp3 files added.

🧪 Test

Set timer to 5 seconds, let it hit zero, and verify the sound plays.

@Shivang9983

Copy link
Copy Markdown
Contributor Author

Hi @anoopcodehack

I have updated the code and resolved the issue as requested. Could you please review and merge the PR when you get a chance?

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add sound alert when Pomodoro session ends🚨

1 participant