Plot summary:
[Machine Xiao Wei] in the [engineer Ah Wei] accompanied by the practice of acoustic avatar.
This time to study is [Chinese pinyin].
Star Calendar May 09, 2016 16:16:57, the Milky Way Galaxy Earles the Chinese Empire Jiangnan Line province.
[Engineer Ah Wei] is working with [machine Xiao Wei] to study [Pinyin in Chinese].
#生成声波数据def tmp2_2 (): Print (' Generate waveform start. >>> '); fout= open (' Output.txt ', ' W '); #普通话元音, turbid consonants frequence = [[1000,1400,2400], #a [1100,1550,2600], #a (female) [600,1000,2000], #o [900,1300,3000], #o (female) [600,1400,2400], #e [700,1450,3200], #e (female) [650,2050,2600], #e ^ [550,2400,3000], #e ^ (female) [400,2300,3500], #i [350,2900,3500], #i (female) [+], #u [650], #u (female) [2200, 2500], #yu [F, 2300, 2750], #yu (female) [+, 2600], #i (hereby) [500,1500,3100], #i (f) (female) [1700, 2400], #i (know) [1900, 2600], #i (know) (female) [550, 1800, 265, #er [1750, 3600], #er (female) #普通话浊辅音 0], #r [+, 2350], #m [2400], #n [380, +, 1800], #-n [+, +, 1900], #-ng [2400], #l [+, 2200, 3500], #y (i) [j], #w (u) [350 , 2400, 3600] #yu]; size = Len (frequence); For I in range (size): Datastr = '; Size_1 = Len (Frequence[i]); if (size_1 = = 2): datastr = ' primarytone_ ' + str (frequence[i][0]) + ' _ ' +str (frequence[i][1]) + ' = ['; elif (Size_1 = = 3): datastr = ' primarytone_ ' + str (frequence[i][0]) + ' _ ' +str (frequence[i][1]) + ' _ ' +str (frequence[ I][2]) + ' = ['; Fout.write (DATASTR); data = []; if (size_1 = = 2): data = Wavedatagen_2 (Frequence[i][0], frequence[i][1], 0); elif (Size_1 = = 3): data = Wavedatagen_2 (Frequence[i][0], frequence[i][1], frequence[i][2]); Size_1 = len (data); For n in range (size_1): Fout.write (str (data[n)); if (n < size_1-1): Fout.write (', '); Fout.write (']; '); Fout.write (' \ r \ n '); Fout.close (); Print (' Generate waveform end, please go to output.txt to check. '); #生成声波数据def tmp3_2 (): filename = []; #普通话元音, turbid consonants frequence = [[1000,1400,2400], #a [1100,1550,2600], #a (female) [600,1000,2000], #o [900,1300,3000], #o (female) [600,1400,2400], #e [700,1450,3200], #e (female) [650,2050,2600], #e ^ [550,2400,3000], #e ^ (female) [400,2300,3500], #i [350,2900,3500], #i (female) [+], #u [650], #u (female) [2200, 2500], #yu [F, 2300, 2750], #yu (female) [+, 2600], #i (hereby) [500,1500,3100], #i (female) [450, 1700, 2[750], #i (know) [1900, 2600], #i (f) (female) [+, 36, 1750, #er] XX], #er (female) #普通话浊辅音 [550, 1800, 2650], #r [+, 2350], #m [2400], #n [380, +, 1800], #-n [+, +, 1900], #-ng [2400], #l [240, 2200, 3500], #y (i) [[j], #w (u) [350] 0, 3600] #yu]; size = Len (frequence); For I in range (size): Datastr = '; Size_1 = Len (Frequence[i]); if (size_1 = = 2): datastr = ' primarytone_ ' + str (frequence[i][0]) + ' _ ' +str (Frequence[i][1]); elif (Size_1 = = 3): datastr = ' primarytone_ ' + str (frequence[i][0]) + ' _ ' +str (frequence[i][1]) + ' _ ' +str (frequence[i ][2]); Filename.append (DATASTR); print (filename);
Pronunciation of Chinese phonetic vowels
Click to open Link--Hanyu Pinyin vowel pronunciation
F
#生成声波数据def TMP2 (): Print (' Generate waveform start. >>> '); fout= open (' Output.txt ', ' W '); Frequence = List (range (100, 7100, 100)); size = Len (frequence); For I in range (size): Datastr = ' assistfreq_ ' +str (Frequence[i]). Replace ('. ', ' P ') + ' = ['; Fout.write (DATASTR); data = Wavedatagen (Frequence[i]); Size_1 = len (data); For n in range (size_1): Fout.write (str (data[n)); if (n < size_1-1): Fout.write (', '); Fout.write (']; '); Fout.write (' \ r \ n '); Fout.close (); Print (' Generate waveform end, please go to output.txt to check. '); #打印文件名 def tmp3 (): filename = []; Frequence = List (range (100, 7100, 100)); size = Len (frequence); For I in range (size): Datastr = ' assistfreq_ ' +str (Frequence[i]). Replace ('. ', ' P '); Filename.append (DATASTR); print (filename);
Pronunciation of Hanyu Pinyin consonants
Click to open link--pronunciation of Hanyu pinyin consonants
The end of this section, to know how to funeral, please see tell.
[Learn acoustics from the beginning] the No. 208 section Chinese Pinyin