Skip to main content

Latecript: transcript and translate audio from you input audio devices in real-time using Speechmatics API.

Project description

Latecript

Latecript is a Python application that transcribes and translates audio from your input devices in real-time using the Speechmatics API. The application provides a Textual-based TUI for an interactive experience.

Latecript Screenshot

(Developped quick and dirty with the help of Copilot)

Features

  • Real-Time Transcription: Capture audio and transcribe speech in real-time.
  • Translation: Translate transcribed text into different languages.
  • TUI Interface: Interactive Textual UI for settings and displaying logs.
  • Configurable Settings: Read credentials and configuration from a local JSON file.

Requirements

  • Python 3.12 or above
  • UV (for dependency management)

Getting your audio output as a usable input.

MacOs

You can use BlackHole for audio loopback. It can be installed via brew:

brew install blackhole-2ch

While using the app, chose "BlackHole 2ch" as your sound output. In order to still listen to what your mac sound output you can define a multi-output device (with you favourite output device + BlackHole 2ch) in the Audio MIDI setup.

Speechmatics API key

You can generate your speechmatics API key from your user account in speechmatics.

Usage

To run Latecript, execute:

uv run latecript 

You can provide an alternative settings file via the command line:

uv run latecript --settings_file /path/to/your/settings.json

The settings file is a json file with the following structure:

{
  "speechmatics_api_key": "Your Speechmatics API Key",
  "output_device": "Blackhole 2ch",
  "transcription_language": "fr",
  "translation_language": "en"
}

License

This project is licensed under the MIT License. See LICENSE for details.

Contributing

Contributions are welcome! Please open issues and submit pull requests for improvements and bug fixes.

This app is not meant to be maintained and was developped in a quick and dirty way.

Acknowledgements

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

latecript-0.1.5.tar.gz (162.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

latecript-0.1.5-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

File details

Details for the file latecript-0.1.5.tar.gz.

File metadata

  • Download URL: latecript-0.1.5.tar.gz
  • Upload date:
  • Size: 162.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for latecript-0.1.5.tar.gz
Algorithm Hash digest
SHA256 a5c41193f2ed8e3f63a89a63119be6639a706f0fb71bc77fe21d33e3ce9694fb
MD5 1683f03e1ff0912e59de74df149ffd11
BLAKE2b-256 7d1c21a401f910b731d80db8ff1853528fb6a6c64f0d20242eb23f4123109e9a

See more details on using hashes here.

Provenance

The following attestation bundles were made for latecript-0.1.5.tar.gz:

Publisher: release.yaml on AElOuassouli/latecript

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file latecript-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: latecript-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 8.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for latecript-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 f351769975274cf45371f00ae63c2ea1f845218cff5626363dfb1de266e645c8
MD5 6d3ba85eb5c79588f082273fa0d017b8
BLAKE2b-256 11a407363f9716e8efe2db9ac6e7e1ef11523f2e91027897be74f64ae21dd11e

See more details on using hashes here.

Provenance

The following attestation bundles were made for latecript-0.1.5-py3-none-any.whl:

Publisher: release.yaml on AElOuassouli/latecript

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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