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.

Note: Currently this is only tested to work on MacOS.

Requirements:

  • mpv is used for playing audio. Install it using homebrew: brew install mpv.

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

Generating Audio requirements

  1. High quality TTS voice to use for say on MacOS
  2. sox (for generating tones)

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.3.0.tar.gz (1.5 MB view details)

Uploaded Source

Built Distribution

fut_listen-0.3.0-py3-none-any.whl (1.5 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fut_listen-0.3.0.tar.gz
  • Upload date:
  • Size: 1.5 MB
  • 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.3.0.tar.gz
Algorithm Hash digest
SHA256 53494c61517892e430ca13a897bc52cac0851289a8507778595bc88fbfb61229
MD5 d35efee9bfe16d94fd22cf8002a84530
BLAKE2b-256 e76d52be6164925d145559306f34792b631d05762cedef1f880be402dc92ef30

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fut_listen-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 1.5 MB
  • 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.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 00f828c3d4f2fc1f3fafba0a5cf212ccfd33189abeef0e827e1ef853c1eba1f3
MD5 60e55b3b79199e6d4793013f50d14f27
BLAKE2b-256 5ceb98441ae27a9b735e88d64238b0bd91bfb30834d7ea5bea82a9cae7a2e008

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