lv: improve sounds of phonemes

This commit is contained in:
Valdis Vitolins
2019-06-23 16:32:17 +03:00
parent 7559c842ed
commit 499b900b04
18 changed files with 40 additions and 34 deletions
+4 -6
View File
@@ -4,10 +4,8 @@ maintainer Valdis Vitolins <valdis.vitolins@odo.lv>
status mature
words 0 2
pitch 64 118
breath 10 2 1 0 0 0
breathw 20 42 85 200 500 1200
formant 0 95 100 100 -5
//tunes s5 c5 q5 e5
tone 150 220 450 255 750 20 3500 255
stressAmp 12 10 8 8 0 0 16 17
breath 10 2 1 0 0 0 0 0
breathw 20 42 85 200 500 1000
tone 60 80 450 255 750 10 3000 255
stressAmp 12 10 8 8 0 0 15 16
stressLength 160 140 200 140 0 0 240 160
Binary file not shown.
+35 -27
View File
@@ -47,17 +47,16 @@ phoneme i:
FMT(vwl_lv/ii, 90) // was i_7
endphoneme
phoneme y // English y, short Latgalian "hard i"
vwl starttype #i endtype #i
length 120
FMT(vwl_lv/y)
FMT(vwl_lv/y, 100)
endphoneme
phoneme y: // Long Latgalian "hard i"
vwl starttype #i endtype #i
length 300
FMT(vwl_lv/yy)
FMT(vwl_lv/yy, 90)
endphoneme
phoneme o
@@ -75,13 +74,13 @@ endphoneme
phoneme u
vwl starttype #u endtype #u
length 120
FMT(vwl_lv/u, 140)
FMT(vwl_lv/u, 100)
endphoneme
phoneme u:
vwl starttype #u endtype #u
length 300
FMT(vwl_lv/uu, 120)
FMT(vwl_lv/uu, 90)
endphoneme
phoneme ai
@@ -128,16 +127,16 @@ endphoneme
phoneme uo
vwl starttype #u endtype #a
length 270
length 280
lng
FMT(vdiph2/ua, 100)
FMT(vdiph2/ua, 110)
endphoneme
phoneme uo` // shorter version of uo
vwl starttype #u endtype #a
length 150
lng
FMT(vdiph2/ua, 100)
FMT(vdiph2/ua, 90)
endphoneme
phoneme oi
@@ -166,7 +165,7 @@ endphoneme
phoneme D // louder and shorter version of d
vcd alv stp
voicingswitch t
length 10
length 8
lengthmod 5
Vowelin f1=1 f2=1700 -300 300 f3=-100 80
Vowelout f1=2 f2=1700 -300 300 f3=-100 80 brk
@@ -188,24 +187,23 @@ phoneme h // more quiet version of standard h
ipa h
IF nextPh(#a) THEN
WAV(h/ha, 20)
WAV(h/h-lv, 10)
ELIF nextPh(#e) THEN
WAV(h/he, 20)
WAV(h/h-lv, 10)
ELIF nextPh(#i) THEN
WAV(h/hi, 20)
WAV(h/h-lv, 10)
ELIF nextPh(#o) THEN
WAV(h/ho, 20)
WAV(h/h-lv, 10)
ELIF nextPh(#u) THEN
WAV(h/hu, 20)
WAV(h/h-lv, 10)
ELIF nextPh(isPause) THEN
WAV(h/h_, 40) // louder for foreign words
WAV(h/h-lv, 20)
ENDIF
WAV(h/h_, 20) // no vowel following
WAV(h/h-lv, 10) // no vowel following
endphoneme
phoneme j // **y**es
liquid pal starttype #i
IF nextPhW(isVowel) THEN
NextVowelStarts
VowelStart(j/j@)
@@ -215,7 +213,7 @@ phoneme j // **y**es
VowelStart(j/jo)
VowelStart(j/ju)
EndSwitch
VowelEnding(j/xj, 70) // In difference with English, vowel is lengthened, not shortened
VowelEnding(j/xj, 127) // In difference with English, vowel is lengthened, not shortened
ELSE
Vowelout len=127 // no vowel follows
FMT(j/xj)
@@ -253,10 +251,6 @@ endphoneme
phoneme l
liquid
// IF nextPh(isNotVowel) THEN
// ChangePhoneme(l/)
// ENDIF
IF nextPh(isNotVowel) THEN
PrevVowelEndings
VowelEnding(l/L1_@L)
@@ -320,9 +314,6 @@ phoneme l^ // Latvian ļ, customized from standard l^
endphoneme
phoneme m // copied from standard m phoneme with rule for 'mm'
vcd blb nas
Vowelout f1=2 f2=1000 -500 -350 f3=-200 80 brk
@@ -438,11 +429,28 @@ phoneme v` // shortened v
FMT(voc/v#_)
endphoneme
phoneme z` // Shortened version of z for diphthong dz
phoneme z- // Shorter version of z
vcd alv frc sib
length 30
voicingswitch s
Vowelout f1=0 f2=1700 -300 300 f3=-100 60 len=50
IF KlattSynth THEN
Vowelin f1=0 f2=1390 -300 300 f3=0 0
Vowelout f1=1 f2=1390 -300 300 f3=-100 60 len=50 brk
ENDIF
IF nextPh(isPause2) THEN
FMT(voc/z_) addWav(ufric/s_, 70)
ENDIF
FMT(voc/z) addWav(ufric/s_, 85)
endphoneme
phoneme z` // Shortest version of z for diphthong dz
vcd alv frc sib
voicingswitch s
length 8
lengthmod 6
Vowelout f1=0 f2=1700 -300 300 f3=-100 60 len=50
IF KlattSynth THEN
BIN
View File
Binary file not shown.
Binary file not shown.
BIN
View File
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
View File
Binary file not shown.
Binary file not shown.
BIN
View File
Binary file not shown.
Binary file not shown.
BIN
View File
Binary file not shown.
Binary file not shown.
BIN
View File
Binary file not shown.
Binary file not shown.
+1 -1
View File
@@ -95,7 +95,7 @@ test_lang ky bee9e683218b0c53c29a89709501f8a2486b71b2 "ma na Na pa ba ta da ka g
test_lang la 080bd53c20991eae7baec73b8c735eacc8aae076 "ma na Na pa p<h>a ba ta t<h>a da ka k<h>a ga fa sa za ha Ra la ja wa _:_ ma mE mI mO mU ma: me: mi: mo: mu: my my: maU maI meI mEU mOI"
test_lang lfn 044e27a5100528760a185e0773dccaca504b5bd4 "ma na Na pa ba ta da ka ga fa va sa za Sa Za ha la ja R2a **a wa _:_ ma me mi mo mu maI maU meU moI"
test_lang lt 615e503b996ea5f7b267ebd77b91e77c5b874e18 "ma m;a na n;a pa p;a ta t;a ka k;a ba b;a da d;a ga g;a tsa ts;a tSa tS;a dza dz;a dZa dZ;a fa f;a sa s;a Sa S;a xa x;a va v;a za z;a Za Z;a la l;a ra r;a ja _:_ m@ ma mA ma: me mE me: mee meA mi mI mi: mo mO mo: mu mU mu: mw mW mai mei mau muo moi mui mie maU meU moU maI meI"
test_lang lv ebd5378940b27e39ac35cda90e027ee0fa625fde "ma na n^a Na pa ba ta da ca Ja ka ga tsa dza Dz\`a tSa dZa DZ\`a fa va sa za Sa Za xa ha ja la l^a Ra ra _:_ mi my mu mE me mo ma mi: my: mu: mE: me: mo: ma: mai mau mei mie miu mui muo muo\` moi"
test_lang lv 060b6f94cd505e5c3e649d94c41856d801c0c695 "ma na n^a Na pa ba ta da ca Ja ka ga tsa dza Dz\`a tSa dZa DZ\`a fa va sa za Sa Za xa ha ja la l^a Ra ra _:_ mi my mu mE me mo ma mi: my: mu: mE: me: mo: ma: mai mau mei mie miu mui muo muo\` moi"
test_lang mi b6e622de46c33181cdfea351b907f932da9a0a1a "ma na Na pa ta ka fa ha ra wa _:_ ma ma: me me: mi mi: mo mo: mu mu:"
test_lang mk 072d0a74acf54bea528e7dde427eb04808d38364 "ma na n^a Na pa ta xa k^a ka ba da Ja ga tsa tSa tS;a dza dZa dZ;a fa sa Sa xa va za Za l^a la ja Ra @-*a ra _:_ ma me mi mo mu mA mE ma: me: mi: mo: mu: moU"
test_lang shn e568aca66c2f58fdaf5dda8a67f4d21f05710234 "ma na Ja Na pa p_ha ba ta t_ha da ka k_ha ga ?a fa sa za Ta ha tS;a Ra ja wa la _:_ mi mI mW mu me m@ mo mE ma ma: mO miu meu mEu mau ma:u mWi mui m@i moi mai ma:i mOi maW _:_ ma1 ma2 ma3 ma4 ma5 ma6"