| 1 |
|
| 2 |
//==================================================== |
| 3 |
// Portuguese/Portugal - based on Portuguese/Brazil |
| 4 |
//==================================================== |
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
phoneme & |
| 9 |
vowel starttype #@ endtype #@ |
| 10 |
length 180 |
| 11 |
ipa ɐ |
| 12 |
FMT(vowel/a#_3) |
| 13 |
unstressed |
| 14 |
endphoneme |
| 15 |
|
| 16 |
phoneme &/ // Used for final "a" when next word starts with "a" |
| 17 |
vowel starttype #@ endtype #@ |
| 18 |
length 180 |
| 19 |
ipa ɐ |
| 20 |
IF nextPh(isVowel) THEN |
| 21 |
ChangePhoneme(NULL) |
| 22 |
ENDIF |
| 23 |
FMT(vowel/a#_3) |
| 24 |
endphoneme |
| 25 |
|
| 26 |
phoneme a |
| 27 |
vowel starttype #a endtype #a |
| 28 |
length 180 |
| 29 |
ChangeIfNotStressed(&) |
| 30 |
FMT(vowel/a_2) |
| 31 |
endphoneme |
| 32 |
|
| 33 |
phoneme &~ |
| 34 |
vowel starttype #e endtype #@ |
| 35 |
ipa ɐU+0303 |
| 36 |
length 240 |
| 37 |
FMT(vnasal/ee_n2) |
| 38 |
endphoneme |
| 39 |
|
| 40 |
phoneme &U~ |
| 41 |
vowel starttype #@ endtype #u |
| 42 |
ipa ɐU+0303ʊU+0303 |
| 43 |
length 240 |
| 44 |
FMT(vnasal/a#u_n) |
| 45 |
endphoneme |
| 46 |
|
| 47 |
|
| 48 |
|
| 49 |
phoneme E |
| 50 |
vowel starttype #e endtype #e |
| 51 |
length 180 |
| 52 |
ChangeIfUnstressed(y) |
| 53 |
FMT(vowel/e_mid) |
| 54 |
endphoneme |
| 55 |
|
| 56 |
phoneme e |
| 57 |
vowel starttype #e endtype #e |
| 58 |
length 180 |
| 59 |
ChangeIfUnstressed(y) |
| 60 |
FMT(vowel/e) |
| 61 |
endphoneme |
| 62 |
|
| 63 |
phoneme y |
| 64 |
vowel starttype #@ endtype #@ |
| 65 |
length 130 |
| 66 |
ipa ɨ |
| 67 |
FMT(vowel/i#_5) |
| 68 |
endphoneme |
| 69 |
|
| 70 |
|
| 71 |
phoneme i |
| 72 |
vowel starttype #i endtype #i |
| 73 |
length 170 |
| 74 |
IfNextVowelAppend(;) |
| 75 |
FMT(vowel/i) |
| 76 |
endphoneme |
| 77 |
|
| 78 |
|
| 79 |
phoneme i/ // changes to NULL before a vowel |
| 80 |
vowel starttype #i endtype #i |
| 81 |
length 130 |
| 82 |
ipa ɨ |
| 83 |
IF nextPh(isVowel) THEN |
| 84 |
ChangePhoneme(NULL) |
| 85 |
ENDIF |
| 86 |
IfNextVowelAppend(;) |
| 87 |
FMT(vowel/i#_5) |
| 88 |
endphoneme |
| 89 |
|
| 90 |
|
| 91 |
phoneme O |
| 92 |
vowel starttype #o endtype #o |
| 93 |
length 180 |
| 94 |
// ChangeIfNotStressed(o) |
| 95 |
FMT(vowel/0_2) |
| 96 |
endphoneme |
| 97 |
|
| 98 |
|
| 99 |
phoneme o |
| 100 |
vowel starttype #o endtype #o |
| 101 |
length 180 |
| 102 |
ChangeIfNotStressed(u) |
| 103 |
FMT(vowel/o) |
| 104 |
endphoneme |
| 105 |
|
| 106 |
|
| 107 |
phoneme u |
| 108 |
vowel starttype #u endtype #u |
| 109 |
length 180 |
| 110 |
FMT(vowel/u_6) |
| 111 |
endphoneme |
| 112 |
|
| 113 |
phoneme U |
| 114 |
vowel starttype #u endtype #u |
| 115 |
length 130 |
| 116 |
IF thisPh(isWordEnd) AND thisPh(isAfterStress) AND nextPh(isVowel) THEN |
| 117 |
ChangePhoneme(w) |
| 118 |
ENDIF |
| 119 |
FMT(vowel/u_6) |
| 120 |
endphoneme |
| 121 |
|
| 122 |
|
| 123 |
phoneme EU |
| 124 |
vowel starttype #e endtype #u |
| 125 |
length 230 |
| 126 |
FMT(vdiph/eeu_2) |
| 127 |
endphoneme |
| 128 |
|
| 129 |
|
| 130 |
|
| 131 |
phoneme w |
| 132 |
import_phoneme base2/w2 |
| 133 |
endphoneme |
| 134 |
|
| 135 |
|
| 136 |
phoneme x // [r] for Portugal |
| 137 |
liquid |
| 138 |
trill |
| 139 |
ipa ʁ |
| 140 |
lengthmod 7 |
| 141 |
Vowelin f1=0 f2=1500 -400 400 f3=-400 80 |
| 142 |
IF nextPh(isNotVowel) THEN |
| 143 |
ChangePhoneme(r/) |
| 144 |
ENDIF |
| 145 |
FMT(vwl_fr/@R) addWav(r3/rx, 120) |
| 146 |
endphoneme |
| 147 |
|
| 148 |
|
| 149 |
phoneme R // for Portugal this is same the as [r] |
| 150 |
import_phoneme pt/r |
| 151 |
endphoneme |
| 152 |
|
| 153 |
|
| 154 |
phoneme s# // This is [s] for Brazil, [S] for Portugal |
| 155 |
IF nextPh(isVoiced) THEN |
| 156 |
ChangePhoneme(Z) |
| 157 |
ENDIF |
| 158 |
CALL base/S |
| 159 |
ipa ʃ |
| 160 |
endphoneme |
| 161 |
|