Skip to main content

A text-based UI application for editing voiceover scripts and generating text to speech performances.

Project description

txt2dub

A text-based UI application for editing voiceover scripts and generating text to speech performances.

What is txt2dub for?

txt2dub is a video content creation tool for writing scripts and generating overdub performances as MP3 files that can be imported into your video editing software. This supports a workflow for arranging video assets on your timeline based on the voice performance's timing. You can record your own voiceovers to replace the robotic text-to-speech performance, or you can keep the placeholders if that's the style you're targeting.

Screenshot of txt2dub being used to edit a script with a quote from Frank Herbert's Dune

This is how it looks to edit a script in txt2dub. As you type each script line is played aloud by the text-to-speech system. You can play back a line, reorder lines or insert new lines anywhere in the script. You can set the voice performer and the rate of speech for each line in the script. You can undo or redo actions without limit. You can also play back the whole script starting from the selected line.

Screenshot of txt2dub home screen

And here is the home screen.

Who is txt2dub for?

txt2dub is designed to be easily installable on the major desktop platforms (Windows, Mac and Linux) without programming skills. More detailed installation instructions will be posted soon. For those familiar with Python, you can install txt2dub in a virtual environment or globally with:

pip install txt2dub

It can be run from its installed script:

txt2dub

or from its Python module:

python -m txt2dub

Why isn't txt2dub an app or web-based service?

txt2dub aims to unlock access to the text-to-speech services provided by your operating system, all wrapped in a simple application that tries to improve the workflow for voiceover script writing. It is built on top of the Textual rapid application development framework for text-based UIs. This makes it easy to install and run in any supported terminal with Python 3.7 or later.

This project doesn't require a subscription, a new account or payment. It's entirely open source, free to use, and it doesn't share your data or the content you create using it with anyone.

Is txt2dub ready for production use?

It has been used successfully for production work by the project's author in Windows 10 and macOS Monterey. Testing on Mac will proceed in the near future. Linux testing will be community-driven. Please report issues with details about your OS (Windows, Mac, Linux + version) and Python environment (version) if you encounter bugs.

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

txt2dub-0.1.3.tar.gz (20.0 kB view details)

Uploaded Source

Built Distribution

txt2dub-0.1.3-py3-none-any.whl (25.2 kB view details)

Uploaded Python 3

File details

Details for the file txt2dub-0.1.3.tar.gz.

File metadata

  • Download URL: txt2dub-0.1.3.tar.gz
  • Upload date:
  • Size: 20.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.0 CPython/3.11.3 Darwin/21.3.0

File hashes

Hashes for txt2dub-0.1.3.tar.gz
Algorithm Hash digest
SHA256 c70dd3fdad5fe36c174fbda22cdf3b88be424513785ec5d26f8bb56a44d0d62f
MD5 c8e23c982ddad11f4e6bfdc13e2015f9
BLAKE2b-256 803419c12b2d1ecc9530b0c04dadc1db97db2185909837deb057fe8b58847c24

See more details on using hashes here.

File details

Details for the file txt2dub-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: txt2dub-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 25.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.0 CPython/3.11.3 Darwin/21.3.0

File hashes

Hashes for txt2dub-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 1bfed70e8f28a3630acfb5d7a8086a46531bd7facb45555b94e30d550729c393
MD5 3dbdcc25e3585c30c0d2ae562cc9d6b4
BLAKE2b-256 c0965aef0529ae3ada305775bc0d390f593882fbdc2c33bb38622dd39d05e52d

See more details on using hashes here.

Supported by

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