Skip to main content

CLI Program to automate listening sections for tests.

Project description

FUT-LISTEN

  /`/`/`/`/`/`/`/`/`/`/`/`/`/`/`/`/`/`/`/`/`
  /`     ┏━╸╻ ╻╺┳╸   ╻  ╻┏━┓╺┳╸┏━╸┏┓╻     /`
  /`     ┣╸ ┃ ┃ ┃ ╺━╸┃  ┃┗━┓ ┃ ┣╸ ┃┗┫     /`
  /`     ╹  ┗━┛ ╹    ┗━╸╹┗━┛ ╹ ┗━╸╹ ╹     /`
  /`/`/`/`/`/`/`/`/`/`/`/`/`/`/`/`/`/`/`/`/`

A CLI Program to automate listening sections for tests.

What it does

The default behavior is to search through the current working directory for *.mp3 files. It will sort the files in order, and then play them twice. There are instructions given (with TTS) and delays given throughout, with tones to indicate that the next portion will happen soon. It's basically an automated playlist.

The defaults probably work fine, but there are a lot of options.

This program doesn't do any trimming of audio. If you need to do that, use another tool.

Requirements:

  1. You should have a high-quality TTS voice downloaded. Read here to find out more.
  2. mpv is used for playing audio. Install it using homebrew: brew install mpv.
  3. sox is used to play tones. Install it using homebrew: brew install sox.

Installation

It's best to use pipx:

pipx install fut-listen

Alternatively, install with pip:

pip install fut-listen

Usage

# navigate to directory
fut-listen

# See options
fut-listen --help

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fut_listen-0.2.0.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

fut_listen-0.2.0-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

Details for the file fut_listen-0.2.0.tar.gz.

File metadata

  • Download URL: fut_listen-0.2.0.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.1 CPython/3.11.0 Darwin/22.2.0

File hashes

Hashes for fut_listen-0.2.0.tar.gz
Algorithm Hash digest
SHA256 2dcb9d5c78d89cf9418c852ca3e5bb11b862fb1cacbaddb96535ec20170214f4
MD5 346e0a6fa780e7ab3d47c97677f5d54b
BLAKE2b-256 c5334da9efda6f65cd92233677bcc5d745da92ebebaf683c52e0f4fd2b8c94ee

See more details on using hashes here.

File details

Details for the file fut_listen-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: fut_listen-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 5.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.1 CPython/3.11.0 Darwin/22.2.0

File hashes

Hashes for fut_listen-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4e551a36cda195ae082e0430907fddce54f0ae0f801b1a2d453124892ebd9f60
MD5 a9815b06f337e88c7b21eace40a45c82
BLAKE2b-256 f4cfbed238585d69953c19ec437630837b91779c3953580296545668b5c71bc3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page