Salve. Oggi volevo descrivervi come e' possibile con Ubuntu 8.04, far parlare il vostro computer, facendogli dire o raccontare storie piu' o meno a caso con un senso compiuto.
festival (with the packages for the Italian language)
polygen (www.polygen.org)
- The festival will be installed using apt.
- sudo apt-get install festlex-ifd
(set! main-path "/ usr / share / festival)
(set! libdir main-path)
(set! lexdir (path-append libdir "dicts"))
(set! voice_default 'voice_pc_diphone)
if it was a female voice must set the last statement To:
(set! voice_default 'voice_lp_diphone)
A questo punto festival e' apposto. Il testo da un file lo faccio dire cosi' : festival --tts "file.txt"
Il polygen invece si scarica dal sito e si estrae in una cartella di vostra scelta. Andate all'interno di essa e chmoddate il file polygen in modo che sia eseguibile. Ora pero' dovete crearvi una grammatica, cioe', seguendo le basilari regole del manuale, potete creare dei sorgenti che tramite polygen diventano frasi.
polygen {filegrammatica} > file.txt
festival --tts "file.txt"
Il divertimento e' assicurato, come si puo' gia' intuire dagli esempi del sito di polygen. Qui pero' abbiamo aggiunto the effect of a sentence generated voice. In times more fooling around 'wild I also spent writing grammars simulating tone and phrasing typical of some people I know, of course, exaggerating some traits. It 's not that we can lose his life or it's the best way to invest their future, but sometimes I rascolto in serenity' these licks out from the PC to freewheel. course take into account that some festivals together and polygen application server or other programs, promising potential 'may still not explored to the end ... For example, you could create a website completely random.
0 comments:
Post a Comment