All Projects → junzew → Hantts

junzew / Hantts

Licence: mit
Chinese Text-to-Speech web service

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Hantts

Wavegrad
A fast, high-quality neural vocoder.
Stars: ✭ 138 (-42.74%)
Mutual labels:  text-to-speech
Naomi
The Naomi Project is an open source, technology agnostic platform for developing always-on, voice-controlled applications!
Stars: ✭ 171 (-29.05%)
Mutual labels:  text-to-speech
Waveglow
A PyTorch implementation of the WaveGlow: A Flow-based Generative Network for Speech Synthesis
Stars: ✭ 205 (-14.94%)
Mutual labels:  text-to-speech
Tensorflowtts
😝 TensorFlowTTS: Real-Time State-of-the-art Speech Synthesis for Tensorflow 2 (supported including English, French, Korean, Chinese, German and Easy to adapt for other languages)
Stars: ✭ 2,382 (+888.38%)
Mutual labels:  text-to-speech
Vocgan
VocGAN: A High-Fidelity Real-time Vocoder with a Hierarchically-nested Adversarial Network
Stars: ✭ 158 (-34.44%)
Mutual labels:  text-to-speech
Google Tts
Google TTS (Text-To-Speech) for node.js
Stars: ✭ 180 (-25.31%)
Mutual labels:  text-to-speech
Vonage Python Sdk
Vonage Server SDK for Python. API support for SMS, Voice, Text-to-Speech, Numbers, Verify (2FA) and more.
Stars: ✭ 134 (-44.4%)
Mutual labels:  text-to-speech
Go Astibob
Golang framework to build an AI that can understand and speak back to you, and everything else you want
Stars: ✭ 222 (-7.88%)
Mutual labels:  text-to-speech
Interspeech2019 Tutorial
INTERSPEECH 2019 Tutorial Materials
Stars: ✭ 160 (-33.61%)
Mutual labels:  text-to-speech
Vonage Ruby Sdk
Vonage REST API client for Ruby. API support for SMS, Voice, Text-to-Speech, Numbers, Verify (2FA) and more.
Stars: ✭ 203 (-15.77%)
Mutual labels:  text-to-speech
Aeneas
aeneas is a Python/C library and a set of tools to automagically synchronize audio and text (aka forced alignment)
Stars: ✭ 1,942 (+705.81%)
Mutual labels:  text-to-speech
Tacotron 2
DeepMind's Tacotron-2 Tensorflow implementation
Stars: ✭ 1,968 (+716.6%)
Mutual labels:  text-to-speech
Hms Ml Demo
HMS ML Demo provides an example of integrating Huawei ML Kit service into applications. This example demonstrates how to integrate services provided by ML Kit, such as face detection, text recognition, image segmentation, asr, and tts.
Stars: ✭ 187 (-22.41%)
Mutual labels:  text-to-speech
Amazon Polly Sample
Sample application for Amazon Polly. Allows to convert any blog into an audio podcast.
Stars: ✭ 139 (-42.32%)
Mutual labels:  text-to-speech
Ronor
Sonos smart speaker controller API and command-line tools
Stars: ✭ 212 (-12.03%)
Mutual labels:  text-to-speech
Diffwave
DiffWave is a fast, high-quality neural vocoder and waveform synthesizer.
Stars: ✭ 139 (-42.32%)
Mutual labels:  text-to-speech
Doc2audiobook
Convert text documents to high fidelity audio(books).
Stars: ✭ 175 (-27.39%)
Mutual labels:  text-to-speech
Nemo
NeMo: a toolkit for conversational AI
Stars: ✭ 3,685 (+1429.05%)
Mutual labels:  text-to-speech
Tts Cube
End-2-end speech synthesis with recurrent neural networks
Stars: ✭ 213 (-11.62%)
Mutual labels:  text-to-speech
Tacotron Pytorch
Pytorch implementation of Tacotron
Stars: ✭ 189 (-21.58%)
Mutual labels:  text-to-speech

HanTTS Build Status

Chinese Text-to-Speech(TTS)

汉字 => ["han4", "zi4"] => .wav audio

Read this page in 简体中文

Libraries Used

For turning Chinese characters into pinyin

For processing .wav files

Web backend

A list of all Chinese characters is obtained from 倉頡平台2012, a Chinese input software.

Build and Run

git clone https://github.com/junzew/HanTTS.git
cd HanTTS
pip install --user -r requires.txt

Download syllables.zip from SourceForge, and decompress under the directory HanTTS.

  • Either run locally: python main.py
  • Or through web interface: cd into the server folder
     npm install
     node app.js
    
    Navigate to localhost:3000 in a browser

Use your own voice

  • Record five tones of each pinyin listed in mapping.json
  • Group them by the first letter (a,b,c,d, etc.), and save under folder ./recording as {letter}.wav
  • Then run python process.py {letter}for each letter to split recordings into individual pinyin
  • Move valid .wav files from ./pre to the folder ./syllables

Deploy to Heroku

heroku create
heroku git:remote -a <app-name>
heroku buildpacks:set https://github.com/heroku/heroku-buildpack-nodejs#v170 -a <app-name>
heroku buildpacks:add --index 1 heroku-community/apt
heroku buildpacks:add --index 3 heroku/python

$heroku buildpacks
=== hantts Buildpack URLs
1. heroku-community/apt
2. https://github.com/heroku/heroku-buildpack-nodejs#v170
3. heroku/python

heroku apps:rename <newname>
heroku ps:scale web=1
git push heroku master

Issues Encountered during Deployment:

Based on the text-to-speech-sample project by @alexram1313

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].