Skip to content

Add audio notifications for Pomodoro intervals #4

Description

@hughgramel

Feature Request

Integrate audio pings/notifications for Pomodoro timer intervals to make reminders more noticeable.

Requirements

  • Play audio notification when Pomodoro interval ends
  • Play different sounds for:
    • Work interval ending (break time)
    • Break interval ending (back to work)
    • Long break
  • Should work in voice channels when user is connected
  • Fallback to text notifications if not in VC

Technical Considerations

  • Discord.js supports audio through @discordjs/voice package
  • Need to join voice channel to play audio
  • Consider user preferences (some may want silent notifications)
  • Audio files need to be short and non-intrusive
  • May need voice connection management (joining/leaving channels)

Implementation Notes

  • Add dependency: @discordjs/voice and libsodium-wrappers
  • Store audio files in assets/sounds/ directory
  • Add user setting to enable/disable audio notifications
  • Bot needs Connect and Speak permissions in VC

Open Questions

  • Should bot join VC automatically or only if user is already there?
  • What sounds to use? (gentle chime vs alert tone)
  • Should volume be configurable?

User Story

As a user in a voice channel, I want to hear audio notifications when my Pomodoro intervals end, so I don't miss the reminders.

Labels

enhancement, pomodoro, voice-integration, audio

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions