Giter Club home page Giter Club logo

pico-read-speaker's Introduction

txt2wave

This program converts a text file to a .wav file. For this linux software Pico2Wave is used. What Pico2Wave does is that it takes limited number of characters for text-to-speech conversion. This program solves this problem.

Prerequisites

System : the compliant systems under linux kernels: Debian, Ubuntu, Maemo ...

The SVOX Pico engine is a software speech synthesizer for German, English (GB and US), Spanish, French and Italian.

Installation required :

- svox (pico2wave) https://packages.debian.org/source/squeeze/svox
- ffmpeg to convert wav to mp3 files (sudo apt-get install ffmpeg)

Svox package maemo dispnible on https://openrepos.net/

Installation order:

- libttspico-data (https://openrepos.net/content/mickaelh/libttspico-data)
- libttspico0 (https://openrepos.net/content/mickaelh/libttspico0)
- libttspico-utils (https://openrepos.net/content/mickaelh/libttspico-utils)
- libttspico-dev (https://openrepos.net/content/mickaelh/libttspico-dev)
or
- sudo apt-get install libttspico0 libttspico-utils libttspico-data

Usage

There are options given for the command-line input, which would basically provide the user specifications of what type of speech does he/she wants. The options are as follows :

Options:
    -i, --input_text_file   reads a text file
    -o, --output-folder   destination folder (defaults to current folder)
    -l, --lang  Language (default: default_lang)

Options for languages :
    en-US   English
    en-GB   Great Britain
    de-DE   German
    es-ES   Spanish
    fr-FR   French
    it-IT   Italian

Command-line Input Type:

$ ./text2wav.py [-i|--input_text_file] <input text file name> [-l|--lang fr-FR] [-o|--output-folder] <output directory>

Help Option :
    -h, --Help  Show this message

NOTE: the optional parameter [-l | --lang] by default = en-GB

In the current directory of "text2wav.py" it will generate the audio_book.wav file.

pico-read-speaker's People

Contributors

utkarshkunwar avatar mickaelh avatar parinaya-007 avatar rutrus avatar harumaro avatar

Stargazers

Eyad Ahmed avatar  avatar Emanuele avatar  avatar Hemant Prakash avatar V M N avatar Elliott Indiran avatar Kurt Kremitzki avatar Dean Xu avatar Abhishek Gahlot avatar Alex Von Hoene avatar Jack Hannigan Popp avatar Olivier Watté avatar Orlando Hernandez avatar  avatar Theun Kohlbeck avatar  avatar Curtis Alexander avatar fab avatar  avatar

Watchers

James Cloos avatar Olivier Watté avatar  avatar Laurent Vergerolle avatar José Afonso Guerra-Assunção avatar

pico-read-speaker's Issues

chapter.mp3 not complete translation

The function 'wav2mp3()' does not return any translation.

ex. article01.wav; article02.wav; article03.wav => chapter.mp3 (contains article01.wav, article02.wav only).

python3

Could you make this script to work with python3?

#!/usr/bin/env python to
#!/usr/bin/env python3

error ->

text2wave.py -i termrec.md -l en-GB
Traceback (most recent call last):
File "/home/vagner/bin/text2wave.py", line 9, in
reload(sys)
NameError: name 'reload' is not defined

:(

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.