Voice-Activated Schedule Management Program

A Voice-Activated Schedule Management Program


As part of my journey to learn Python programming, I've developed a voice-activated schedule management program that I'd love to share with you.


What the Program Does


This program is designed to help you manage your daily schedule using voice commands. Imagine being able to add, remove, or clear items from your schedule without touching your keyboard – that's precisely what this program allows you to do. Here’s a closer look at how it works.


Key Features


1. Voice Recognition for Commands:

   The program uses the `speech_recognition` library to understand and interpret your spoken commands. This means you can control your schedule entirely through voice, making the process effortless and hands-free.


2. Text-to-Speech Responses:

   Using the `pyttsx3` library, the program speaks back to you, providing auditory feedback for every action you take. This interactive feature ensures you know exactly what’s happening with your schedule without needing to look at the screen.


3. Persistent Schedule Management:

   Your schedule is saved to a file (`schedule.txt`), so all your entries are preserved even after you close the program. When you restart it, the program loads your last saved schedule, ensuring you pick up right where you left off.


How It Works


When you start the program, it greets you and displays your last updated schedule, if there is one. Then, it asks if you want to add, remove, or clear items from your schedule.


  • Adding Items: Simply say what you want to add to the schedule. The program listens to your command, confirms the addition, and updates the schedule accordingly.
  • Removing Items: You can also remove items by speaking. The program checks if the item is on your list and removes it if it finds a match. If not, it lets you know the item wasn't found.
  • Clearing the Schedule: If you want to start fresh, you can clear your entire schedule with a single voice command. The program then confirms the action and displays an empty schedule.
  • Reading Out the Schedule: Anytime you want to hear your schedule, just ask. The program will read out all your scheduled items, which is particularly useful if you need a quick overview without looking at the screen.


The interaction continues in a loop, allowing you to make multiple updates until you say "done." At that point, the final schedule is saved, and the program exits.


Technical Components


  • `ScheduleManager` Class: This class manages the core functionality of the schedule, including adding, removing, clearing, displaying, and saving/loading items.
  • `CommandHandler` Class: This class handles user interactions through speech. It recognizes your commands, responds with spoken feedback, and updates the schedule via the `ScheduleManager`.


Conclusion


Developing this program has been an exciting part of my Python learning journey. It combines voice recognition and text-to-speech technologies to create a practical tool that simplifies daily task management. I hope this program not only serves as a helpful productivity tool but also inspires others in their coding adventures.


If you're curious to try it out or want to learn more about how it works, feel free to reach out!


Script:









Script Demonstration Video:




Best regards,

Leungo Moshashane

Instagram:@just_a_goofy_boy

linkedIn: https://www.linkedin.com/in/leungo-moshashane-976631248

Comments

  1. This is amazing 😍 Botswana is so not ready for this, let alone Africa πŸ₯Ή We really need innovative people like you 😊 keep up the great work.

    ReplyDelete
    Replies
    1. Thank you so much. Though, I assume this is light work to most programmers.

      Delete
  2. Can you use JAVA instead of Python?

    ReplyDelete
    Replies
    1. I'm not sure but I assume you can. You just need to put some effort in and try. I'm not much of a JAVA fan so I'm probably not the right person to ask.

      Delete
  3. This sounds so good. I'd love to try it out ❤️

    ReplyDelete
    Replies
    1. I appreciate itπŸ’•. This is just a script demonstration nothing complete.

      Delete

Post a Comment

Popular Posts