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.1.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: fut_listen-0.2.1.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.1.tar.gz
Algorithm Hash digest
SHA256 e07b3a73862e233e6820202df8438b2af8d2e5811605d29723e7aba18d8b1833
MD5 7c9040671f49c2ff423c2981f40d6ddc
BLAKE2b-256 05c9f884c0e4168eaa3f5d07a28f70283053bd5d2aa6c454859342ad4b2167b7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fut_listen-0.2.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 217f9e36a7fb6f613d6c9dd2c2978fcbef91685ab91205c52dc4a2141467c9a6
MD5 5568e695453fa9f56f57c2ec08ea92fd
BLAKE2b-256 388c824700e6f2728516617b93b111bfe63b7c681e6d688999f06e30b00169c2

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