All Projects → marytts → gradle-marytts-voicebuilding-plugin

marytts / gradle-marytts-voicebuilding-plugin

Licence: GPL-3.0 license
A replacement for the legacy VoiceImportTools in MaryTTS

Programming Languages

groovy
2714 projects
java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to gradle-marytts-voicebuilding-plugin

gradle-http-plugin
Gradle plugin providing support for using HttpBuilder-NG to make HTTP requests as Gradle Tasks.
Stars: ✭ 30 (+114.29%)
Mutual labels:  gradle-plugin
jetbrains-gradle-plugins
Gradle plugins for Docker, Terraform and Liquibase.
Stars: ✭ 22 (+57.14%)
Mutual labels:  gradle-plugin
JSpeak
A Text to Speech Reader Front-end that Reads from the Clipboard and with Exceptionable Features
Stars: ✭ 16 (+14.29%)
Mutual labels:  text-to-speech
moko-network
Network components with codegeneration of rest api for mobile (android & ios) Kotlin Multiplatform development
Stars: ✭ 107 (+664.29%)
Mutual labels:  gradle-plugin
flutter chatbot inventory
Chatbot Flutter App used to track inventory of product and description using Dialogflow
Stars: ✭ 17 (+21.43%)
Mutual labels:  text-to-speech
xmake-gradle
A gradle plugin that integrates xmake seamlessly
Stars: ✭ 31 (+121.43%)
Mutual labels:  gradle-plugin
graphql-java-codegen-gradle-plugin
Gradle plugin for graphql-java-codegen
Stars: ✭ 19 (+35.71%)
Mutual labels:  gradle-plugin
kgql
GraphQL Document wrapper generator for Kotlin Multiplatform Project and Android
Stars: ✭ 54 (+285.71%)
Mutual labels:  gradle-plugin
npm-publish
Gradle plugin for NPM package publishing. Allows for arbitrary publishing as well as seamless integration with Kotlin JS/MPP plugins.
Stars: ✭ 66 (+371.43%)
Mutual labels:  gradle-plugin
RapidMavenPushPlugin
A Gradle plugin : Upload Artifacts to Multi Maven Repository
Stars: ✭ 21 (+50%)
Mutual labels:  gradle-plugin
lego-mindstorms-51515-jetson-nano
Combines the LEGO Mindstorms 51515 with the NVIDIA Jetson Nano
Stars: ✭ 31 (+121.43%)
Mutual labels:  text-to-speech
gradle-scalafmt
Gradle plugin for scalafmt
Stars: ✭ 25 (+78.57%)
Mutual labels:  gradle-plugin
webdriver-binaries-gradle-plugin
A Gradle plugin that downloads and caches WebDriver binaries specific to the OS the build runs on
Stars: ✭ 31 (+121.43%)
Mutual labels:  gradle-plugin
FastSpeech2
Multi-Speaker Pytorch FastSpeech2: Fast and High-Quality End-to-End Text to Speech ✊
Stars: ✭ 64 (+357.14%)
Mutual labels:  text-to-speech
scalatest-junit-runner
JUnit 5 runner for Scalatest
Stars: ✭ 30 (+114.29%)
Mutual labels:  gradle-plugin
Cross-Speaker-Emotion-Transfer
PyTorch Implementation of ByteDance's Cross-speaker Emotion Transfer Based on Speaker Condition Layer Normalization and Semi-Supervised Training in Text-To-Speech
Stars: ✭ 107 (+664.29%)
Mutual labels:  text-to-speech
AmazonSpeechTranslator
End-to-end Solution for Speech Recognition, Text Translation, and Text-to-Speech for iOS using Amazon Translate and Amazon Polly as AWS Machine Learning managed services.
Stars: ✭ 50 (+257.14%)
Mutual labels:  text-to-speech
gradle-release-plugin
Gradle plugin providing very minimal release version numbering (Git-specific)
Stars: ✭ 43 (+207.14%)
Mutual labels:  gradle-plugin
EMPHASIS-pytorch
EMPHASIS: An Emotional Phoneme-based Acoustic Model for Speech Synthesis System
Stars: ✭ 15 (+7.14%)
Mutual labels:  text-to-speech
ukrainian-tts
Ukrainian TTS (text-to-speech) using Coqui TTS
Stars: ✭ 74 (+428.57%)
Mutual labels:  text-to-speech

Build License: GPL v3

Gradle MaryTTS voicebuilding plugin

Use this plugin to build new unitselection voices for MaryTTS. It's a replacement for the legacy VoiceImportTools.

Applying the plugin

Add this at the top of your build.gradle file:

plugins {
    id 'de.dfki.mary.voicebuilding-legacy' version '5.4'
}

For details, see https://plugins.gradle.org/plugin/de.dfki.mary.voicebuilding-legacy.

Note that Gradle v6.2 or higher is required.

Prerequisites

Required third-party software

Java 8 or higher is required.

SoX and Edinburgh Speech Tools must be installed and on the PATH.

Mac OSX

With Homebrew, just run

brew install sox speech-tools

Linux

On Debian-based systems, just run

sudo apt install sox speech-tools

Project layout

In your project directory, place the source audio, text, and label files under your build directory like this:

build
├── lab
│   ├── utt0001.lab
│   ├── utt0002.lab
│   ├── utt0003.lab
│   ├── utt0004.lab
│   └── utt0005.lab
├── text
│   ├── utt0001.txt
│   ├── utt0002.txt
│   ├── utt0003.txt
│   ├── utt0004.txt
│   └── utt0005.txt
└── resources
    └── data
        ├── utt0001.wav
        ├── utt0002.wav
        ├── utt0003.wav
        ├── utt0004.wav
        └── utt0005.wav

The audio location can be easily customized, by configuring the layout in the build.gradle like this:

// wav files under "$projectDir/wav"
wav.srcDir = file('wav')

Configuring the voice

Crucial details of the voice to be built are configured in the marytts.voice extension in the build.gradle file. Without any customization, the defaults are:

marytts {
    voice {
        name = 'my_voice'
        gender = 'female'
        language = 'en'
        region = 'US'
        domain = 'general'
        type = 'unit selection'
        description = 'A female English unit selection voice'
        samplingRate = 16000
        license {
            name = 'Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International'
            shortName = 'CC BY-NC-SA 4.0'
            url = 'http://creativecommons.org/licenses/by-nc-sa/4.0/'
        }
    }
}

Any of these can (and should) be changed as needed, according to the dataset used to build the voice. The default values do not need to be specified, and the description is generated using the values of gender, language, region, and type.

Building the voice

To assemble and test the voice, run

./gradlew build

Afterwards, the packaged voice component (and its XML descriptor) will be found under build/distributions. These files can be installed in a MaryTTS v5.2 instance, by placing them in the download directory and running the MaryTTS Component Installer GUI.

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].