Home » » Install Aplikasi Text to Speech di Arch Linux

Install Aplikasi Text to Speech di Arch Linux

Posted by E-Learning on Saturday, December 19, 2015

Aplikasi text to speech adalah aplikasi yang mana dapat membacakan sebuah teks yang kita inputkan (sesuai dengan keinginan kita ) dana nantinya hasil dari outputnye berupa suara(-pen).

kali ini tools yang akan digunakan adalah aplikasi festival, namanya itu festival emang udah dari sononya namanya festival. heheh..

Festival is a general multi-lingual speech synthesis system developed at CSTR (Centre for Speech Technology Research).

oke langsung saja ke installasinya.
1. Jalankan command berikut ke terminal :
sudo pacman -S festival
sudo pacman -S festival-english

2. Kemudian cek apakah aplikasi sudah benar terinstall
festival
jika berhasil maka akan muncul tampilan berupa informasi dari aplikasinya, seperti berikut :
festival

3. Kemudian konfigurasi aplikasinya agar suara bisa muncul. File konfigurasinya ada di /usr/share/festival/festival.scm.
4. Buka file festival.scm dan tambahkan kode berikut pada bagian akhir

Untuk PulseAudio

(Parameter.set 'Audio_Required_Format 'aiff)
(Parameter.set 'Audio_Method 'Audio_Command)
(Parameter.set 'Audio_Command "paplay $FILE --client-name=Festival --stream-name=Speech")


untuk ALSA

(Parameter.set 'Audio_Method 'Audio_Command)
(Parameter.set 'Audio_Command "aplay -q -c 1 -t raw -f s16 -r $SR $FILE")



5. Oke, selesai.
6. Cek untuk membacakan sebuah teks.
misal :
Festival is a general multi-lingual speech synthesis system developed at CSTR (Centre for Speech Technology Research).
Festival offers a general framework for building speech synthesis systems as well as including examples of various modules. As a whole it offers full text to speech through a number APIs: from shell level, though a Scheme command interpreter, as a C++ library, from Java, and an Emacs interface. Festival is multi-lingual (currently British English, American English, Italian, Czech and Spanish, with other languages available in prototype.)

Perintah yang dimasukkan menjadi (jalankan di terminal):

echo "Festival is a general multi-lingual speech synthesis system developed at CSTR (Centre for Speech Technology Research).
Festival offers a general framework for building speech synthesis systems as well as including examples of various modules. As a whole it offers full text to speech through a number APIs: from shell level, though a Scheme command interpreter, as a C++ library, from Java, and an Emacs interface. Festival is multi-lingual (currently British English, American English, Italian, Czech and Spanish, with other languages available in prototype.) " | festival --tts






Hosting Unlimited Indonesia

0 comments:

Donate Bitcoin :
19QsXRcfUEKW9AVbGkJFB6WJPvn6uRboNr