All Projects β†’ florabtw β†’ google-translate-tts

florabtw / google-translate-tts

Licence: other
Node library for Google Translate TTS (Text-to-Speech) API

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects
shell
77523 projects

Projects that are alternatives of or similar to google-translate-tts

persian-tts
πŸ”Š A simple human-based text-to-speach synthesiser and ReactNative app for Persian language.
Stars: ✭ 18 (-21.74%)
Mutual labels:  text-to-speech, tts
talkbot
Text-to-speech and translation bot for Discord
Stars: ✭ 27 (+17.39%)
Mutual labels:  text-to-speech, tts
Parallel-Tacotron2
PyTorch Implementation of Google's Parallel Tacotron 2: A Non-Autoregressive Neural TTS Model with Differentiable Duration Modeling
Stars: ✭ 149 (+547.83%)
Mutual labels:  text-to-speech, tts
speak.awf
An Alfred 3 workflow that uses macOS's TTS (text-to-speech) feature to speak text aloud.
Stars: ✭ 29 (+26.09%)
Mutual labels:  text-to-speech, tts
Fre-GAN-pytorch
Fre-GAN: Adversarial Frequency-consistent Audio Synthesis
Stars: ✭ 73 (+217.39%)
Mutual labels:  text-to-speech, tts
tts dataset maker
A gui to help make a text to speech dataset.
Stars: ✭ 20 (-13.04%)
Mutual labels:  text-to-speech, tts
text-to-speech
⚑️ Capacitor plugin for synthesizing speech from text.
Stars: ✭ 50 (+117.39%)
Mutual labels:  text-to-speech, tts
FastSpeech2
PyTorch Implementation of FastSpeech 2 : Fast and High-Quality End-to-End Text to Speech
Stars: ✭ 163 (+608.7%)
Mutual labels:  text-to-speech, tts
bingspeech-api-client
Microsoft Bing Speech API client in node.js
Stars: ✭ 32 (+39.13%)
Mutual labels:  text-to-speech, tts
ttslearn
ttslearn: Library for Pythonで学ぢ音声合成 (Text-to-speech with Python)
Stars: ✭ 158 (+586.96%)
Mutual labels:  text-to-speech, tts
Tacotron2-PyTorch
Yet another PyTorch implementation of Tacotron 2 with reduction factor and faster training speed.
Stars: ✭ 118 (+413.04%)
Mutual labels:  text-to-speech, tts
editts
Official implementation of EdiTTS: Score-based Editing for Controllable Text-to-Speech
Stars: ✭ 74 (+221.74%)
Mutual labels:  text-to-speech, tts
TTS tf
WIP Tensorflow implementation of https://github.com/mozilla/TTS
Stars: ✭ 14 (-39.13%)
Mutual labels:  text-to-speech, tts
spokestack-android
Extensible Android mobile voice framework: wakeword, ASR, NLU, and TTS. Easily add voice to any Android app!
Stars: ✭ 52 (+126.09%)
Mutual labels:  text-to-speech, tts
laravel-text-to-speech
πŸ’¬ A wrapper for popular TTS services to create a more simple & uniform API. Currently, only AWS Polly is supported.
Stars: ✭ 26 (+13.04%)
Mutual labels:  text-to-speech, tts
dctts-pytorch
The pytorch implementation of DC-TTS
Stars: ✭ 73 (+217.39%)
Mutual labels:  text-to-speech, tts
SpeakIt Vietnamese TTS
Vietnamese Text-to-Speech on Windows Project (zalo-speech)
Stars: ✭ 81 (+252.17%)
Mutual labels:  text-to-speech, tts
STYLER
Official repository of STYLER: Style Factor Modeling with Rapidity and Robustness via Speech Decomposition for Expressive and Controllable Neural Text to Speech, INTERSPEECH 2021
Stars: ✭ 105 (+356.52%)
Mutual labels:  text-to-speech, tts
LVCNet
LVCNet: Efficient Condition-Dependent Modeling Network for Waveform Generation
Stars: ✭ 67 (+191.3%)
Mutual labels:  text-to-speech, tts
talkie
Text-to-speech browser extension button. Select text on any web page, and have the computer read it out loud for you by simply clicking the Talkie button.
Stars: ✭ 43 (+86.96%)
Mutual labels:  text-to-speech, tts

google-translate-tts

This package is for using Google Translate to create audio clips in node js.

This library has been updated to work with the new changes to the Translate API introduced by Google in November 2020.

A spiritual successor to google-tts-api which worked with the previous Translate API.

Installation

npm install google-translate-tts

or

yarn add google-translate-tts

Usage

Find a voice to use:

const tts = require('google-translate-tts');

// lookup by name
const voice = tts.voices.findByName('English (United States)');

// lookup by code
const voice = tts.voices.findByCode('en-US');

// an array of all voices
console.log(tts.voices);

/* Voice example:
 * {
 *   code: 'en-US',
 *   name: 'English (United States)'
 * }
 */

Download an audio clip:

const fs = require('fs');
const tts = require('google-translate-tts');

// notice that `tts.synthesize` returns a Promise<Buffer>
const saveFile = async () => {
    const buffer = await tts.synthesize({
        text: 'Hello, world!',
        voice: 'en-US',
        slow: false // optional
    });

    fs.writeFileSync('hello-world.mp3', buffer);
};

saveFile();
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].