Thorsten-Voice/README.md

127 lines
6.2 KiB
Markdown
Raw Normal View History

# Introduction
2020-08-05 17:25:01 +02:00
Many smart voice assistants like Amazon Alexa, Google Home, Apple Siri and Microsoft Cortana use cloud services to offer their (base) functionality.
2019-10-31 22:07:59 +01:00
2020-08-05 17:25:01 +02:00
As some people have privacy concerns using these services there are some (open source) projects trying to build offline and/or privacy aware alternatives.
But speech recognition and text synthesis still requires cloud services for providing these in a decent quality.
# MyCroft AI
> https://mycroft.ai/
MyCroft is a company developing an opensource voice assistant with a very nice and active community. But the stt/tts parts are still cloud based (eg. google services), even if requests are anonymized by a mycroft proxy in between. But integration with locally hosted services such as deepspeech (stt) or mimic/tacotron (tts) is possible.
# Mozilla
Mozilla works on these really important aspects for free and open human machine voice interaction.
## STT - speech to text
> https://commonvoice.mozilla.org/
"STT" needs lots of audio training data by many speakers (women/men/kids) of all ages, dialects and in various audio quality levels. So any voice contribution for common voice project is highly welcome.
## TTS - text to speech
> https://github.com/mozilla/tts
"TTS" needs lots of clean recordings by one speaker to train a model. Mozilla is developing a software stack for proper model training based on tacotron2 papers.
2019-10-29 22:44:35 +01:00
# And?!
2020-08-05 17:25:01 +02:00
I want to make the most personal contribution i can give and contribute my personal voice (**german**) for TTS training to the community for free usage.
2020-08-05 20:13:59 +02:00
## Please read some personal words before downloading the dataset
I contribute my voice as a person believing in a world where all people are equal. No matter of gender, sexual orientation, religion, skin color and geocoordinates of birth location. A global world where everybody is warmly welcome on any place on this planet and open and free knowledge and education is available to everyone.
So hopefully my voice is used in this manner to make this world a better place for all of us :-).
2020-08-05 20:22:21 +02:00
**tl;dr** Please don't use for evil!
2019-10-31 22:07:59 +01:00
2020-08-05 17:25:01 +02:00
# Dataset "thorsten"
## Samples of my voice
To get an impression what my voice sounds to decide if it fits to your project i published some sample recordings, so no need to download complete dataset first.
2020-01-10 20:07:53 +01:00
* [Das Teilen eines Benutzerkontos ist strengstens untersagt.](./samples/original_recording/recorded_sample_01.wav )
* [Der Prophet spricht stets in Gleichnissen.](./samples/original_recording/recorded_sample_02.wav )
* [Bitte schmeißt euren Müll nicht einfach in die Walachei.](./samples/original_recording/recorded_sample_03.wav )
* [So etwas würde mir nie in den Sinn kommen.](./samples/original_recording/recorded_sample_04.wav )
* [Sie klettert auf einen Stein und nimmt eine Denkerpose ein.](./samples/original_recording/recorded_sample_05.wav )
* [Jede gute Küchenwaage hat eine Tara-Funktion.](./samples/original_recording/recorded_sample_06.wav )
* [Jeden Gedanken kannst du hier loswerden.](./samples/original_recording/recorded_sample_07.wav )
2019-10-31 22:23:03 +01:00
2019-10-29 22:44:35 +01:00
2020-08-05 19:51:50 +02:00
## Dataset information
2019-10-31 22:15:51 +01:00
2020-08-05 17:25:01 +02:00
* ljspeech-1.1 structure
* 22.668 recorded phrases (wav files)
* more than 23 hours of pure audio
* samplerate 22.050Hz
* mono
2020-08-05 17:25:01 +02:00
* phrase length (min/avg/max): 2 / 52 / 180 chars
* no silence at beginning/ending
* avg spoken chars per second: 14
2020-08-05 17:25:01 +02:00
* sentences with question mark: 2.780
* sentences with exclamation mark: 1.840
2019-10-31 22:23:03 +01:00
2020-08-05 17:25:01 +02:00
![text length vs. mean audio duration](./img/thorsten-de---datasetAnalysis1.png)
![text length vs. median audio duration](./img/thorsten-de---datasetAnalysis2.png)
![text length vs. STD](./img/thorsten-de---datasetAnalysis3.png)
![text length vs. number instances](./img/thorsten-de---datasetAnalysis4.png)
![signal noise ratio](./img/thorsten-de---datasetAnalysis5.png)
![bokeh](./img/thorsten-de---datasetAnalysis6.png)
2020-08-05 17:25:01 +02:00
> Interested in evolution of this dataset? See following pdf document ([evolution of thorsten dataset](./EvolutionOfThorstenDataset.pdf) )
2020-08-05 20:22:21 +02:00
## Download information
2020-08-22 12:06:07 +02:00
> Download size: 2,7GB
2019-10-31 22:23:03 +01:00
2020-08-22 12:06:07 +02:00
Version | Description | Link
2020-08-22 12:08:25 +02:00
------------ | ------------- | -------------
2020-08-22 12:06:07 +02:00
thorsten-de-v01 | Initial version | [Google Drive Download v01](https://drive.google.com/file/d/1yKJM1LAOQpRVojKunD9r8WN_p5KzBxjc/view?usp=sharing)
thorsten-de-v02 | normalized to -24dB and split metadata.csv into shuffeled metadata_train.csv and metadata_val.csv | [Google Drive Download v02](https://drive.google.com/file/d/1mGWfG0s2V2TEg-AI2m85tze1m4pyeM7b/view?usp=sharing)
2019-10-31 22:23:03 +01:00
2020-08-22 12:06:07 +02:00
# Trained tacotron2 model "thorsten"
If you trained a model on "thorsten" dataset please file an issue with some information on it. Sharing a trained model is highly appreciated.
2020-08-09 11:33:37 +02:00
2020-08-22 12:06:07 +02:00
## Trained models (TODO)
2020-08-09 11:39:15 +02:00
2020-08-22 12:06:07 +02:00
Folder | Date | Link | Description
2020-08-09 11:39:15 +02:00
------------ | ------------- | ------------- | -------------
2020-08-22 12:06:07 +02:00
thorsten-taco2-ddc-v0.1 | to do | to do | to do
2020-08-05 17:25:01 +02:00
# Feel free to file an issue if you ...
* have improvements on dataset
* use my TTS voice in your project(s)
* want to share your trained "thorsten" model
* get to know about any abuse usage of my voice
# Special thanks
2020-08-05 17:25:01 +02:00
I want to thank all open source communities for providing great projects.
2020-08-05 17:25:01 +02:00
Just to name some nice guys who joined me on this tts-roadtrip:
2020-08-05 17:25:01 +02:00
* eltocino (https://github.com/el-tocino/)
* erogol (https://github.com/erogol/)
* gras64 (https://github.com/gras64/)
* krisgesling (https://github.com/krisgesling/)
* nmstoker (https://github.com/nmstoker)
* othiele (https://discourse.mozilla.org/u/othiele/summary)
* repodiac (https://github.com/repodiac)
2020-08-05 17:25:01 +02:00
And last but not least i want to say a huge thank you to a special guy who supported me on this journey right from the beginning. Not just with nice words, but with his time, audio optimization knowhow and finally his gpu computing power.
2020-08-05 17:25:01 +02:00
Without his amazing support this dataset (in it's current way) would not exists.
2019-10-31 22:23:03 +01:00
2020-08-05 17:25:01 +02:00
Thank you Dominik (@domcross / https://github.com/domcross/)
2019-10-31 22:15:51 +01:00
# Links
2020-08-05 17:25:01 +02:00
* https://discourse.mozilla.org/t/contributing-my-german-voice-for-tts/48150
2019-11-01 10:34:46 +01:00
* https://community.mycroft.ai/
* https://github.com/MycroftAI/mimic-recording-studio
* https://voice.mozilla.org/
* https://github.com/mozilla/TTS
2020-08-09 11:33:37 +02:00
(https://github.com/repodiac/tit-for-tat/tree/master/thorsten-TTS)
* https://raw.githubusercontent.com/mozilla/voice-web/master/server/data/de/sentence-collector.txt
2020-08-05 17:25:01 +02:00
We'll hear us in future :-)
2020-08-05 20:22:21 +02:00
Thorsten