| 1 |
|
| 2 |
//==================================================== |
| 3 |
// Spanish - based on Base2 |
| 4 |
//==================================================== |
| 5 |
|
| 6 |
|
| 7 |
phoneme a |
| 8 |
vwl starttype #a endtype #a |
| 9 |
length 190 |
| 10 |
ChangeIfNotStressed(a/) |
| 11 |
FMT(vowel/a_4) |
| 12 |
endphoneme |
| 13 |
|
| 14 |
phoneme a/ |
| 15 |
vwl starttype #a endtype #a |
| 16 |
length 155 |
| 17 |
IF thisPh(isWordEnd) THEN |
| 18 |
FMT(vowel/a_4, 85) |
| 19 |
ENDIF |
| 20 |
FMT(vowel/a_4, 95) |
| 21 |
endphoneme |
| 22 |
|
| 23 |
phoneme e |
| 24 |
vwl starttype #e endtype #e |
| 25 |
length 190 |
| 26 |
ChangeIfNotStressed(e/) |
| 27 |
FMT(vowel/e_mid2) |
| 28 |
endphoneme |
| 29 |
|
| 30 |
phoneme e/ |
| 31 |
vwl starttype #e endtype #e |
| 32 |
length 150 |
| 33 |
FMT(vowel/e_mid2, 90) |
| 34 |
endphoneme |
| 35 |
|
| 36 |
phoneme E |
| 37 |
vwl starttype #e endtype #e |
| 38 |
length 175 |
| 39 |
ChangeIfNotStressed(e/) |
| 40 |
FMT(vowel/e_mid2) |
| 41 |
endphoneme |
| 42 |
|
| 43 |
phoneme i |
| 44 |
vwl starttype #i endtype #i |
| 45 |
length 190 |
| 46 |
IfNextVowelAppend(;) |
| 47 |
FMT(vowel/i) |
| 48 |
endphoneme |
| 49 |
|
| 50 |
phoneme o |
| 51 |
vwl starttype #o endtype #o |
| 52 |
length 195 |
| 53 |
ChangeIfNotStressed(o/) |
| 54 |
IF nextPhW(n) THEN |
| 55 |
length 160 |
| 56 |
FMT(vowel/o_mid2) |
| 57 |
ENDIF |
| 58 |
FMT(vowel/oo) |
| 59 |
endphoneme |
| 60 |
|
| 61 |
phoneme o/ |
| 62 |
vwl starttype #o endtype #o |
| 63 |
length 155 |
| 64 |
IF thisPh(isWordEnd) THEN |
| 65 |
FMT(vwl_es/oo_) |
| 66 |
ENDIF |
| 67 |
FMT(vowel/oo, 90) |
| 68 |
endphoneme |
| 69 |
|
| 70 |
phoneme u |
| 71 |
vwl starttype #u endtype #u |
| 72 |
length 200 |
| 73 |
FMT(vowel/u_bck2) |
| 74 |
endphoneme |
| 75 |
|
| 76 |
phoneme oI |
| 77 |
vwl starttype #o endtype #i |
| 78 |
length 245 |
| 79 |
IF thisPh(isWordEnd) OR prevPh(r) THEN |
| 80 |
length 260 |
| 81 |
FMT(vwl_es/ooi_) |
| 82 |
ENDIF |
| 83 |
FMT(vwl_es/ooi) |
| 84 |
endphoneme |
| 85 |
|
| 86 |
|
| 87 |
phoneme g |
| 88 |
vcd vel stp |
| 89 |
lengthmod 5 |
| 90 |
voicingswitch k |
| 91 |
Vowelin f1=2 f2=2300 200 300 f3=-300 80 |
| 92 |
Vowelout f1=2 f2=2300 250 300 f3=-300 80 brk |
| 93 |
|
| 94 |
IF nextPh(isVowel) OR nextPh(isRhotic) OR nextPh(isLiquid) THEN |
| 95 |
IF prevPh(isPause) OR prevPh(isNasal) THEN |
| 96 |
ELSE |
| 97 |
ChangePhoneme(Q) |
| 98 |
ENDIF |
| 99 |
ENDIF |
| 100 |
|
| 101 |
IF PreVoicing THEN |
| 102 |
FMT(g/xg) |
| 103 |
ENDIF |
| 104 |
|
| 105 |
IF nextPh(isPause2) THEN |
| 106 |
FMT(g/g_) addWav(x/g_) |
| 107 |
ENDIF |
| 108 |
FMT(g/g) addWav(x/g2) // weaker [g] |
| 109 |
endphoneme |
| 110 |
|
| 111 |
phoneme d |
| 112 |
vcd dnt stp |
| 113 |
|
| 114 |
IF nextPh(isVowel) OR nextPh(isRhotic) OR nextPh(j) THEN |
| 115 |
IF prevPh(isPause) OR prevPh(isNasal) OR prevPh(l) THEN |
| 116 |
ELSE |
| 117 |
ChangePhoneme(D) |
| 118 |
ENDIF |
| 119 |
ENDIF |
| 120 |
|
| 121 |
CALL base2/d |
| 122 |
endphoneme |
| 123 |
|
| 124 |
phoneme b |
| 125 |
vcd blb stp |
| 126 |
|
| 127 |
IF nextPh(isVowel) OR nextPh(isRhotic) OR nextPh(isLiquid) THEN |
| 128 |
IF prevPh(isPause) OR prevPh(isNasal) THEN |
| 129 |
ELSE |
| 130 |
ChangePhoneme(B) |
| 131 |
ENDIF |
| 132 |
ENDIF |
| 133 |
|
| 134 |
CALL base1/b |
| 135 |
endphoneme |
| 136 |
|
| 137 |
|
| 138 |
phoneme D |
| 139 |
vcd dnt frc |
| 140 |
lengthmod 6 |
| 141 |
voicingswitch T |
| 142 |
CALL base1/D |
| 143 |
IF nextPh(isPause2) THEN |
| 144 |
FMT(voc/dh_) addWav(vocw/dh, 35) // weaker |
| 145 |
ENDIF |
| 146 |
endphoneme |
| 147 |
|
| 148 |
|
| 149 |
phoneme s |
| 150 |
vls alv frc sib |
| 151 |
lengthmod 3 |
| 152 |
voicingswitch z |
| 153 |
Vowelin f1=0 f2=1700 -300 300 f3=-100 80 |
| 154 |
Vowelout f1=0 f2=1700 -300 250 f3=-100 80 rms=20 |
| 155 |
|
| 156 |
IF nextPh(isPause) THEN |
| 157 |
WAV(ufric/s_, 60) // quieter 's' at end of word |
| 158 |
ELIF nextPh(p) OR nextPh(t) OR nextPh(k) THEN |
| 159 |
WAV(ufric/s!) |
| 160 |
ENDIF |
| 161 |
WAV(ufric/s, 80) |
| 162 |
endphoneme |
| 163 |
|
| 164 |
|
| 165 |
phoneme v# // a shorter [v], a little towards [b] |
| 166 |
vcd lbd frc |
| 167 |
ipa ʋ |
| 168 |
lengthmod 6 |
| 169 |
voicingswitch f |
| 170 |
Vowelin f1=1 f2=1000 -300 -200 f3=-300 100 |
| 171 |
Vowelout f1=0 f2=1000 -500 -300 f3=-300 60 len=10 |
| 172 |
|
| 173 |
IF nextPh(isPause2) THEN |
| 174 |
FMT(voc/v_) addWav(vocw/v, 80) |
| 175 |
ENDIF |
| 176 |
FMT(voc/v2) addWav(vocw/v, 80) |
| 177 |
endphoneme |
| 178 |
|
| 179 |
|
| 180 |
phoneme r |
| 181 |
vcd alv flp rhotic |
| 182 |
brkafter |
| 183 |
ipa ɾ |
| 184 |
lengthmod 3 |
| 185 |
|
| 186 |
IF nextPhW(isVowel) THEN |
| 187 |
ChangePhoneme(**) |
| 188 |
ENDIF |
| 189 |
|
| 190 |
CALL base1/* |
| 191 |
endphoneme |
| 192 |
|
| 193 |
|