Chinja mavara kuti ataure. Dzimwe nzira dzeLinux

Chinja mavara kuti ataure

Nezvikonzero zvakasiyana siyana; kuremara, kuda kutora mukana wenguva yekufamba kana yekumirira kana, nekungo farira, mukana wekuti makomputa atipe Kushandura zvinyorwa kune odhiyo, kungave nekuiverenga kana kuishandura kuti ive faira yekuteerera kune inotevera, chinhu chinoshandiswa zvakanyanya.

Windows uye Android natively vane kugona kuverenga nemanzwi ayo, kunyangwe ivo vachichengetedza mamwe maitiro anoramba achitsanangura mavambo avo, anofadza nzeve.

Yakawedzerwa kune izvi zvakateedzana zvemahara uye zvakabhadharwa zvirongwa zvinonyanya kuita izvi zvinhu.

Mushure mekurangarira kuti Windows inobhadharwa uye Android inounganidza data yeGoogle, tinofanira kutaura kuti chiie Linux haisati yasvika par asi, tinogona kugona kuwana mhedzisiro inopfuura. Kune rimwe divi, kunyangwe paine sarudzo dzekutengesa-giredhi Linux (uye, chokwadika, iwe unofanirwa kubhadhara) mune ino chinyorwa ticha tarisisa pane emahara uye akavhurwa sosi sosi.

Zvishandiso zvekushandura mavara kuita kutaura

Kutaura-Dispatcher

Kana iwe ukashandisa iyo Caliber e-bhuku muoni, iwe uchaona kuti muLinux inokumbira iwe kuti uise package inonzi Speech-Dispatcher. Iyi sisitimu daemon inoshanda sechibatanidza pakati pezvirongwa zvinoda kushandura zvinyorwa kuita kutaura uye zvirongwa zvinobata kutaura kwekutanga.

Zvezvirongwa zvinokurukurwa muchinyorwa chino inoshanda naEspeak uye Mutambo.

Icho chishandiso chiri mune izvo zvinyorwa kuitira kuti iwe ugone kuzvitsvaga nemazita kuti uzviise kubva kumaneja wepakeji.

Espeak / Espeak NG

Kuti uedze inotevera mirairo, iwe unozofanirwa kugadzira iyo faira faira, nyora chimwe chinhu uye chengeta se test.txt

Espeak chinyorwa-kune-kutaura chinoshandiswa chinoshandiswa neyekuverenga zvishandiso maturu mazhinji eLinux kugoverwa saka unogona kuiisa kubva kune ayo ekuchengetedza. Iyo inoshandiswa zvese kubva pamutsetse wekuraira uye kuburikidza nezvirongwa zvine graphical interface senge Gespeaker kana Kmouth (ese ari muzvivakwa).

Mazhinji emanzwi anowanikwa muEspeak kurira robhoti, asi, ivo vanonyatsonzwisiswa uye, hapana chinotadzisa mashandisiro avo.

Espeak NG ndeimwe komputa vhezheni yeiyo yapfuura.

Kuti uchinje faira kubva pane zvinyorwa kuenda mukutaura
Spanish kubva kuSpain
espeak -f prueba.txt -v es -w prueba.wav

Latin American Spanish
espeak -f prueba.txt -v es-419 -w prueba.wav

Rubatsiro uye rumwe ruzivo
man espeak

mutambo

Chimwe chishandiso chinowanikwa mune zvinyorwa ndeye Mutambo. Inosanganisira iwo mamwe maitiro eakare apfuura, kuwedzera kune mukana wekuverenga izvo zvatiri kunyora.

Tinogona kuona runyorwa rwemitauro yakaiswa ne:
ls /usr/share/festival/languages/

Verenga faira
festival --language castillian_spanish --tts prueba.txt
Mamwe mashoko
man festival
Izwi rekupedzisira muchiSpanish rakajeka, kunyangwe robhoti, asi rine matambudziko nema diphthongs. Mutambo haugadzire odhiyo mafaira.

Pico Chinyorwa kune Inotaura Injini

Iyo yekutaura synthesizer yeakavhurika sosi vhezheni yeApple. Izwi iri rakanyanya kusikwa, kunyangwe richiisa zvirambidzo pakureba kwechinyorwa. Unogona kuiwana mune zvinyorwa pasi pezita ibttspico-utils.

Kuti tishandure kubva pane zvinyorwa kuenda kuzwi faira tinoshandisa rairo:
pico2wave -l es-ES -w prueba.wav "$(cat prueba.txt)"

Tinogona kuwana rumwe ruzivo nekunyora:
pico2wave-rubatsiro

gTTS

Iri svondo inoshandisa raibhurari imwechete inoshandiswa neGoogle Dudziro kuratidza kududzwa kweshoko. Kunyangwe iri munzvimbo dzekuchengetera, zvinogona kudaro nekuti iri vhezheni yekare, haigone kutaurirana nemaseva eGoogle saka zvirinani kuiisa kubva kunzvimbo dzePyPy.org

Kune izvi isu tinofanirwa kuve nechokwadi kuti isu tine iyo python3-pombi package yakaiswa uye nekunyora:

sudo pip3 install gTTS

Ipapo tinoita zvinotevera:

sudo nano ~/.profile

Uye isu tinowedzera uyu mutsetse

export PATH="$HOME/.local/bin:$PATH"

Isu tinoponesa ne CTRL KANA uye tinoponesa ne  CTRL X

Tinogona kuona mitauro iriko nekutaipa

gtts-cli --all

Kuti tishandure (mune ino kesi mp3) faira remavara, tinoita:

gtts-cli -f prueba.txt --l es --output test.mp3

Google inoisa miganho pakushandisa kwatingaite muchirongwa, asi ini ndakakwanisa kuburitsa mafaera anosvika kweawa yakareba.


Izvo zviri muchinyorwa zvinoomerera pamisimboti yedu ye tsika dzekunyora. Kuti utaure chikanganiso tinya pano.

Iva wekutanga kutaura

Siya yako yekutaura

Your kero e havazobvumirwi ichibudiswa.

*

*

  1. Inotarisira data: AB Internet Networks 2008 SL
  2. Chinangwa cheiyo data: Kudzora SPAM, manejimendi manejimendi.
  3. Legitimation: Kubvuma kwako
  4. Kutaurirana kwedata
  5. Dhata yekuchengetedza: Dhatabhesi inobatwa neOccentus Networks (EU)
  6. Kodzero: Panguva ipi neipi iwe unogona kudzora, kupora uye kudzima ruzivo rwako