changed git call from https to git readonly
[atutor.git] / mods / atalker / ATalker-italian-voice-README.txt
1 THE ITALIAN VOICE FOR ATALKER (ATutor 1.5.1 pl2 - ATalker 0.1)
2  
3 Once You've completed the previous installations of Atalker, AtalkerĀ­_theme, FestivalTTS and Mbrola described on the official ATalker README: 
4
5 - install the italian language package from /packages dir inside the ATalker-it-addon.tar.gz archive;  
6  
7 - Download the Italian-voices-package for Festival Text-to-Speech System at: 
8
9 http://www.pd.istc.cnr.it/Software/It-Festival/Italian-FESTIVAL.zip.
10
11 The available Italian voices are in lp_diphone.zip and pc_diphone.zip sub-archives (female and male voices respectively); 
12
13 - unzip the "Italian" directory placed inside the above sub-archive lp_diphone.zip (or pc_diphone.zip) and copy in 
14 [Festival-dir]/lib/voices/ (Where [Festival-dir] is your typical "/usr/share/festival/" directory);
15 - unzip the directory "ifd" placed inside the sub-archive "lex_ifd.zip" (it will generate the tree: festival/lib/dicts/ifd etc.) and 
16   copy it in your own Festival dirtree ([Festival-dir]/lib/dicts/); 
17 - unzip the directory "italian_scm" placed inside the sub-archive "italian_scm.zip" of Italian-Festival.zip 
18 (it will generate the tree: festival/lib/italian_scm etc.) and copy it in 
19 "/usr/lib/festival/" (or equivalent path on your system, not on [Festival-dir]/lib/dicts/); ; 
20
21 To avoid "SIOD ERROR: could not open file [...]/synthesis.scm", 
22 modify the file: [Festival-dir]/lib/voices/italian/lp_diphone/festvox/lp_diphone.scm 
23 at line 119 (substitute the term "libdir" with "datadir"). For male voice the lp_diphone directory changes in pc_diphone.
24
25 To avoid "SIOD ERROR: unbound variable" during the setting-up of "lp_diphone" on interactive mode of Festival, 
26 find the string "da noi" (line 120) on the file: [Festival-dir]/lib/voices/italian/lp_diphone/festvox/lp_diphone.scm 
27 and rewrite the comment to a single line.
28
29 NOTE: On the two steps above, the "lp_diphone" directory changes in the "pc_diphone" one for the male voice.
30
31
32
33 SETTING UP MBROLA ITALIAN VOICES
34
35 The available Italian voices are in lp_mbrola.zip and pc_mbrola.zip sub-archives (female and male voices respectively); 
36
37 Copy the directory "lp_mbrola" found in lp_mbrola_unix.zip (placed inside the archive "Italian-Festival.zip" cited above) 
38 in [Festival-dir]/lib/voices/Italian/ (Where [Festival-dir] is your typical "/usr/share/festival/" directory);
39
40 download the file (for the female voice) at: http://tcts.fpms.ac.be/synthesis/mbrola/dba/it4/it4-010926.zip 
41 (http://tcts.fpms.ac.be/synthesis/mbrola/dba/it3/it3-010304.zip for the male voice) and unzip in [Festival-dir]/lib/voices/Italian/lp_mbrola/ (or pc_mbrola) 
42
43 NOTE: It's necessary moving the /it3 (or /it4) deflated directory [Festival-dir]/lib/voices/italian/lp_mbrola/ (or Pc_mbrola/).
44
45 Change the term "libdir" with "datadir" in: 
46 [Festival-dir]/lib/voices/italian/lp_mbrola/festvox/lp_mbrola.scm (line 106) (or in pc_mbrola.scm)
47 and rewrite the comment containing the term "moduli" (line 107) inside the same file on a single line, if it's on two.
48
49 Create a symbolical link in /usr/sbin/mbrola to the /usr/local/bin/mbrola file (for Apache relative addressing).
50
51
52 PATCHING ATALKER
53
54
55 1) Please, BACKUP ATUTOR. 
56
57 2) unzip the files in the "ATutor" directory placed inside the ATalker-italian.zip archive on your own installed ATutor directory (create and deflate directory and files to the existing one "ATutor" dirtree);
58
59
60 3) Execute the queries placed in "sql" directory (placed in Atalker-italian.zip) (after having deleted the suitable records if necessary) on ATUTOR DB;
61
62
63
64
65
66
67
68
69
70