Merlinil põhinev eesti keele kõnesüntesaator

==============================================================================

  Merlin: The Neural Network (NN) based Speech Synthesis System
          https://github.com/CSTR-Edinburgh/merlin

==============================================================================

         Morfoloogiline analüsaator ja ühestaja                
             Copyright (c) 2015, Filosoft                      
          https://github.com/Filosoft/vabamorf                 

==============================================================================

INSTALL

  • välised sõltuvused
sudo apt-get update
sudo apt-get install build-essential csh automake realpath sox
cd tools
./compile_tools.sh
  • python
conda env create -f mrln_et.yml
conda activate mrln_et
  • süntees
python ${merlin_dir}/src/run_merlin.py ${merlin_dir} ${temp_dir} ${voice} ${in_text} ${out_wav}

Integreerimine

Integreerimiseks Python rakendustesse pakume moodulit merlin.py.

from merlin import MerlinSynthesizer

synthesizer = MerlinSynthesizer('eki_et_ind16k')
wav = synthesizer.synthesize('Hello world!')