This application provides an immersive reading experience by playing audio files corresponding to specific pages of a book. Users can control playback through voice commands, allowing them to pause, play, or skip to the next page. The application calculates the user's reading speed to synchronize audio playback with their reading pace.
Note: Currently, this application is only compatible with Windows operating systems.
- Python 3.x
- Windows Operating System
-
Create a Virtual Environment: Navigate to your project directory and run:
python3 -m venv venv
-
Activate the Virtual Environment:
.\venv\Scripts\activate
Install all required packages using the following command:
pip install -r requirements.txt-
Run the following script to list all available microphones:
python SpeechRecognition\list_microphones.py -
Identify the index of the microphone you intend to use. Ensure that this microphone does not pick up the playback audio to avoid feedback issues. in
main.py, set theMIC_INDEXvariable to the index of your microphone.
To start the application, run the main.py script:
python main.pyFollow the on-screen instructions to interact with the application. You can control the audio playback of your chosen book using voice commands.
- Pause: Temporarily halts the audio playback.
- Play: Resumes the audio playback from where it was paused.
- Next: Skips to the audio of the next page.
- Stop: Stops the audio playback and exits the program.
Make changes to files inside storage/ to add a new book to the application.