Code Monkey home page Code Monkey logo

audio_notecards's Introduction

audio_notecards

Overview

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.

Files

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

Settings

  • 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)

Limitations

  • 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.

audio_notecards's People

Contributors

emarcey avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.