Create and store Q&A flashcards that generate audio recordings so the flashcards can be read back to you. The idea comes from someone asking for a flashcard app they could use while driving.
Notecards.py:
- The main file to be used is Notecards. This initializes the notecard window, allows you to:
- edit settings
- create/edit/delete cards and decks
- Run through a deck of cards
- The interface is built in tkinter, with data stored in a SQLite instance, and audio generated and played back by pydub.
Notecards_Setup.py:
- Should be run prior to running Notecards.py
- Ensures that all Python packages are installed
- Creates home C:\Notecards\ directory
- Creates database and tables, populates sample records
Notecards.sqlite
- SQLite database used to store setting information, flashcards and decks.
- See schema for more information
Audio Files:
- Stored in home directory
- .mp3 format
- filename of format {deck_id}_{card_id}_{question or answer}.mp3
- Shuffle
- Boolean setting that either shuffles the deck or runs it in the stored order
- Default 1 (On)
- Delay
- Numeric setting that represents how long the deck should wait between reading question & answer, and before continuing to the next card
- Default 3 (seconds)
- Cards will throw an error if you try to use an apostrophe in the text. This is just due to how the SQL is written. Change forthcoming.