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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: fut_listen-0.1.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.1.0.tar.gz
Algorithm Hash digest
SHA256 e456b5160cc7b9f2492d1fb3c4ed7b2a2ffe567818c5e3d66b0bfa33f732060c
MD5 ad1790a2b9a9ff81748153505e33a115
BLAKE2b-256 672f64afc27a151867724dcf2858b3e81ff570782a00590ce91635c89e4f0e66

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fut_listen-0.1.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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0c1ac4012e9bdb341a7c6f0871282634605910da7a977ee4e700a8fe8b110a3c
MD5 be5fb0113ab067f986ada1bdbb63dfed
BLAKE2b-256 ac62761079b8bd5e78f8fca84e17d4f208ee0c93e8eb2c90eb0eac776b76307d

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