Skip to content

A simple, voice-activated timer that you can use directly in your browser. It is designed to help you easily set and manage rest periods while working out (or for any other activity where a countdown is needed and can't use your hands).

Notifications You must be signed in to change notification settings

YoussefNim/voice-activated-timer

Repository files navigation

Voice-Activated Timer

Overview

A simple, voice-activated timer that you can use directly in your browser. It is designed to help you easily set and manage rest periods while working out (or for any other activity where a countdown is needed and you can't use your hands). An alert sound plays during the last 4 seconds of the countdown to ensure you are notified before time expires.

Features

  • Voice Commands: Control the timer using your voice. Just say commands like :

    • 30 seconds to set a 30-second countdown.
    • 1 minute and 10 seconds to set a 1 minute and 10 seconds countdown.
  • Automatic Listening: The timer listens continuously for your commands, so you don’t need to interact with the page manually.

  • Real-Time Display: The remaining time is displayed in an easy-to-read format, even from a distance.

  • Alert Sound: An alert sound plays during the last 4 seconds of the countdown to notify you before time expires. Ensure to click the "Enable Audio" button to authorize sound playback.

How It Works

  1. Open the Timer: Load the timer page in your browser.
  2. Speak Your Command: Use voice commands to set the timer for your desired duration.
  3. Countdown Display: The timer will start counting down and display the remaining time.
  4. Alert sound: The alert sound will play during the last 4 seconds of the countdown.

Value

This timer is especially useful for:

  • Workout Sessions: Easily manage your rest periods without needing to touch your computer or phone.
  • Hands-Free Operation: Ideal for situations where your hands are occupied, such as during exercise or while cooking.

Getting Started

  1. Open the Project: Load the timer.html file in your web browser.
  2. Grant Microphone Permissions: Allow the browser to access your microphone if prompted.
  3. Start Using the Timer: Speak your commands to set and control the countdown.
listening
countdown

About

A simple, voice-activated timer that you can use directly in your browser. It is designed to help you easily set and manage rest periods while working out (or for any other activity where a countdown is needed and can't use your hands).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published