GithubHelp home page GithubHelp logo

duj12 / wetts Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wenet-e2e/wetts

0.0 0.0 0.0 757 KB

Production First and Production Ready End-to-End Text-to-Speech Toolkit

License: Apache License 2.0

Shell 0.97% C++ 17.78% Python 77.07% CMake 2.01% Dockerfile 0.29% Java 1.46% Makefile 0.40%

wetts's Introduction

WeTTS

Production First and Production Ready End-to-End Text-to-Speech Toolkit

Install

Install python package

pip install git+https://github.com/wenet-e2e/wetts.git

Command-line usage (use -h for parameters):

wetts --text "今天天气怎么样" --wav output.wav

Python programming usage:

import wetts

# TODO

Install for development & deployment

We suggest to install WeTTS with Anaconda or Miniconda.

Clone this repo:

git clone https://github.com/wenet-e2e/wetts.git

Create the environment:

conda create -n wetts python=3.8 -y
conda activate wetts
pip install -r requirements.txt

Roadmap

We mainly focus on end to end, production, and on-device TTS. We are going to use:

Dataset

We plan to support a variaty of open source TTS datasets, include but not limited to:

  • Baker, Chinese Standard Mandarin Speech corpus open sourced by Data Baker.
  • AISHELL-3, a large-scale and high-fidelity multi-speaker Mandarin speech corpus.
  • Opencpop, Mandarin singing voice synthesis (SVS) corpus open sourced by Netease Fuxi.

Pretrained Models

Dataset Language Checkpoint Model Runtime Model
Baker CN BERT BERT
Multilingual CN VITS VITS

Runtime

We plan to support a variaty of hardwares and platforms, including:

  • x86
  • Android
  • Raspberry Pi
  • Other on-device platforms
export GLOG_logtostderr=1
export GLOG_v=2

cd runtime/onnxruntime
cmake -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build
./build/bin/tts_main \
  --frontend_flags baker_bert_onnx/frontend.flags \
  --vits_flags multilingual_vits_v3_onnx/vits.flags \
  --sname baker \
  --text "hello我是小明。" \
  --wav_path audio.wav

Discussion & Communication

For Chinese users, you can aslo scan the QR code on the left to follow our offical account of WeNet. We created a WeChat group for better discussion and quicker response. Please scan the personal QR code on the right, and the guy is responsible for inviting you to the chat group.

Or you can directly discuss on Github Issues.

Acknowledgement

  1. We borrow a lot of code from vits for VITS implementation.
  2. We refer PaddleSpeech for pinyin lexicon generation.

wetts's People

Contributors

abbottkilig avatar cdliang11 avatar jackiexiao avatar leon2milan avatar maxmax2016 avatar mtxing avatar pengzhendong avatar robin1001 avatar shengqiang-li avatar starhaox avatar tonywanggit avatar unrea1-sama avatar xcmyz avatar yqli2420 avatar yuekaizhang avatar zhuzizyf avatar zpcoftts 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.