Giter Club home page Giter Club logo

huuda's Introduction

Huuda

Huuda is a command-line text-to-speech (TTS) utility that not only speaks Finnish from input text or text files from the command line using the public domain festvox libraries, but is also designed to humorously twist spoken output by applying Finnish phonetics to English text, resulting in a "Finglish" accent. It's perfect for anyone looking for a light-hearted way to hear text read aloud, whether for entertainment, testing TTS engines, or just for the joy of hearing Finnish-inflected English.

Features

  • Convert text to speech with a Finnish accent applied to English words.
  • Customize the TTS voice and volume.
  • Use a word replacement feature to modify text before speech synthesis.
  • Support for input text via command line or file.

Installation

To use Huuda, you need to have Python installed on your system as well as the following dependencies:

  • text2wave for text-to-speech synthesis.
  • sox for audio processing.
  • play for audio playback.

These tools are commonly available in UNIX-like environments. Ensure you have Python installed, then set up Huuda with:

# For Debian-based systems, use:
sudo apt-get install festvox-suopuhe-lj festvox-suopuhe-mv sox play

Usage

Run huuda.py with the necessary arguments:

python huuda.py --voice <voice_option> --text "Your text here"
python huuda.py --file yourfile.txt

Or, for English/Finglish

python huuda.py --finglish --text "It's very nice here."

Options include:

--english, --eng, --en, --e, --finglish to speak in English/Finglish instead of Finnish --blast to increase the volume. --voice to set the TTS voice. --text or -tto provide text directly. --file or -f to specify a text file for input. --replacement_file to specify a custom word replacement file separately.

Word Replacement Management

  • Use list_converter.py to convert a list of sed-style replacement commands into the JSON format expected by Huuda.

  • Run word_adder.py to interactively add new word replacements to your JSON file.

Contributing

Contributions to Huuda are welcome! Feel free to fork the repository, make your changes, and submit a pull request.

License

This project is freely available under the "Go for it" ethos, akin to The Unlicense or WTFPL. Use, modify, and distribute as you please. Enjoy!

Acknowledgments

Thank you to all contributors and users who have made Huuda a fun project to work on! Special shoutout to ChaosWhisperer for code refactoring help.

huuda's People

Contributors

flyingfathead avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.