├── .DS_Store ├── .gitattributes ├── .gitignore ├── LICENSE ├── README.md ├── figures └── praat.png ├── scripts ├── .DS_Store ├── L1 │ ├── Tutor_1.praat │ ├── open_files.praat │ ├── result.txt │ └── total_dur_all_file.praat ├── L2 │ └── chunking.praat ├── L3 │ └── get_duration.praat ├── L4 │ └── get_pitch.praat ├── L5 │ ├── .DS_Store │ └── formant_extraction.praat └── L6 │ ├── formant_dynamics_seeding.praat │ └── read_csv.praat └── testing_data ├── .DS_Store ├── L1 ├── .DS_Store ├── SEMT_1.wav ├── SEMT_10.wav ├── SEMT_2.wav ├── SEMT_3.wav ├── SEMT_4.wav ├── SEMT_5.wav ├── SEMT_6.wav ├── SEMT_7.wav ├── SEMT_8.wav └── SEMT_9.wav ├── L2 ├── .DS_Store ├── alveolar.TextGrid ├── alveolar.wav ├── alveolopalatal.TextGrid ├── alveolopalatal.wav ├── labial.TextGrid └── labial.wav ├── L3 ├── ut_init.TextGrid ├── ut_init.wav ├── ut_med.TextGrid └── ut_med.wav ├── L4 ├── .DS_Store ├── t1.TextGrid ├── t1.wav ├── t2.TextGrid ├── t2.wav ├── t3.TextGrid ├── t3.wav ├── t4.TextGrid └── t4.wav ├── L5 ├── a.TextGrid ├── a.wav ├── e.TextGrid ├── e.wav ├── i.TextGrid ├── i.wav ├── o.TextGrid ├── o.wav ├── u.TextGrid └── u.wav ├── L6 ├── .DS_Store ├── Chn_1 │ ├── .DS_Store │ ├── chn_1_a.TextGrid │ ├── chn_1_a.wav │ ├── chn_1_diphthongs.TextGrid │ ├── chn_1_diphthongs.wav │ ├── chn_1_e.TextGrid │ ├── chn_1_e.wav │ ├── chn_1_i.TextGrid │ ├── chn_1_i.wav │ ├── chn_1_o.TextGrid │ ├── chn_1_o.wav │ ├── chn_1_u.TextGrid │ └── chn_1_u.wav ├── Chn_2 │ ├── .DS_Store │ ├── Chn_a.TextGrid │ ├── Chn_a.wav │ ├── Chn_e.TextGrid │ ├── Chn_e.wav │ ├── Chn_i.TextGrid │ ├── Chn_i.wav │ ├── Chn_o.TextGrid │ ├── Chn_o.wav │ ├── Chn_u.TextGrid │ └── Chn_u.wav ├── chn_formant_refs.csv ├── chn_speaker_log.csv └── formant_setting.csv ├── L6_context.txt └── L6_time.txt /.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZenMule/Praat_Scripting_Tutorial/27edc04067de0ea4b134ad5b65de9eb6213ba908/.DS_Store -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | **/.DS_Store 2 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2021 ZenMule 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Praat Scripting Tutorial 2 | 知乎文章 Praat scripting 入门系列的数据和脚本。 3 | 专栏地址:https://www.zhihu.com/column/c_1384275010043899904 4 | -------------------------------------------------------------------------------- /figures/praat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZenMule/Praat_Scripting_Tutorial/27edc04067de0ea4b134ad5b65de9eb6213ba908/figures/praat.png -------------------------------------------------------------------------------- /scripts/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZenMule/Praat_Scripting_Tutorial/27edc04067de0ea4b134ad5b65de9eb6213ba908/scripts/.DS_Store -------------------------------------------------------------------------------- /scripts/L1/Tutor_1.praat: -------------------------------------------------------------------------------- 1 | selectObject: "Sound test" 2 | 3 | duration = Get total duration 4 | welcome$ = "I know praat scripting, because I just ran a script!" 5 | 6 | printline The total duration of the recording is 'duration'ms. 7 | printline 'welcome$' -------------------------------------------------------------------------------- /scripts/L1/open_files.praat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZenMule/Praat_Scripting_Tutorial/27edc04067de0ea4b134ad5b65de9eb6213ba908/scripts/L1/open_files.praat -------------------------------------------------------------------------------- /scripts/L1/result.txt: -------------------------------------------------------------------------------- 1 | The duration of SEMT_1.wav is 1.6594557823129252 2 | The duration of SEMT_10.wav is 2.410884353741497 3 | The duration of SEMT_100.wav is 2.160408163265306 4 | The duration of SEMT_101.wav is 2.066485260770975 5 | The duration of SEMT_102.wav is 2.097777777777778 6 | The duration of SEMT_103.wav is 1.972562358276644 7 | The duration of SEMT_104.wav is 2.129092970521542 8 | The duration of SEMT_105.wav is 2.2230385487528346 9 | The duration of SEMT_106.wav is 2.285646258503401 10 | The duration of SEMT_107.wav is 2.285646258503401 11 | The duration of SEMT_108.wav is 2.0664625850340137 12 | The duration of SEMT_109.wav is 4.419705215419501 13 | The duration of SEMT_11.wav is 2.3169614512471655 14 | The duration of SEMT_110.wav is 2.9431519274376416 15 | The duration of SEMT_111.wav is 2.5361451247165534 16 | The duration of SEMT_112.wav is 2.536122448979592 17 | The duration of SEMT_113.wav is 2.880544217687075 18 | The duration of SEMT_114.wav is 2.160408163265306 19 | The duration of SEMT_115.wav is 2.5361451247165534 20 | The duration of SEMT_116.wav is 2.129092970521542 21 | The duration of SEMT_117.wav is 2.5048072562358277 22 | The duration of SEMT_118.wav is 2.4044897959183675 23 | The duration of SEMT_119.wav is 2.066485260770975 24 | The duration of SEMT_12.wav is 2.4421995464852606 25 | The duration of SEMT_120.wav is 2.191700680272109 26 | The duration of SEMT_121.wav is 2.066485260770975 27 | The duration of SEMT_122.wav is 2.129092970521542 28 | The duration of SEMT_123.wav is 2.0978004535147394 29 | The duration of SEMT_124.wav is 2.160408163265306 30 | The duration of SEMT_125.wav is 2.129092970521542 31 | The duration of SEMT_126.wav is 2.097777777777778 32 | The duration of SEMT_127.wav is 1.7846938775510204 33 | The duration of SEMT_128.wav is 1.9725396825396826 34 | The duration of SEMT_129.wav is 2.1917233560090703 35 | The duration of SEMT_13.wav is 2.3169614512471655 36 | The duration of SEMT_130.wav is 2.2543310657596374 37 | The duration of SEMT_131.wav is 2.2230385487528346 38 | The duration of SEMT_132.wav is 2.216621315192744 39 | The duration of SEMT_133.wav is 2.3795691609977325 40 | The duration of SEMT_134.wav is 1.9725396825396826 41 | The duration of SEMT_135.wav is 2.4421995464852606 42 | The duration of SEMT_136.wav is 1.972562358276644 43 | The duration of SEMT_137.wav is 2.223015873015873 44 | The duration of SEMT_138.wav is 2.0038548752834466 45 | The duration of SEMT_139.wav is 2.0978004535147394 46 | The duration of SEMT_14.wav is 2.5610204081632655 47 | The duration of SEMT_140.wav is 2.223015873015873 48 | The duration of SEMT_141.wav is 2.035170068027211 49 | The duration of SEMT_142.wav is 2.0038548752834466 50 | The duration of SEMT_143.wav is 2.000793650793651 51 | The duration of SEMT_144.wav is 2.1258730158730157 52 | The duration of SEMT_145.wav is 2.1065986394557825 53 | The duration of SEMT_146.wav is 2.0564625850340135 54 | The duration of SEMT_147.wav is 2.1423809523809525 55 | The duration of SEMT_148.wav is 2.3617006802721088 56 | The duration of SEMT_149.wav is 1.9584807256235828 57 | The duration of SEMT_15.wav is 2.160408163265306 58 | The duration of SEMT_150.wav is 2.073673469387755 59 | The duration of SEMT_151.wav is 2.1312698412698414 60 | The duration of SEMT_152.wav is 1.9008843537414966 61 | The duration of SEMT_153.wav is 1.9584807256235828 62 | The duration of SEMT_154.wav is 2.1312698412698414 63 | The duration of SEMT_155.wav is 2.131292517006803 64 | The duration of SEMT_156.wav is 2.304081632653061 65 | The duration of SEMT_157.wav is 2.2703628117913834 66 | The duration of SEMT_158.wav is 2.248049886621315 67 | The duration of SEMT_159.wav is 2.043673469387755 68 | The duration of SEMT_16.wav is 2.473514739229025 69 | The duration of SEMT_160.wav is 2.196938775510204 70 | The duration of SEMT_161.wav is 2.2991383219954646 71 | The duration of SEMT_162.wav is 2.094784580498866 72 | The duration of SEMT_163.wav is 1.9925850340136055 73 | The duration of SEMT_164.wav is 2.0947619047619046 74 | The duration of SEMT_165.wav is 1.890408163265306 75 | The duration of SEMT_166.wav is 2.1969614512471654 76 | The duration of SEMT_167.wav is 2.043673469387755 77 | The duration of SEMT_168.wav is 1.839297052154195 78 | The duration of SEMT_169.wav is 2.1969614512471654 79 | The duration of SEMT_17.wav is 2.1917233560090703 80 | The duration of SEMT_170.wav is 2.043673469387755 81 | The duration of SEMT_171.wav is 2.1969614512471654 82 | The duration of SEMT_172.wav is 2.248049886621315 83 | The duration of SEMT_173.wav is 2.043673469387755 84 | The duration of SEMT_174.wav is 1.890408163265306 85 | The duration of SEMT_175.wav is 2.452403628117914 86 | The duration of SEMT_176.wav is 2.0935827664399094 87 | The duration of SEMT_177.wav is 2.043673469387755 88 | The duration of SEMT_178.wav is 2.196938775510204 89 | The duration of SEMT_179.wav is 2.094784580498866 90 | The duration of SEMT_18.wav is 2.129092970521542 91 | The duration of SEMT_180.wav is 2.1458503401360542 92 | The duration of SEMT_181.wav is 2.401337868480726 93 | The duration of SEMT_182.wav is 2.4013151927437644 94 | The duration of SEMT_183.wav is 2.6056916099773244 95 | The duration of SEMT_184.wav is 2.1458503401360542 96 | The duration of SEMT_185.wav is 2.1969614512471654 97 | The duration of SEMT_186.wav is 2.452403628117914 98 | The duration of SEMT_187.wav is 2.1458730158730157 99 | The duration of SEMT_188.wav is 2.2991383219954646 100 | The duration of SEMT_189.wav is 2.0947619047619046 101 | The duration of SEMT_19.wav is 2.0978004535147394 102 | The duration of SEMT_190.wav is 2.1458730158730157 103 | The duration of SEMT_191.wav is 2.043673469387755 104 | The duration of SEMT_192.wav is 1.9925850340136055 105 | The duration of SEMT_193.wav is 1.9925850340136055 106 | The duration of SEMT_194.wav is 1.9925850340136055 107 | The duration of SEMT_195.wav is 2.043673469387755 108 | The duration of SEMT_196.wav is 2.336689342403628 109 | The duration of SEMT_197.wav is 1.9414965986394557 110 | The duration of SEMT_198.wav is 2.3502267573696147 111 | The duration of SEMT_199.wav is 1.9925850340136055 112 | The duration of SEMT_2.wav is 2.7865986394557822 113 | The duration of SEMT_20.wav is 2.160408163265306 114 | The duration of SEMT_200.wav is 2.248049886621315 115 | The duration of SEMT_201.wav is 2.2991383219954646 116 | The duration of SEMT_202.wav is 2.3502267573696147 117 | The duration of SEMT_203.wav is 1.9925850340136055 118 | The duration of SEMT_204.wav is 2.043673469387755 119 | The duration of SEMT_205.wav is 1.9925850340136055 120 | The duration of SEMT_206.wav is 2.1458503401360542 121 | The duration of SEMT_207.wav is 1.9414965986394557 122 | The duration of SEMT_208.wav is 2.094784580498866 123 | The duration of SEMT_209.wav is 2.0947619047619046 124 | The duration of SEMT_21.wav is 2.410884353741497 125 | The duration of SEMT_210.wav is 1.8393197278911564 126 | The duration of SEMT_211.wav is 1.9414965986394557 127 | The duration of SEMT_212.wav is 2.3502267573696147 128 | The duration of SEMT_213.wav is 1.7882086167800453 129 | The duration of SEMT_214.wav is 2.1969614512471654 130 | The duration of SEMT_215.wav is 1.9925850340136055 131 | The duration of SEMT_216.wav is 2.0947619047619046 132 | The duration of SEMT_217.wav is 2.043673469387755 133 | The duration of SEMT_218.wav is 1.966689342403628 134 | The duration of SEMT_219.wav is 2.043673469387755 135 | The duration of SEMT_22.wav is 2.129092970521542 136 | The duration of SEMT_220.wav is 2.2991383219954646 137 | The duration of SEMT_221.wav is 2.1969614512471654 138 | The duration of SEMT_222.wav is 1.8903854875283446 139 | The duration of SEMT_223.wav is 2.043673469387755 140 | The duration of SEMT_224.wav is 1.890408163265306 141 | The duration of SEMT_225.wav is 1.9925850340136055 142 | The duration of SEMT_226.wav is 1.8393197278911564 143 | The duration of SEMT_227.wav is 2.2991383219954646 144 | The duration of SEMT_228.wav is 2.248049886621315 145 | The duration of SEMT_229.wav is 1.6349433106575963 146 | The duration of SEMT_23.wav is 2.410884353741497 147 | The duration of SEMT_230.wav is 2.2480272108843535 148 | The duration of SEMT_231.wav is 1.9925850340136055 149 | The duration of SEMT_232.wav is 2.0436961451247164 150 | The duration of SEMT_233.wav is 2.4013151927437644 151 | The duration of SEMT_234.wav is 2.4013151927437644 152 | The duration of SEMT_235.wav is 2.503514739229025 153 | The duration of SEMT_236.wav is 1.9414965986394557 154 | The duration of SEMT_237.wav is 1.8903854875283446 155 | The duration of SEMT_238.wav is 2.1458730158730157 156 | The duration of SEMT_239.wav is 2.1458503401360542 157 | The duration of SEMT_24.wav is 2.3169614512471655 158 | The duration of SEMT_240.wav is 2.094784580498866 159 | The duration of SEMT_241.wav is 1.9925850340136055 160 | The duration of SEMT_242.wav is 2.4134013605442175 161 | The duration of SEMT_243.wav is 1.9414965986394557 162 | The duration of SEMT_244.wav is 1.7882086167800453 163 | The duration of SEMT_245.wav is 1.8393197278911564 164 | The duration of SEMT_246.wav is 2.1458503401360542 165 | The duration of SEMT_247.wav is 1.890408163265306 166 | The duration of SEMT_248.wav is 2.0947619047619046 167 | The duration of SEMT_249.wav is 2.1969614512471654 168 | The duration of SEMT_25.wav is 2.254353741496599 169 | The duration of SEMT_250.wav is 2.0947619047619046 170 | The duration of SEMT_251.wav is 1.9414965986394557 171 | The duration of SEMT_252.wav is 2.094784580498866 172 | The duration of SEMT_253.wav is 2.196938775510204 173 | The duration of SEMT_254.wav is 2.094784580498866 174 | The duration of SEMT_255.wav is 2.2991383219954646 175 | The duration of SEMT_256.wav is 4.350521541950114 176 | The duration of SEMT_26.wav is 1.9099092970521543 177 | The duration of SEMT_27.wav is 3.0411791383219953 178 | The duration of SEMT_28.wav is 2.285646258503401 179 | The duration of SEMT_29.wav is 2.3482766439909297 180 | The duration of SEMT_3.wav is 2.6300680272108843 181 | The duration of SEMT_30.wav is 2.3795691609977325 182 | The duration of SEMT_31.wav is 2.1917233560090703 183 | The duration of SEMT_32.wav is 2.661360544217687 184 | The duration of SEMT_33.wav is 2.2856689342403627 185 | The duration of SEMT_34.wav is 2.5048072562358277 186 | The duration of SEMT_35.wav is 2.3169614512471655 187 | The duration of SEMT_36.wav is 2.7239909297052156 188 | The duration of SEMT_37.wav is 2.2543310657596374 189 | The duration of SEMT_38.wav is 2.6300680272108843 190 | The duration of SEMT_39.wav is 2.504829931972789 191 | The duration of SEMT_4.wav is 2.7239909297052156 192 | The duration of SEMT_40.wav is 2.474671201814059 193 | The duration of SEMT_41.wav is 2.567437641723356 194 | The duration of SEMT_42.wav is 2.223015873015873 195 | The duration of SEMT_43.wav is 2.5674603174603177 196 | The duration of SEMT_44.wav is 2.0038548752834466 197 | The duration of SEMT_45.wav is 2.3795691609977325 198 | The duration of SEMT_46.wav is 2.066485260770975 199 | The duration of SEMT_47.wav is 2.567437641723356 200 | The duration of SEMT_48.wav is 2.2230385487528346 201 | The duration of SEMT_49.wav is 2.129092970521542 202 | The duration of SEMT_5.wav is 2.59875283446712 203 | The duration of SEMT_50.wav is 2.7553061224489794 204 | The duration of SEMT_51.wav is 2.4936054421768707 205 | The duration of SEMT_52.wav is 2.2543310657596374 206 | The duration of SEMT_53.wav is 2.7866213151927437 207 | The duration of SEMT_54.wav is 2.6926757369614513 208 | The duration of SEMT_55.wav is 2.285646258503401 209 | The duration of SEMT_56.wav is 2.536122448979592 210 | The duration of SEMT_57.wav is 2.254353741496599 211 | The duration of SEMT_58.wav is 2.5048072562358277 212 | The duration of SEMT_59.wav is 2.278231292517007 213 | The duration of SEMT_6.wav is 2.5361451247165534 214 | The duration of SEMT_60.wav is 2.473514739229025 215 | The duration of SEMT_61.wav is 2.3795691609977325 216 | The duration of SEMT_62.wav is 2.473514739229025 217 | The duration of SEMT_63.wav is 2.223015873015873 218 | The duration of SEMT_64.wav is 2.5361451247165534 219 | The duration of SEMT_65.wav is 2.160408163265306 220 | The duration of SEMT_66.wav is 2.191700680272109 221 | The duration of SEMT_67.wav is 2.442222222222222 222 | The duration of SEMT_68.wav is 2.097052154195011 223 | The duration of SEMT_69.wav is 2.4421995464852606 224 | The duration of SEMT_7.wav is 2.316938775510204 225 | The duration of SEMT_70.wav is 2.2543310657596374 226 | The duration of SEMT_71.wav is 2.285646258503401 227 | The duration of SEMT_72.wav is 2.6300680272108843 228 | The duration of SEMT_73.wav is 2.129092970521542 229 | The duration of SEMT_74.wav is 1.9725396825396826 230 | The duration of SEMT_75.wav is 2.035170068027211 231 | The duration of SEMT_76.wav is 1.972562358276644 232 | The duration of SEMT_77.wav is 1.972562358276644 233 | The duration of SEMT_78.wav is 2.3482539682539683 234 | The duration of SEMT_79.wav is 2.1928798185941045 235 | The duration of SEMT_8.wav is 2.4109070294784583 236 | The duration of SEMT_80.wav is 2.2543310657596374 237 | The duration of SEMT_81.wav is 2.473514739229025 238 | The duration of SEMT_82.wav is 1.9725396825396826 239 | The duration of SEMT_83.wav is 2.3169614512471655 240 | The duration of SEMT_84.wav is 2.160408163265306 241 | The duration of SEMT_85.wav is 2.2230385487528346 242 | The duration of SEMT_86.wav is 2.536122448979592 243 | The duration of SEMT_87.wav is 2.3169614512471655 244 | The duration of SEMT_88.wav is 2.2543310657596374 245 | The duration of SEMT_89.wav is 1.8786167800453515 246 | The duration of SEMT_9.wav is 2.6926757369614513 247 | The duration of SEMT_90.wav is 2.4421995464852606 248 | The duration of SEMT_91.wav is 2.439433106575964 249 | The duration of SEMT_92.wav is 2.379591836734694 250 | The duration of SEMT_93.wav is 2.2543310657596374 251 | The duration of SEMT_94.wav is 2.4421995464852606 252 | The duration of SEMT_95.wav is 2.3169614512471655 253 | The duration of SEMT_96.wav is 2.1170068027210887 254 | The duration of SEMT_97.wav is 2.2543310657596374 255 | The duration of SEMT_98.wav is 1.8160090702947846 256 | The duration of SEMT_99.wav is 2.316938775510204 257 | -------------------------------------------------------------------------------- /scripts/L1/total_dur_all_file.praat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZenMule/Praat_Scripting_Tutorial/27edc04067de0ea4b134ad5b65de9eb6213ba908/scripts/L1/total_dur_all_file.praat -------------------------------------------------------------------------------- /scripts/L2/chunking.praat: -------------------------------------------------------------------------------- 1 | # 1. Cuts up large sound files in a directory into smaller chunks using an existing tier on an associated 2 | # TextGrid file. 3 | 4 | # 2. This script runs through all sound files in a directory and put the chunked files into a new sub- 5 | # directoryThe Renamed file prefix is a string that the user can define as they wish. 6 | 7 | # 3. The tier number reflects the tier containing the intervals which will be extracted. 8 | # The name of the intervals will be used for the main file name when saving the chunked files. The intervals 9 | # should only contain ascii characters. 10 | 11 | # 4. If there is already a folder with the same name in the directory, the script won't run. 12 | 13 | # 5. Copyright Miao Zhang, SUNY Buffalo, 7/8/2021. 14 | 15 | ############################################################ 16 | 17 | form Extract smaller files from large file 18 | sentence Directory_name: /yourdirectory 19 | sentence Renamed_file_prefix: prac2_ 20 | positive Tier_number: 1 21 | endform 22 | 23 | ############################################################ 24 | 25 | # Clear the info window 26 | clearinfo 27 | 28 | # Create a file list for all the recordings in the directory 29 | Create Strings as file list: "fileList", directory_name$ + "/*.wav" 30 | 31 | # Select the file list and get how many files there are in the directory 32 | select Strings fileList 33 | num_file = Get number of strings 34 | 35 | for i_file from 1 to num_file 36 | 37 | # Make sure the file list is selected before reading in sound files 38 | select Strings fileList 39 | current_file$ = Get string: i_file 40 | 41 | # Read in the sound file 42 | Read from file: directory_name$ + "/" + current_file$ 43 | sound_file = selected ("Sound") 44 | 45 | # Get the name of the sound file 46 | sound_name$ = selected$ ("Sound") 47 | 48 | # Create a subdirectory to save the chunked recordings later 49 | new_dir$ = directory_name$ + "/" + sound_name$ 50 | runSystem: "mkdir ", new_dir$ 51 | printline New directory "'new_dir$'" created. 52 | 53 | # Read the textgrid file 54 | Read from file: directory_name$ + "/" + sound_name$ + ".TextGrid" 55 | textgrid_file = selected("TextGrid") 56 | 57 | # Get the total number of intervals from the target tier 58 | select 'textgrid_file' 59 | num_intvl = Get number of intervals: tier_number 60 | printline 'num_intvl' intervals in total in tier 'tier_number'. 61 | 62 | for i from 1 to num_intvl 63 | # Make sure the textgrid file is selected before running the codes below 64 | select 'textgrid_file' 65 | 66 | # Get the label of the current interval 67 | lab$ = Get label of interval: tier_number, i 68 | 69 | # If the label is not empty, then 70 | if lab$ <> "" 71 | # Report the current progress 72 | printline Start working on interval No.'i', "'lab$'". 73 | 74 | # Get the start and end time of the current labeled interval 75 | start = Get start time of interval: tier_number, i 76 | end = Get end time of interval: tier_number, i 77 | 78 | # extract the current labeled interval 79 | select 'textgrid_file' 80 | textgrid_chunk = Extract part: start, end, "no" 81 | 82 | # extract the current labeled sound 83 | select 'sound_file' 84 | Extract part: start, end, "rectangular", 1, "no" 85 | 86 | # Save the sound file with the prefix specified in the form and the current name of the label 87 | Write to WAV file: new_dir$ + "/" + renamed_file_prefix$ + lab$ + ".wav" 88 | 89 | # Save the textgrid file in the same way 90 | select 'textgrid_chunk' 91 | Save as text file: new_dir$ + "/" + renamed_file_prefix$ + lab$ + ".TextGrid" 92 | 93 | # If the label is empty, then do nothing 94 | else 95 | #do nothing 96 | endif 97 | endfor 98 | endfor 99 | select all 100 | Remove 101 | printline Done! -------------------------------------------------------------------------------- /scripts/L3/get_duration.praat: -------------------------------------------------------------------------------- 1 | # Extraction of durations from all textgrid files in a directory. 2 | # Extracts the duration of every labelled interval on a particular tier. 3 | # Saves the duration data as a text file with the name of both the sound file and the intervals. 4 | # Copyright Miao Zhang, UB, 6/14/2021. 5 | 6 | ########################################################## 7 | 8 | form Extract durations from labeled tier 9 | sentence Directory_name: /yourdirectory 10 | sentence Log_file: _vot2 11 | positive Labeled_tier_number: 1 12 | endform 13 | 14 | ########################################################## 15 | 16 | # Create the header row 17 | fileappend 'directory_name$''log_file$'.txt label'tab$'seg'tab$'dur'newline$' 18 | 19 | ########################################################## 20 | 21 | # Create a list of all wav files in the directory 22 | Create Strings as file list: "fileList", directory_name$ + "/*.wav" 23 | 24 | # Get the number of files in the directory 25 | selectObject: "Strings fileList" 26 | num_file = Get number of strings 27 | 28 | # Loop through the directory 29 | for ifile from 1 to num_file 30 | # Read sound file 31 | selectObject: "Strings fileList" 32 | fileName$ = Get string: ifile 33 | Read from file: directory_name$ + "/" + fileName$ 34 | 35 | # Select the sound file and extract its name 36 | sound_file = selected("Sound") 37 | sound_name$ = selected$("Sound") 38 | 39 | # Read the corresponding TextGrid files using the name of the sound file 40 | Read from file: directory_name$ + "/" + sound_name$ + ".TextGrid" 41 | textGridID = selected("TextGrid") 42 | 43 | # Get labelled intervals from the specified tier 44 | num_labels = Get number of intervals: labeled_tier_number 45 | 46 | # loop through the intervals of the labeled tier 47 | for i from 1 to num_labels 48 | select 'textGridID' 49 | label$ = Get label of interval... labeled_tier_number i 50 | 51 | # skip unlabeled intervals 52 | if label$ <> "" 53 | # put the file name in the output .txt file 54 | fileappend 'directory_name$''log_file$'.txt 'sound_name$''tab$' 55 | 56 | # get duration and label 57 | intvl_start = Get starting point: labeled_tier_number, i 58 | intvl_end = Get end point: labeled_tier_number, i 59 | dur = intvl_end - intvl_start 60 | 61 | # get the name of the tier 62 | seg$ = Get label of interval: labeled_tier_number, i 63 | 64 | # put the label and duration of the interval in the output .txt file 65 | fileappend 'directory_name$''log_file$'.txt 'seg$''tab$''dur:3''newline$' 66 | 67 | else 68 | # do nothing 69 | endif 70 | endfor 71 | endfor 72 | 73 | select all 74 | Remove -------------------------------------------------------------------------------- /scripts/L4/get_pitch.praat: -------------------------------------------------------------------------------- 1 | # This script extract the total duration and F0 from equidistant intervals on a labeled tier. 2 | # The number of labeled tier and the amount of equidistant intervals can be specified using the form below. 3 | # The output will be saved to two different log files. One has the duration information and the other one F0 information. 4 | # This script does not extract F0 values from labeled tier where the token is shorter than 50ms. 5 | 6 | # Copyright@ Miao Zhang, University at Buffalo, 2021. 7 | # Please cite when you use it. 8 | 9 | form Extract Pitch data from labelled intervals 10 | sentence Directory_name: /Users/zenmule/Programming/Praat/Praat_Scripting_Tutorial/testing_data/L4 11 | sentence Log_file_t _f0t 12 | sentence Log_file_dyn _f0d 13 | positive Numintervals 5 14 | positive Labeled_tier_number 1 15 | positive Analysis_points_time_step 0.005 16 | positive Record_with_precision 1 17 | comment F0 Settings: 18 | positive F0_minimum 70 19 | positive F0_maximum 350 20 | positive Octave_jump 0.10 21 | positive Voicing_threshold 0.65 22 | positive Pitch_window_threshold 0.05 23 | endform 24 | 25 | # Create header rows for both log files 26 | fileappend 'directory_name$''log_file_t$'.txt File_name'tab$'Segment'tab$'t'tab$'t_m'tab$'F0'newline$' 27 | fileappend 'directory_name$''log_file_dyn$'.txt File_name'tab$'Segment'tab$'Dur'newline$' 28 | 29 | # Create a list of all files in the target directory 30 | Create Strings as file list: "fileList", directory_name$ + "/*.wav" 31 | selectObject: "Strings fileList" 32 | num_file = Get number of strings 33 | 34 | # Open the soundfile in Praat 35 | for ifile from 1 to num_file 36 | selectObject: "Strings fileList" 37 | fileName$ = Get string: ifile 38 | Read from file: directory_name$ + "/" + fileName$ 39 | 40 | sound_file = selected("Sound") 41 | sound_name$ = selected$("Sound") 42 | 43 | # Open the corresponding TextGrid file in Praat 44 | Read from file: directory_name$ + "/" + sound_name$ + ".TextGrid" 45 | textGridID = selected("TextGrid") 46 | 47 | # Work through all labeled intervals on the target tier specified in the form 48 | num_labels = Get number of intervals: labeled_tier_number 49 | 50 | for i_label from 1 to num_labels 51 | select 'textGridID' 52 | 53 | # Get the name of the label 54 | label$ = Get label of interval: labeled_tier_number, i_label 55 | 56 | if label$ <> "" 57 | # When the label name is not empty 58 | fileappend 'directory_name$''log_file_dyn$'.txt 'sound_name$''tab$' 59 | 60 | # Get the starting and end time point of the label, 61 | # and calculate the total duration 62 | label_start = Get start time of interval: labeled_tier_number, i_label 63 | label_end = Get end time of interval: labeled_tier_number, i_label 64 | dur = label_end - label_start 65 | 66 | # Save the duration information to its log file 67 | fileappend 'directory_name$''log_file_dyn$'.txt 'label$''tab$''dur:3''tab$''newline$' 68 | 69 | # Work on getting pitch information 70 | select 'sound_file' 71 | 72 | # Get the boundaries of the target F0 obtaining interval 73 | pstart = label_start - pitch_window_threshold 74 | pend = label_end + pitch_window_threshold 75 | 76 | # Extract the sound part from the label 77 | Extract part: pstart, pend, "rectangular", 1, "yes" 78 | intv_ID = selected("Sound") 79 | 80 | # If the label is shorter than 50ms, output NA in 't', 't_m', and 'F0' columns 81 | if dur < 0.05 82 | select 'intv_ID' 83 | fileappend NA'tab$'NA'tab$'NA'newline$' 84 | Remove 85 | else 86 | # If not, then extract the pitch object first 87 | select 'intv_ID' 88 | To Pitch (ac): 0, f0_minimum, 15, "yes", 0.03, voicing_threshold, octave_jump, 0.35, 0.14, f0_maximum 89 | pitch_ID = selected("Pitch") 90 | 91 | for i_intv from 1 to numintervals 92 | select 'pitch_ID' 93 | size = dur/numintervals 94 | 95 | # Get the middle point of the interval and output it to log file 96 | intv_start = label_start + (i_intv-1) * size 97 | intv_end = label_start + i_intv * size 98 | intv_mid = intv_start + (intv_end - intv_start)/2 - label_start 99 | 100 | # Get the mean F0 of the interval 101 | f0_intv = Get mean: intv_start, intv_end, "Hertz" 102 | 103 | if f0_intv = undefined 104 | fileappend 'directory_name$''log_file_t$'.txt 'sound_name$''tab$''label$''tab$'NA'tab$'NA'tab$'NA'newline$' 105 | else 106 | fileappend 'directory_name$''log_file_t$'.txt 'sound_name$''tab$''label$''tab$''i_intv''tab$''intv_mid:3''tab$''f0_intv:2''newline$' 107 | endif 108 | endfor 109 | 110 | select 'pitch_ID' 111 | plus 'intv_ID' 112 | Remove 113 | 114 | endif 115 | endif 116 | endfor 117 | endfor 118 | 119 | select all 120 | Remove 121 | -------------------------------------------------------------------------------- /scripts/L5/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZenMule/Praat_Scripting_Tutorial/27edc04067de0ea4b134ad5b65de9eb6213ba908/scripts/L5/.DS_Store -------------------------------------------------------------------------------- /scripts/L5/formant_extraction.praat: -------------------------------------------------------------------------------- 1 | # This is a script that aims to extract the first four formants from the target vowel. 2 | # This script only works well for monophthongs with a careful choice of reference formants 3 | # values. 4 | 5 | # Created by Miao Zhang, University at Buffalo, 2022 6 | 7 | form Extract formant values: 8 | comment Basic settings: 9 | sentence Directory_name: /Users/zenmule/Programming/Praat/Praat_Scripting_Tutorial/testing_data/L5 10 | sentence Log_file _u 11 | sentence Interval_label u 12 | positive Labeled_tier_number 1 13 | positive Number_of_chunks 10 14 | 15 | comment Formant extracing settings: 16 | positive Analysis_points_time_step 0.005 17 | positive Formant_ceiling 4000 18 | positive Number_of_formants 4 19 | positive Window_length 0.025 20 | positive Preemphasis_from 50 21 | positive Buffer_window_length 0.04 22 | 23 | comment Reference formant values: 24 | positive F1_ref 380 25 | positive F2_ref 780 26 | positive F3_ref 2500 27 | positive F4_ref 3600 28 | positive F5_ref 4660 29 | endform 30 | 31 | # Create the log file 32 | fileappend 'directory_name$''log_file$'.txt File_name'tab$'Intv_id'tab$'Seg'tab$'t'tab$'t_m'tab$'F1'tab$'F2'tab$'F3'tab$'F4'newline$' 33 | 34 | # Open sound and textgrid files 35 | Create Strings as file list: "fileList", directory_name$ + "/*.wav" 36 | selectObject: "Strings fileList" 37 | num_file = Get number of strings 38 | 39 | # Loop through all sound files 40 | for i_file from 1 to num_file 41 | selectObject: "Strings fileList" 42 | file_name$ = Get string: i_file 43 | Read from file: directory_name$ + "/" + file_name$ 44 | 45 | # Save the name of the sound file and the sound file itself to different objects 46 | sound_name$ = selected$("Sound") 47 | sound_file = selected("Sound") 48 | 49 | # Read in textgrid files 50 | Read from file: directory_name$ + "/" + sound_name$ + ".TextGrid" 51 | textGrid_file = selected("TextGrid") 52 | 53 | # Get total number of intervals on the labeled tier in a textgrid file 54 | num_labels = Get number of intervals: labeled_tier_number 55 | 56 | # Loop through all the intervals 57 | for i_label from 1 to num_labels 58 | 59 | # Make sure the textgrid file is selected before progressing 60 | select 'textGrid_file' 61 | label$ = Get label of interval: labeled_tier_number, i_label 62 | 63 | 64 | if label$ = interval_label$ 65 | # Write information in the info window 66 | writeInfoLine: "Extracting formants from..." 67 | appendInfoLine: " Sound file < 'i_file' of 'num_file'>: < 'sound_name$' >." 68 | appendInfoLine: " Interval ['i_label']: <'label$'>." 69 | 70 | # Get the starting and end time of the target interval 71 | label_start = Get starting point: labeled_tier_number, i_label 72 | label_end = Get end point: labeled_tier_number, i_label 73 | # Get the total duration of the labeled interval 74 | dur = label_end - label_start 75 | 76 | # Formant analysis 77 | # Set the starting and end time of the window of sound extraction for further formant analysis 78 | fstart = label_start - buffer_window_length 79 | fend = label_end + buffer_window_length 80 | 81 | # Extract the labeled vowel as an individual sound file 82 | select 'sound_file' 83 | Extract part: fstart, fend, "rectangular", 1, "no" 84 | extracted = selected("Sound") 85 | 86 | # Calculate the length of each formant extracting chunk 87 | chunk_length = dur/number_of_chunks 88 | 89 | # To Formant (burg) 90 | select 'extracted' 91 | To Formant (burg): analysis_points_time_step, number_of_formants, formant_ceiling, window_length, preemphasis_from 92 | formant_burg = selected("Formant") 93 | num_form = Get minimum number of formants 94 | 95 | # Get how many formants that should be tracked 96 | if num_form = 2 97 | number_tracks = 2 98 | elif num_form = 3 99 | number_tracks = 3 100 | else 101 | number_tracks = 4 102 | endif 103 | 104 | # Track the formants with the reference formant values specified in the form 105 | select 'formant_burg' 106 | Track: number_tracks, f1_ref, f2_ref, f3_ref, f4_ref, f5_ref, 1, 1, 1 107 | formant_tracked = selected("Formant") 108 | 109 | for i_chunk from 1 to number_of_chunks 110 | appendInfoLine: " chunk ['i_chunk']..." 111 | 112 | # Get the starting, middle and end time point of the current value extracting chunk 113 | chunk_start = buffer_window_length + (i_chunk - 1) * chunk_length 114 | chunk_end = buffer_window_length + i_chunk * chunk_length 115 | chunk_mid = buffer_window_length + chunk_length/2 + (i_chunk - 1) * chunk_length 116 | 117 | # Write vowel info to the log file 118 | fileappend 'directory_name$''log_file$'.txt 'file_name$''tab$''i_label''tab$''label$''tab$''i_chunk''tab$''chunk_mid:3''tab$' 119 | 120 | # Make sure the formant object is selected 121 | select 'formant_tracked' 122 | # F1 123 | f1 = Get mean: 1, chunk_start, chunk_end, "hertz" 124 | if f1 = undefined 125 | f1 = 0 126 | endif 127 | 128 | # F2 129 | f2 = Get mean: 2, chunk_start, chunk_end, "hertz" 130 | if f2 = undefined 131 | f2 = 0 132 | endif 133 | 134 | # F3 135 | f3 = Get mean: 3, chunk_start, chunk_end, "hertz" 136 | if f3 = undefined 137 | f3 = 0 138 | endif 139 | 140 | # F4 141 | f4 = Get mean: 4, chunk_start, chunk_end, "hertz" 142 | if f4 = undefined 143 | f4 = 0 144 | endif 145 | 146 | # Write the result to the log file 147 | fileappend 'directory_name$''log_file$'.txt 'f1:0''tab$''f2:0''tab$''f3:0''tab$''f4:0''newline$' 148 | endfor 149 | 150 | select 'formant_tracked' 151 | Remove 152 | select 'formant_burg' 153 | Remove 154 | select 'extracted' 155 | Remove 156 | 157 | else 158 | #do nothing 159 | endif 160 | endfor 161 | 162 | select 'sound_file' 163 | Remove 164 | select 'textGrid_file' 165 | 166 | endfor 167 | 168 | select all 169 | Remove 170 | 171 | writeInfo: "All done!" 172 | -------------------------------------------------------------------------------- /scripts/L6/formant_dynamics_seeding.praat: -------------------------------------------------------------------------------- 1 | ####################################################################### 2 | ####################################################################### 3 | 4 | # This program extracts duration, formants (F1-F4) and spectral moments 5 | # from labeled intervals on a tier. The number of labeled tier and the 6 | # amount of equidistant intervals can be specified using the form below. 7 | # The output will be saved to two different log files. One contains 8 | # durational and contextual information and the other formant related 9 | # information. 10 | 11 | # This program will extract formant values depending if the labeled 12 | # interval contains a vowel sequence or monophthong. It the labeled 13 | # interval is a vowel sequence, the script will use three sets of 14 | # reference formant values to track formants in the three tertiles from 15 | # the interval. Otherwise the script will only use one set of reference 16 | # formant values. 17 | 18 | # The user must have three files ready before running the script. 19 | # The first file is speaker log file, which must have the speaker id as the 20 | # 1st column, and the speaker's gender as the 2nd column. 21 | 22 | # The second file is the vowel reference values. The 1st column should 23 | # be different labels of vowels, which must match with the labels you used 24 | # in the TextGrid files to annotate your recordings. The 2nd column is the 25 | # gender information since the vowel formants change depending on the 26 | # gender of the speaker. The rest 9 columns are formant reference values of 27 | # F1-F3 from the initial, medial, and final tertiles of a vowel segment. 28 | 29 | # The third file is the formant ceiling and number of tracking formant file. 30 | # The 1st column is gender, the 2nd column formant ceiling value, and the 31 | # 3rd column number of formants to track. 32 | 33 | ####################################################################### 34 | 35 | # Copyright (c) 2021-2022 Miao Zhang 36 | 37 | # This program is free software: you can redistribute it and/or modify 38 | # it under the terms of the GNU General Public License as published by 39 | # the Free Software Foundation, either version 3 of the License, or 40 | # (at your option) any later version. 41 | 42 | # This program is distributed in the hope that it will be useful, 43 | # but WITHOUT ANY WARRANTY; without even the implied warranty of 44 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 45 | # GNU General Public License for more details. 46 | 47 | # You should have received a copy of the GNU General Public License 48 | # along with this program. If not, see . 49 | 50 | ####################################################################### 51 | ####################################################################### 52 | 53 | clearinfo 54 | 55 | ####################################################################### 56 | ####################################################################### 57 | 58 | form Extract Formant Values 59 | comment Basic Settings: 60 | sentence Dir_rec /Users/zenmule/Programming/Praat/Formant_extraction_seeding_method/testing_recordings/En 61 | sentence Dir_refs /Users/zenmule/Programming/Praat/Formant_extraction_seeding_method/testing_recordings/En 62 | sentence Speaker_log en_sp.csv 63 | sentence Form_ref_file en_refs.csv 64 | sentence Form_ceiling ceiling_num.csv 65 | sentence Log_file_t time 66 | sentence Log_file_c context 67 | integer Syllable_tier_number 0 68 | positive Labeled_tier_number 1 69 | positive Number_of_chunks 30 70 | comment Formant analysis setttings: 71 | positive Analysis_points_time_step 0.005 72 | #positive Record_with_precision 1 73 | positive Window_length 0.025 74 | positive Preemphasis_from 50 75 | positive Buffer_window_length 0.04 76 | positive F4_ref 3800 77 | positive F5_ref 4600 78 | endform 79 | 80 | ####################################################################### 81 | ####################################################################### 82 | 83 | fileappend 'dir_rec$''log_file_t$'.txt File_name'tab$'Speaker'tab$'Gender'tab$'Seg_num'tab$'Seg'tab$'Syll'tab$'t'tab$'t_m'tab$'F1'tab$'F2'tab$'F3'tab$'F4'tab$'COG'tab$'sdev'tab$'skew'tab$'kurt'tab$''newline$' 84 | fileappend 'dir_rec$''log_file_c$'.txt File_name'tab$'Speaker'tab$'Gender'tab$'Seg_num'tab$'Seg'tab$'Dur'tab$'Seg_prev'tab$'Seg_subs'tab$'Syll'tab$'Syll_dur'newline$' 85 | 86 | ####################################################################### 87 | 88 | 89 | # Read in the speaker log and vowel reference file 90 | table_sp = Read Table from comma-separated file: dir_refs$ + "/" + speaker_log$ 91 | table_ref = Read Table from comma-separated file: dir_refs$ + "/" + form_ref_file$ 92 | table_form = Read Table from comma-separated file: dir_refs$ + "/" + form_ceiling$ 93 | 94 | # Get all the folders in the directory 95 | Create Strings as folder list: "folderList", dir_rec$ 96 | selectObject: "Strings folderList" 97 | num_folder = Get number of strings 98 | 99 | # Loop through the folders 100 | for i_folder from 1 to num_folder 101 | selectObject: "Strings folderList" 102 | speaker_id$ = Get string: i_folder 103 | writeInfoLine: "Current speaker: < 'speaker_id$' >." 104 | 105 | # Get the gender of each speaker from speaker log file 106 | selectObject: table_sp 107 | sp_col$ = Get column label: 1 108 | gender_col$ = Get column label: 2 109 | gender_row = Search column: sp_col$, speaker_id$ 110 | gender$ = Get value: gender_row, gender_col$ 111 | 112 | appendInfoLine: "Current gender: < 'gender$' >." 113 | 114 | # Get the formant ceiling and number of formants to track 115 | selectObject: table_form 116 | gender_ceiling_col$ = Get column label: 1 117 | ceiling_col$ = Get column label: 2 118 | num_form_col$ = Get column label: 3 119 | gender_ceiling_row = Search column: gender_ceiling_col$, gender$ 120 | formant_ceiling = Get value: gender_ceiling_row, ceiling_col$ 121 | number_of_formants = Get value: gender_ceiling_row, num_form_col$ 122 | 123 | # Get all the sound files in the current folder 124 | Create Strings as file list: "fileList", dir_rec$ + "/" + speaker_id$ + "/*.wav" 125 | selectObject: "Strings fileList" 126 | num_file = Get number of strings 127 | 128 | appendInfoLine: "Number of files: < 'num_file' >." 129 | 130 | ####################################################################### 131 | 132 | # Loop through all the files 133 | for i_file from 1 to num_file 134 | selectObject: "Strings fileList" 135 | file_name$ = Get string: i_file 136 | Read from file: dir_rec$ + "/" + speaker_id$ + "/" + file_name$ 137 | 138 | sound_file = selected("Sound") 139 | sound_name$ = selected$("Sound") 140 | 141 | Read from file: dir_rec$ + "/" + speaker_id$ + "/" + sound_name$ + ".TextGrid" 142 | textgrid_file = selected("TextGrid") 143 | 144 | num_label = Get number of intervals: labeled_tier_number 145 | 146 | ####################################################################### 147 | 148 | # Loop through all the labeled intervals 149 | for i_label from 1 to num_label 150 | selectObject: textgrid_file 151 | label$ = Get label of interval: labeled_tier_number, i_label 152 | 153 | ####################################################################### 154 | 155 | if label$ <> "" 156 | appendInfoLine: "Extracting formants from..." 157 | appendInfoLine: " Sound file < 'i_file' of 'num_file'>: < 'sound_name$' > of 'speaker_id$'." 158 | appendInfoLine: " Interval ['i_label']: <'label$'>." 159 | 160 | # Get the duration of the labeled interval 161 | label_start = Get starting point: labeled_tier_number, i_label 162 | label_end = Get end point: labeled_tier_number, i_label 163 | dur = label_end - label_start 164 | 165 | # Get the label of the current segment 166 | seg$ = Get label of interval: labeled_tier_number, i_label 167 | 168 | # Get the label of the previous segment if it is labeled 169 | seg_prev$ = Get label of interval: labeled_tier_number, (i_label-1) 170 | if seg_prev$ = "" 171 | seg_prev$ = "NA" 172 | endif 173 | 174 | # Get the label of the subsequent segment if it is labeled 175 | seg_subs$ = Get label of interval: labeled_tier_number, (i_label+1) 176 | if seg_subs$ = "" 177 | seg_subs$ = "NA" 178 | endif 179 | 180 | # Get the lable of the syllable from the syllable tier if there is one 181 | if syllable_tier_number <> 0 182 | # Get the index of the current syllable that the labeled segment occurred in 183 | syll_num = Get interval at time: syllable_tier_number, (label_start + (label_end - label_start)/2) 184 | 185 | # Get the duration of the syllable 186 | syll_start = Get starting point: syllable_tier_number, syll_num 187 | syll_end = Get end point: syllable_tier_number, syll_num 188 | syll_dur = syll_end - syll_start 189 | syll$ = Get label of interval: syllable_tier_number, syll_num 190 | else 191 | # If there is no syllable tier, the label of syllable is NA, and the duration is 0 192 | syll_dur = 0 193 | syll$ = "NA" 194 | endif 195 | 196 | # Write the information obtained above to log file d 197 | fileappend 'dir_rec$''log_file_c$'.txt 'file_name$''tab$''speaker_id$''tab$''gender$''tab$''i_label''tab$''seg$''tab$''dur:3''tab$''seg_prev$''tab$''seg_subs$''tab$''syll$''tab$''syll_dur:3''newline$' 198 | 199 | ####################################################################### 200 | 201 | # Get the reference value of the labeled vowel 202 | selectObject: table_ref 203 | 204 | vowel_col$ = Get column label: 1 205 | gender_in_ref_col$ = Get column label: 2 206 | 207 | table_vowel = Extract rows where: "self$[""'gender_in_ref_col$'""]=""'gender$'"" and self$[""'vowel_col$'""]=""'label$'""" 208 | selectObject: table_vowel 209 | f1_init$ = Get column label: 3 210 | f2_init$ = Get column label: 4 211 | f3_init$ = Get column label: 5 212 | 213 | f1_med$ = Get column label: 6 214 | f2_med$ = Get column label: 7 215 | f3_med$ = Get column label: 8 216 | 217 | f1_fin$ = Get column label: 9 218 | f2_fin$ = Get column label: 10 219 | f3_fin$ = Get column label: 11 220 | 221 | f1_ref_med = Get value: 1, "'f1_med$'" 222 | f2_ref_med = Get value: 1, "'f2_med$'" 223 | f3_ref_med = Get value: 1, "'f3_med$'" 224 | 225 | # If the initial or final reference values were 0, equate them to the medial values 226 | f1_ref_init = Get value: 1, "'f1_init$'" 227 | if f1_ref_init = 0 228 | f1_ref_init = f1_ref_med 229 | endif 230 | 231 | f2_ref_init = Get value: 1, "'f2_init$'" 232 | if f2_ref_init = 0 233 | f2_ref_init = f2_ref_med 234 | endif 235 | 236 | f3_ref_init = Get value: 1, "'f3_init$'" 237 | if f3_ref_init = 0 238 | f3_ref_init = f3_ref_med 239 | endif 240 | 241 | 242 | f1_ref_fin = Get value: 1, "'f1_fin$'" 243 | if f1_ref_fin = 0 244 | f1_ref_fin = f1_ref_med 245 | endif 246 | f2_ref_fin = Get value: 1, "'f2_fin$'" 247 | if f2_ref_fin = 0 248 | f2_ref_fin = f2_ref_med 249 | endif 250 | f3_ref_fin = Get value: 1, "'f3_fin$'" 251 | if f3_ref_fin = 0 252 | f3_ref_fin = f3_ref_med 253 | endif 254 | 255 | appendInfoLine: " Initial tertile F1: 'f1_ref_init', F2: 'f2_ref_init', and F3: 'f3_ref_init'." 256 | appendInfoLine: " Medial tertile F1: 'f1_ref_med', F2: 'f2_ref_med', and F3: 'f3_ref_med'." 257 | appendInfoLine: " Final tertile F1: 'f1_ref_fin', F2: 'f2_ref_fin', and F3: 'f3_ref_fin'." 258 | 259 | ####################################################################### 260 | 261 | ## Formant analysis and spectral analysis 262 | # Extract the formant object first 263 | fstart = label_start - buffer_window_length 264 | fend = label_end + buffer_window_length 265 | selectObject: sound_file 266 | Extract part: fstart, fend, "rectangular", 1, "no" 267 | extracted = selected("Sound") 268 | 269 | # Get the duration of each equidistant interval of a labeled segment 270 | chunk_length = dur/number_of_chunks 271 | 272 | selectObject: extracted 273 | To Formant (burg): analysis_points_time_step, number_of_formants, formant_ceiling, window_length, preemphasis_from 274 | formant_burg = selected("Formant") 275 | num_form = Get minimum number of formants 276 | 277 | # Set how many formants the script should track 278 | if num_form = 2 279 | number_tracks = 2 280 | elif num_form = 3 281 | number_tracks = 3 282 | else 283 | number_tracks = 4 284 | endif 285 | 286 | for i_chunk from 1 to number_of_chunks 287 | if i_chunk <= number_of_chunks/3 288 | # Track the formants 289 | selectObject: formant_burg 290 | Track: number_tracks, 'f1_ref_init', 'f2_ref_init', 'f3_ref_init', 'f4_ref', 'f5_ref', 1, 1, 1 291 | formant_tracked = selected("Formant") 292 | 293 | # Get the start, end, and middle point of the interval 294 | chunk_start = buffer_window_length + (i_chunk - 1) * chunk_length 295 | chunk_end = buffer_window_length + i_chunk * chunk_length 296 | chunk_mid = buffer_window_length + chunk_length/2 + (i_chunk - 1) * chunk_length 297 | 298 | # Write to the log file t 299 | fileappend 'dir_rec$''log_file_t$'.txt 'file_name$''tab$''speaker_id$''tab$''gender$''tab$''i_label''tab$''seg$''tab$''syll$''tab$''i_chunk''tab$''chunk_mid:3''tab$' 300 | 301 | selectObject: formant_tracked 302 | # F1 303 | f1 = Get mean: 1, chunk_start, chunk_end, "hertz" 304 | if f1 = undefined 305 | f1 = 0 306 | endif 307 | 308 | # F2 309 | f2 = Get mean: 2, chunk_start, chunk_end, "hertz" 310 | if f2 = undefined 311 | f2 = 0 312 | endif 313 | 314 | # F3 315 | f3 = Get mean: 3, chunk_start, chunk_end, "hertz" 316 | if f3 = undefined 317 | f3 = 0 318 | endif 319 | 320 | # F4 321 | f4 = Get mean: 4, chunk_start, chunk_end, "hertz" 322 | if f4 = undefined 323 | f4 = 0 324 | endif 325 | 326 | # Write the formant values to the log file t 327 | fileappend 'dir_rec$''log_file_t$'.txt 'f1:0''tab$''f2:0''tab$''f3:0''tab$''f4:0''tab$' 328 | 329 | elif i_chunk <= 2*number_of_chunks/3 330 | # Track the formants 331 | selectObject: formant_burg 332 | Track: number_tracks, 'f1_ref_med', 'f2_ref_med', 'f3_ref_med', 'f4_ref', 'f5_ref', 1, 1, 1 333 | formant_tracked = selected("Formant") 334 | 335 | # Get the start, end, and middle point of the interval 336 | chunk_start = buffer_window_length + (i_chunk - 1) * chunk_length 337 | chunk_end = buffer_window_length + i_chunk * chunk_length 338 | chunk_mid = buffer_window_length + chunk_length/2 + (i_chunk - 1) * chunk_length 339 | 340 | # Write to the log file t 341 | fileappend 'dir_rec$''log_file_t$'.txt 'file_name$''tab$''speaker_id$''tab$''gender$''tab$''i_label''tab$''seg$''tab$''syll$''tab$''i_chunk''tab$''chunk_mid:3''tab$' 342 | 343 | selectObject: formant_tracked 344 | # F1 345 | f1 = Get mean: 1, chunk_start, chunk_end, "hertz" 346 | if f1 = undefined 347 | f1 = 0 348 | endif 349 | 350 | # F2 351 | f2 = Get mean: 2, chunk_start, chunk_end, "hertz" 352 | if f2 = undefined 353 | f2 = 0 354 | endif 355 | 356 | # F3 357 | f3 = Get mean: 3, chunk_start, chunk_end, "hertz" 358 | if f3 = undefined 359 | f3 = 0 360 | endif 361 | 362 | # F4 363 | f4 = Get mean: 4, chunk_start, chunk_end, "hertz" 364 | if f4 = undefined 365 | f4 = 0 366 | endif 367 | 368 | # Write the formant values to the log file t 369 | fileappend 'dir_rec$''log_file_t$'.txt 'f1:0''tab$''f2:0''tab$''f3:0''tab$''f4:0''tab$' 370 | 371 | else 372 | # Track the formants 373 | selectObject: formant_burg 374 | Track: number_tracks, 'f1_ref_fin', 'f2_ref_fin', 'f3_ref_fin', 'f4_ref', 'f5_ref', 1, 1, 1 375 | formant_tracked = selected("Formant") 376 | 377 | # Get the start, end, and middle point of the interval 378 | chunk_start = buffer_window_length + (i_chunk - 1) * chunk_length 379 | chunk_end = buffer_window_length + i_chunk * chunk_length 380 | chunk_mid = buffer_window_length + chunk_length/2 + (i_chunk - 1) * chunk_length 381 | 382 | # Write to the log file t 383 | fileappend 'dir_rec$''log_file_t$'.txt 'file_name$''tab$''speaker_id$''tab$''gender$''tab$''i_label''tab$''seg$''tab$''syll$''tab$''i_chunk''tab$''chunk_mid:3''tab$' 384 | 385 | selectObject: formant_tracked 386 | # F1 387 | f1 = Get mean: 1, chunk_start, chunk_end, "hertz" 388 | if f1 = undefined 389 | f1 = 0 390 | endif 391 | 392 | # F2 393 | f2 = Get mean: 2, chunk_start, chunk_end, "hertz" 394 | if f2 = undefined 395 | f2 = 0 396 | endif 397 | 398 | # F3 399 | f3 = Get mean: 3, chunk_start, chunk_end, "hertz" 400 | if f3 = undefined 401 | f3 = 0 402 | endif 403 | 404 | # F4 405 | f4 = Get mean: 4, chunk_start, chunk_end, "hertz" 406 | if f4 = undefined 407 | f4 = 0 408 | endif 409 | 410 | # Write the formant values to the log file t 411 | fileappend 'dir_rec$''log_file_t$'.txt 'f1:0''tab$''f2:0''tab$''f3:0''tab$''f4:0''tab$' 412 | endif 413 | 414 | # Remove tracked formant object 415 | selectObject: formant_tracked 416 | Remove 417 | 418 | ####################################################################### 419 | 420 | #Getting spectral moments 421 | selectObject: sound_file 422 | Extract part: (i_chunk - 1) * chunk_length, i_chunk * chunk_length, "rectangular", 1, "no" 423 | chunk_part = selected("Sound") 424 | spect_part = To Spectrum: "yes" 425 | grav = Get centre of gravity: 2 426 | sdev = Get standard deviation: 2 427 | skew = Get skewness: 2 428 | kurt = Get kurtosis: 2 429 | 430 | # Write to the log file 431 | fileappend 'dir_rec$''log_file_t$'.txt 'grav:0''tab$''sdev:0''tab$''skew:0''tab$''kurt:0''newline$' 432 | 433 | selectObject: chunk_part 434 | plusObject: spect_part 435 | Remove 436 | endfor 437 | endif 438 | endfor 439 | endfor 440 | selectObject: "Strings fileList" 441 | Remove 442 | endfor 443 | select all 444 | Remove 445 | 446 | writeInfoLine: "All done!" 447 | 448 | ################################################################################# 449 | -------------------------------------------------------------------------------- /scripts/L6/read_csv.praat: -------------------------------------------------------------------------------- 1 | clearinfo 2 | 3 | form Extract Formant Values 4 | comment Basic Settings 5 | sentence dir_rec /Users/zenmule/Programming/Praat/Praat_Scripting_Tutorial/testing_data/L6 6 | sentence dir_ref /Users/zenmule/Programming/Praat/Praat_Scripting_Tutorial/testing_data/L6 7 | sentence dir_sp_log /Users/zenmule/Programming/Praat/Praat_Scripting_Tutorial/testing_data/L6 8 | sentence speaker_log sp_log.csv 9 | sentence form_ref_file chn_formants_ref.csv 10 | positive labeled_tier 1 11 | positive number_of_chunks 30 12 | comment Formant setttings 13 | 14 | endform 15 | 16 | # Get all the folders in the directory 17 | Create Strings as folder list: "folderList", dir_rec$ 18 | selectObject: "Strings folderList" 19 | 20 | num_folder = Get number of strings 21 | for i_folder from 1 to num_folder 22 | speaker_id$ = Get string: 1 23 | writeInfoLine: "The currrent speaker ID is 'speaker_id$'." 24 | 25 | # Get the gender of each speaker from speaker log file 26 | table_sp = Read Table from comma-separated file: dir_sp_log$ + "/" + speaker_log$ 27 | selectObject: table_sp 28 | 29 | sp_col$ = Get column label: 1 30 | gender_col$ = Get column label: 2 31 | gender_row = Search column: sp_col$, speaker_id$ 32 | gender$ = Get value: gender_row, gender_col$ 33 | 34 | appendInfoLine: "The gender of the current participant is 'gender$'." 35 | 36 | Create Strings as file list: "fileList", dir_rec$ + "/" + speaker_id$ + "*.wav" 37 | selectObject: "Strings fileList" 38 | num_file = Get number of strings 39 | 40 | for i_file from 1 to num_file 41 | file_name$ = Get string: i_file 42 | Read from file: dir_rec$ + "/" + speaker_id$ + "/" + file_name$ 43 | 44 | sound_file = selected("Sound") 45 | sound_name$ = selected$("Sound") 46 | 47 | Read from file: dir_rec$ + "/" + speaker_id$ + "/" + sound_name$ + ".TextGrid" 48 | textgrid_file = selected("TextGrid") 49 | 50 | num_label = Get number of intervals: labeled_tier 51 | 52 | for i_label from 1 to num_label 53 | label$ = Get label of interval: labeled_tier, i_label 54 | 55 | if label$ <> "" 56 | appendInfoLine: "Extracting formants from..." 57 | appendInfoLine: " Sound file < 'i_file' of 'num_file'>: < 'sound_name$' > of 'speaker_id$'." 58 | appendInfoLine: " Interval ['i_label']: <'label$'>." 59 | 60 | # Get the reference value of the labeled vowel 61 | table_ref = Read Table from comma-separated file: dir_ref$ + "/" + form_ref_file$ 62 | selectObject: table_ref 63 | 64 | table_vowel = Extract rows where: "self$[""Gender""]=""'gender$'"" and self$[""Vowel""]=""'vowel$'""" 65 | selectObject: table_vowel 66 | 67 | f1_ref_med = Get value: 1, "F1_ref_med" 68 | f2_ref_med = Get value: 1, "F2_ref_med" 69 | f3_ref_med = Get value: 1, "F3_ref_med" 70 | 71 | f1_ref_init = Get value: 1, "F1_ref_init" 72 | if f1_ref_init = 0 73 | f1_ref_init = f1_ref_med 74 | endif 75 | f2_ref_init = Get value: 1, "F2_ref_init" 76 | if f2_ref_init = 0 77 | f2_ref_init = f2_ref_med 78 | endif 79 | f3_ref_init = Get value: 1, "F3_ref_init" 80 | if f3_ref_init = 0 81 | f3_ref_init = f3_ref_med 82 | endif 83 | 84 | 85 | f1_ref_fin = Get value: 1, "F1_ref_fin" 86 | if f1_ref_fin = 0 87 | f1_ref_fin = f1_ref_med 88 | endif 89 | f2_ref_fin = Get value: 1, "F2_ref_fin" 90 | if f1_ref_fin = 0 91 | f1_ref_fin = f1_ref_med 92 | endif 93 | f3_ref_fin = Get value: 1, "F3_ref_fin" 94 | if f1_ref_fin = 0 95 | f1_ref_fin = f1_ref_med 96 | endif 97 | 98 | appendInfoLine: " Initial tertile F1: 'f1_ref_init', F2: 'f2_ref_init', and F3: 'f3_ref_init'." 99 | appendInfoLine: " Medial tertile F1: 'f1_ref_med', F2: 'f2_ref_med', and F3: 'f3_ref_med'." 100 | appendInfoLine: " Final tertile F1: 'f1_ref_fin', F2: 'f2_ref_fin', and F3: 'f3_ref_fin'." 101 | 102 | endif 103 | 104 | 105 | 106 | endfor 107 | 108 | 109 | endfor 110 | 111 | 112 | 113 | 114 | 115 | 116 | selectObject: "Strings fileList" 117 | Remove 118 | endfor 119 | 120 | select all 121 | Remove 122 | 123 | 124 | 125 | 126 | 127 | 128 | ################################################################################# 129 | 130 | 131 | 132 | 133 | table_ref = Read Table from comma-separated file: dir_ref$ + "/" + form_ref_file$ 134 | selectObject: table_ref 135 | 136 | table_vowel = Extract rows where: "self$[""Gender""]=""'gender$'"" and self$[""Vowel""]=""'vowel$'""" 137 | selectObject: table_vowel 138 | List: "yes" 139 | 140 | f1_ref_init = Get value: 1, "F1_ref_init" 141 | f2_ref_init = Get value: 1, "F2_ref_init" 142 | f3_ref_init = Get value: 1, "F3_ref_init" 143 | 144 | f1_ref_med = Get value: 1, "F1_ref_med" 145 | f2_ref_med = Get value: 1, "F2_ref_med" 146 | f3_ref_med = Get value: 1, "F3_ref_med" 147 | 148 | f1_ref_fin = Get value: 1, "F1_ref_fin" 149 | f2_ref_fin = Get value: 1, "F2_ref_fin" 150 | f3_ref_fin = Get value: 1, "F3_ref_fin" 151 | 152 | appendInfoLine: "Initial tertile F1: 'f1_ref_init', F2: 'f2_ref_init', and F3: 'f3_ref_init'." 153 | appendInfoLine: "Medial tertile F1: 'f1_ref_med', F2: 'f2_ref_med', and F3: 'f3_ref_med'." 154 | appendInfoLine: "Final tertile F1: 'f1_ref_fin', F2: 'f2_ref_fin', and F3: 'f3_ref_fin'." 155 | -------------------------------------------------------------------------------- /testing_data/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZenMule/Praat_Scripting_Tutorial/27edc04067de0ea4b134ad5b65de9eb6213ba908/testing_data/.DS_Store -------------------------------------------------------------------------------- /testing_data/L1/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZenMule/Praat_Scripting_Tutorial/27edc04067de0ea4b134ad5b65de9eb6213ba908/testing_data/L1/.DS_Store -------------------------------------------------------------------------------- /testing_data/L1/SEMT_1.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZenMule/Praat_Scripting_Tutorial/27edc04067de0ea4b134ad5b65de9eb6213ba908/testing_data/L1/SEMT_1.wav -------------------------------------------------------------------------------- /testing_data/L1/SEMT_10.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZenMule/Praat_Scripting_Tutorial/27edc04067de0ea4b134ad5b65de9eb6213ba908/testing_data/L1/SEMT_10.wav -------------------------------------------------------------------------------- /testing_data/L1/SEMT_2.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZenMule/Praat_Scripting_Tutorial/27edc04067de0ea4b134ad5b65de9eb6213ba908/testing_data/L1/SEMT_2.wav -------------------------------------------------------------------------------- /testing_data/L1/SEMT_3.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZenMule/Praat_Scripting_Tutorial/27edc04067de0ea4b134ad5b65de9eb6213ba908/testing_data/L1/SEMT_3.wav -------------------------------------------------------------------------------- /testing_data/L1/SEMT_4.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZenMule/Praat_Scripting_Tutorial/27edc04067de0ea4b134ad5b65de9eb6213ba908/testing_data/L1/SEMT_4.wav -------------------------------------------------------------------------------- /testing_data/L1/SEMT_5.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZenMule/Praat_Scripting_Tutorial/27edc04067de0ea4b134ad5b65de9eb6213ba908/testing_data/L1/SEMT_5.wav -------------------------------------------------------------------------------- /testing_data/L1/SEMT_6.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZenMule/Praat_Scripting_Tutorial/27edc04067de0ea4b134ad5b65de9eb6213ba908/testing_data/L1/SEMT_6.wav -------------------------------------------------------------------------------- /testing_data/L1/SEMT_7.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZenMule/Praat_Scripting_Tutorial/27edc04067de0ea4b134ad5b65de9eb6213ba908/testing_data/L1/SEMT_7.wav -------------------------------------------------------------------------------- /testing_data/L1/SEMT_8.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZenMule/Praat_Scripting_Tutorial/27edc04067de0ea4b134ad5b65de9eb6213ba908/testing_data/L1/SEMT_8.wav -------------------------------------------------------------------------------- /testing_data/L1/SEMT_9.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZenMule/Praat_Scripting_Tutorial/27edc04067de0ea4b134ad5b65de9eb6213ba908/testing_data/L1/SEMT_9.wav -------------------------------------------------------------------------------- /testing_data/L2/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZenMule/Praat_Scripting_Tutorial/27edc04067de0ea4b134ad5b65de9eb6213ba908/testing_data/L2/.DS_Store -------------------------------------------------------------------------------- /testing_data/L2/alveolar.TextGrid: -------------------------------------------------------------------------------- 1 | File type = "ooTextFile" 2 | Object class = "TextGrid" 3 | 4 | xmin = 0 5 | xmax = 12.910294784580499 6 | tiers? 7 | size = 1 8 | item []: 9 | item [1]: 10 | class = "IntervalTier" 11 | name = "syll" 12 | xmin = 0 13 | xmax = 12.910294784580499 14 | intervals: size = 17 15 | intervals [1]: 16 | xmin = 0 17 | xmax = 0.6304917316282609 18 | text = "" 19 | intervals [2]: 20 | xmin = 0.6304917316282609 21 | xmax = 1.4078746264761808 22 | text = "ta1" 23 | intervals [3]: 24 | xmin = 1.4078746264761808 25 | xmax = 2.219553825508568 26 | text = "ta2" 27 | intervals [4]: 28 | xmin = 2.219553825508568 29 | xmax = 2.9283441119875535 30 | text = "ta3" 31 | intervals [5]: 32 | xmin = 2.9283441119875535 33 | xmax = 3.6599986012561843 34 | text = "" 35 | intervals [6]: 36 | xmin = 3.6599986012561843 37 | xmax = 4.425949394709281 38 | text = "ti1" 39 | intervals [7]: 40 | xmin = 4.425949394709281 41 | xmax = 5.2719248979261355 42 | text = "ti2" 43 | intervals [8]: 44 | xmin = 5.2719248979261355 45 | xmax = 6.049307792774055 46 | text = "ti3" 47 | intervals [9]: 48 | xmin = 6.049307792774055 49 | xmax = 6.860986991806442 50 | text = "" 51 | intervals [10]: 52 | xmin = 6.860986991806442 53 | xmax = 7.661234089444006 54 | text = "tha1" 55 | intervals [11]: 56 | xmin = 7.661234089444006 57 | xmax = 8.484345389871216 58 | text = "tha2" 59 | intervals [12]: 60 | xmin = 8.484345389871216 61 | xmax = 9.318888791693247 62 | text = "tha3" 63 | intervals [13]: 64 | xmin = 9.318888791693247 65 | xmax = 10.01624697677741 66 | text = "" 67 | intervals [14]: 68 | xmin = 10.01624697677741 69 | xmax = 10.736469364651219 70 | text = "thi1" 71 | intervals [15]: 72 | xmin = 10.736469364651219 73 | xmax = 11.468123853919849 74 | text = "thi2" 75 | intervals [16]: 76 | xmin = 11.468123853919849 77 | xmax = 12.24550674876777 78 | text = "thi3" 79 | intervals [17]: 80 | xmin = 12.24550674876777 81 | xmax = 12.910294784580499 82 | text = "" 83 | -------------------------------------------------------------------------------- /testing_data/L2/alveolar.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZenMule/Praat_Scripting_Tutorial/27edc04067de0ea4b134ad5b65de9eb6213ba908/testing_data/L2/alveolar.wav -------------------------------------------------------------------------------- /testing_data/L2/alveolopalatal.TextGrid: -------------------------------------------------------------------------------- 1 | File type = "ooTextFile" 2 | Object class = "TextGrid" 3 | 4 | xmin = 0 5 | xmax = 14.428299319727891 6 | tiers? 7 | size = 1 8 | item []: 9 | item [1]: 10 | class = "IntervalTier" 11 | name = "syll" 12 | xmin = 0 13 | xmax = 14.428299319727891 14 | intervals: size = 17 15 | intervals [1]: 16 | xmin = 0 17 | xmax = 1.4200982589498996 18 | text = "" 19 | intervals [2]: 20 | xmin = 1.4200982589498996 21 | xmax = 2.4166495473099783 22 | text = "ts\a1" 23 | intervals [3]: 24 | xmin = 2.4166495473099783 25 | xmax = 3.2598852528454296 26 | text = "ts\a2" 27 | intervals [4]: 28 | xmin = 3.2598852528454296 29 | xmax = 4.077568361243443 30 | text = "ts\a3" 31 | intervals [5]: 32 | xmin = 4.077568361243443 33 | xmax = 4.690830692541953 34 | text = "" 35 | intervals [6]: 36 | xmin = 4.690830692541953 37 | xmax = 5.508513800939966 38 | text = "ts\i1" 39 | intervals [7]: 40 | xmin = 5.508513800939966 41 | xmax = 6.300644312200541 42 | text = "ts\i2" 43 | intervals [8]: 44 | xmin = 6.300644312200541 45 | xmax = 7.092774823461116 46 | text = "ts\i3" 47 | intervals [9]: 48 | xmin = 7.092774823461116 49 | xmax = 7.936010528996567 50 | text = "" 51 | intervals [10]: 52 | xmin = 7.936010528996567 53 | xmax = 8.86868032451305 54 | text = "ts\ha1" 55 | intervals [11]: 56 | xmin = 8.86868032451305 57 | xmax = 9.62248194006747 58 | text = "ts\ha2" 59 | intervals [12]: 60 | xmin = 9.62248194006747 61 | xmax = 10.427388749896764 62 | text = "ts\ha3" 63 | intervals [13]: 64 | xmin = 10.427388749896764 65 | xmax = 11.308953351138372 66 | text = "" 67 | intervals [14]: 68 | xmin = 11.308953351138372 69 | xmax = 12.164965355242542 70 | text = "ts\hi1" 71 | intervals [15]: 72 | xmin = 12.164965355242542 73 | xmax = 12.982648463640555 74 | text = "ts\hi2" 75 | intervals [16]: 76 | xmin = 12.982648463640555 77 | xmax = 13.91531825915704 78 | text = "ts\hi3" 79 | intervals [17]: 80 | xmin = 13.91531825915704 81 | xmax = 14.428299319727891 82 | text = "" 83 | -------------------------------------------------------------------------------- /testing_data/L2/alveolopalatal.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZenMule/Praat_Scripting_Tutorial/27edc04067de0ea4b134ad5b65de9eb6213ba908/testing_data/L2/alveolopalatal.wav -------------------------------------------------------------------------------- /testing_data/L2/labial.TextGrid: -------------------------------------------------------------------------------- 1 | File type = "ooTextFile" 2 | Object class = "TextGrid" 3 | 4 | xmin = 0 5 | xmax = 13.26875283446712 6 | tiers? 7 | size = 1 8 | item []: 9 | item [1]: 10 | class = "IntervalTier" 11 | name = "syll" 12 | xmin = 0 13 | xmax = 13.26875283446712 14 | intervals: size = 17 15 | intervals [1]: 16 | xmin = 0 17 | xmax = 0.6832460669329781 18 | text = "" 19 | intervals [2]: 20 | xmin = 0.6832460669329781 21 | xmax = 1.4587141876039325 22 | text = "pa1" 23 | intervals [3]: 24 | xmin = 1.4587141876039325 25 | xmax = 2.3281784441137905 26 | text = "pa2" 27 | intervals [4]: 28 | xmin = 2.3281784441137905 29 | xmax = 3.150644632704197 30 | text = "pa3" 31 | intervals [5]: 32 | xmin = 3.150644632704197 33 | xmax = 3.785118549616796 34 | text = "" 35 | intervals [6]: 36 | xmin = 3.785118549616796 37 | xmax = 4.56058667028775 38 | text = "pi1" 39 | intervals [7]: 40 | xmin = 4.56058667028775 41 | xmax = 5.347804307938568 42 | text = "pi2" 43 | intervals [8]: 44 | xmin = 5.347804307938568 45 | xmax = 6.170270496528973 46 | text = "pi3" 47 | intervals [9]: 48 | xmin = 6.170270496528973 49 | xmax = 7.145480405857597 50 | text = "" 51 | intervals [10]: 52 | xmin = 7.145480405857597 53 | xmax = 7.956197077468141 54 | text = "pha1" 55 | intervals [11]: 56 | xmin = 7.956197077468141 57 | xmax = 8.708166164179369 58 | text = "pha2" 59 | intervals [12]: 60 | xmin = 8.708166164179369 61 | xmax = 9.636378005588542 62 | text = "pha3" 63 | intervals [13]: 64 | xmin = 9.636378005588542 65 | xmax = 10.45884419417895 66 | text = "" 67 | intervals [14]: 68 | xmin = 10.45884419417895 69 | xmax = 11.22256279787004 70 | text = "phi1" 71 | intervals [15]: 72 | xmin = 11.22256279787004 73 | xmax = 11.962782367601406 74 | text = "phi2" 75 | intervals [16]: 76 | xmin = 11.962782367601406 77 | xmax = 12.761749522232087 78 | text = "phi3" 79 | intervals [17]: 80 | xmin = 12.761749522232087 81 | xmax = 13.26875283446712 82 | text = "" 83 | -------------------------------------------------------------------------------- /testing_data/L2/labial.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZenMule/Praat_Scripting_Tutorial/27edc04067de0ea4b134ad5b65de9eb6213ba908/testing_data/L2/labial.wav -------------------------------------------------------------------------------- /testing_data/L3/ut_init.TextGrid: -------------------------------------------------------------------------------- 1 | File type = "ooTextFile" 2 | Object class = "TextGrid" 3 | 4 | xmin = 0 5 | xmax = 44.09904761904762 6 | tiers? 7 | size = 1 8 | item []: 9 | item [1]: 10 | class = "IntervalTier" 11 | name = "vot" 12 | xmin = 0 13 | xmax = 44.09904761904762 14 | intervals: size = 37 15 | intervals [1]: 16 | xmin = 0 17 | xmax = 0.8157489010116915 18 | text = "" 19 | intervals [2]: 20 | xmin = 0.8157489010116915 21 | xmax = 0.8809419213042295 22 | text = "ph" 23 | intervals [3]: 24 | xmin = 0.8809419213042295 25 | xmax = 3.1690618855573507 26 | text = "" 27 | intervals [4]: 28 | xmin = 3.1690618855573507 29 | xmax = 3.1934583818337545 30 | text = "k" 31 | intervals [5]: 32 | xmin = 3.1934583818337545 33 | xmax = 5.591099118834685 34 | text = "" 35 | intervals [6]: 36 | xmin = 5.591099118834685 37 | xmax = 5.670172317797712 38 | text = "th" 39 | intervals [7]: 40 | xmin = 5.670172317797712 41 | xmax = 7.927099572498296 42 | text = "" 43 | intervals [8]: 44 | xmin = 7.927099572498296 45 | xmax = 7.942747174924215 46 | text = "p" 47 | intervals [9]: 48 | xmin = 7.942747174924215 49 | xmax = 10.084706888872011 50 | text = "" 51 | intervals [10]: 52 | xmin = 10.084706888872011 53 | xmax = 10.174342649018703 54 | text = "kh" 55 | intervals [11]: 56 | xmin = 10.174342649018703 57 | xmax = 12.437162303205891 58 | text = "" 59 | intervals [12]: 60 | xmin = 12.437162303205891 61 | xmax = 12.458560426757657 62 | text = "t" 63 | intervals [13]: 64 | xmin = 12.458560426757657 65 | xmax = 15.099914701693281 66 | text = "" 67 | intervals [14]: 68 | xmin = 15.099914701693281 69 | xmax = 15.164241738774718 70 | text = "ph" 71 | intervals [15]: 72 | xmin = 15.164241738774718 73 | xmax = 17.37286432178625 74 | text = "" 75 | intervals [16]: 76 | xmin = 17.37286432178625 77 | xmax = 17.40382201456144 78 | text = "k" 79 | intervals [17]: 80 | xmin = 17.40382201456144 81 | xmax = 19.686745017098264 82 | text = "" 83 | intervals [18]: 84 | xmin = 19.686745017098264 85 | xmax = 19.775378128822954 86 | text = "th" 87 | intervals [19]: 88 | xmin = 19.775378128822954 89 | xmax = 22.064361472926052 90 | text = "" 91 | intervals [20]: 92 | xmin = 22.064361472926052 93 | xmax = 22.082383659647757 94 | text = "p" 95 | intervals [21]: 96 | xmin = 22.082383659647757 97 | xmax = 24.410593845018834 98 | text = "" 99 | intervals [22]: 100 | xmin = 24.410593845018834 101 | xmax = 24.493298156603597 102 | text = "kh" 103 | intervals [23]: 104 | xmin = 24.493298156603597 105 | xmax = 26.860882543784584 106 | text = "" 107 | intervals [24]: 108 | xmin = 26.860882543784584 109 | xmax = 26.87783565509967 110 | text = "t" 111 | intervals [25]: 112 | xmin = 26.87783565509967 113 | xmax = 29.980625488891935 114 | text = "" 115 | intervals [26]: 116 | xmin = 29.980625488891935 117 | xmax = 30.032259011949535 118 | text = "ph" 119 | intervals [27]: 120 | xmin = 30.032259011949535 121 | xmax = 32.66946390993264 122 | text = "" 123 | intervals [28]: 124 | xmin = 32.66946390993264 125 | xmax = 32.69622233781076 126 | text = "k" 127 | intervals [29]: 128 | xmin = 32.69622233781076 129 | xmax = 35.08092166983891 130 | text = "" 131 | intervals [30]: 132 | xmin = 35.08092166983891 133 | xmax = 35.16486135796142 134 | text = "th" 135 | intervals [31]: 136 | xmin = 35.16486135796142 137 | xmax = 37.47172411703626 138 | text = "" 139 | intervals [32]: 140 | xmin = 37.47172411703626 141 | xmax = 37.47522811451373 142 | text = "p" 143 | intervals [33]: 144 | xmin = 37.47522811451373 145 | xmax = 39.804899742795044 146 | text = "" 147 | intervals [34]: 148 | xmin = 39.804899742795044 149 | xmax = 39.90660770381511 150 | text = "kh" 151 | intervals [35]: 152 | xmin = 39.90660770381511 153 | xmax = 42.11074060769408 154 | text = "" 155 | intervals [36]: 156 | xmin = 42.11074060769408 157 | xmax = 42.124752969481875 158 | text = "t" 159 | intervals [37]: 160 | xmin = 42.124752969481875 161 | xmax = 44.09904761904762 162 | text = "" 163 | -------------------------------------------------------------------------------- /testing_data/L3/ut_init.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZenMule/Praat_Scripting_Tutorial/27edc04067de0ea4b134ad5b65de9eb6213ba908/testing_data/L3/ut_init.wav -------------------------------------------------------------------------------- /testing_data/L3/ut_med.TextGrid: -------------------------------------------------------------------------------- 1 | File type = "ooTextFile" 2 | Object class = "TextGrid" 3 | 4 | xmin = 0 5 | xmax = 44.683900226757366 6 | tiers? 7 | size = 1 8 | item []: 9 | item [1]: 10 | class = "IntervalTier" 11 | name = "vot" 12 | xmin = 0 13 | xmax = 44.683900226757366 14 | intervals: size = 37 15 | intervals [1]: 16 | xmin = 0 17 | xmax = 1.7969881762228703 18 | text = "" 19 | intervals [2]: 20 | xmin = 1.7969881762228703 21 | xmax = 1.877618291761149 22 | text = "ph" 23 | intervals [3]: 24 | xmin = 1.877618291761149 25 | xmax = 4.121082481836418 26 | text = "" 27 | intervals [4]: 28 | xmin = 4.121082481836418 29 | xmax = 4.147140677607069 30 | text = "k" 31 | intervals [5]: 32 | xmin = 4.147140677607069 33 | xmax = 6.37373502619674 34 | text = "" 35 | intervals [6]: 36 | xmin = 6.37373502619674 37 | xmax = 6.465025014513647 38 | text = "th" 39 | intervals [7]: 40 | xmin = 6.465025014513647 41 | xmax = 8.809738607303489 42 | text = "" 43 | intervals [8]: 44 | xmin = 8.809738607303489 45 | xmax = 8.819119863524701 46 | text = "t" 47 | intervals [9]: 48 | xmin = 8.819119863524701 49 | xmax = 11.191288960185748 50 | text = "" 51 | intervals [10]: 52 | xmin = 11.191288960185748 53 | xmax = 11.269776249570514 54 | text = "kh" 55 | intervals [11]: 56 | xmin = 11.269776249570514 57 | xmax = 13.58757286759818 58 | text = "" 59 | intervals [12]: 60 | xmin = 13.58757286759818 61 | xmax = 13.597711425761325 62 | text = "t" 63 | intervals [13]: 64 | xmin = 13.597711425761325 65 | xmax = 16.42944285649375 66 | text = "" 67 | intervals [14]: 68 | xmin = 16.42944285649375 69 | xmax = 16.485121739906422 70 | text = "ph" 71 | intervals [15]: 72 | xmin = 16.485121739906422 73 | xmax = 18.83368887002654 74 | text = "" 75 | intervals [16]: 76 | xmin = 18.83368887002654 77 | xmax = 18.86212674839724 78 | text = "k" 79 | intervals [17]: 80 | xmin = 18.86212674839724 81 | xmax = 21.209377500999327 82 | text = "" 83 | intervals [18]: 84 | xmin = 21.209377500999327 85 | xmax = 21.297349236484617 86 | text = "th" 87 | intervals [19]: 88 | xmin = 21.297349236484617 89 | xmax = 23.544323753472217 90 | text = "" 91 | intervals [20]: 92 | xmin = 23.544323753472217 93 | xmax = 23.553090537846302 94 | text = "p" 95 | intervals [21]: 96 | xmin = 23.553090537846302 97 | xmax = 25.79756007350126 98 | text = "" 99 | intervals [22]: 100 | xmin = 25.79756007350126 101 | xmax = 25.87430837733355 102 | text = "kh" 103 | intervals [23]: 104 | xmin = 25.87430837733355 105 | xmax = 28.22420821453648 106 | text = "" 107 | intervals [24]: 108 | xmin = 28.22420821453648 109 | xmax = 28.231564871169354 110 | text = "t" 111 | intervals [25]: 112 | xmin = 28.231564871169354 113 | xmax = 30.936118930093492 114 | text = "" 115 | intervals [26]: 116 | xmin = 30.936118930093492 117 | xmax = 31.004716414948113 118 | text = "ph" 119 | intervals [27]: 120 | xmin = 31.004716414948113 121 | xmax = 33.31401919884731 122 | text = "" 123 | intervals [28]: 124 | xmin = 33.31401919884731 125 | xmax = 33.33215553646515 126 | text = "k" 127 | intervals [29]: 128 | xmin = 33.33215553646515 129 | xmax = 35.70448253724349 130 | text = "" 131 | intervals [30]: 132 | xmin = 35.70448253724349 133 | xmax = 35.79720355253982 134 | text = "th" 135 | intervals [31]: 136 | xmin = 35.79720355253982 137 | xmax = 38.10348551573067 138 | text = "" 139 | intervals [32]: 140 | xmin = 38.10348551573067 141 | xmax = 38.10837631764151 142 | text = "p" 143 | intervals [33]: 144 | xmin = 38.10837631764151 145 | xmax = 40.66181198244467 146 | text = "" 147 | intervals [34]: 148 | xmin = 40.66181198244467 149 | xmax = 40.742845713646254 150 | text = "kh" 151 | intervals [35]: 152 | xmin = 40.742845713646254 153 | xmax = 43.181369569462284 154 | text = "" 155 | intervals [36]: 156 | xmin = 43.181369569462284 157 | xmax = 43.19111084211813 158 | text = "t" 159 | intervals [37]: 160 | xmin = 43.19111084211813 161 | xmax = 44.683900226757366 162 | text = "" 163 | -------------------------------------------------------------------------------- /testing_data/L3/ut_med.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZenMule/Praat_Scripting_Tutorial/27edc04067de0ea4b134ad5b65de9eb6213ba908/testing_data/L3/ut_med.wav -------------------------------------------------------------------------------- /testing_data/L4/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZenMule/Praat_Scripting_Tutorial/27edc04067de0ea4b134ad5b65de9eb6213ba908/testing_data/L4/.DS_Store -------------------------------------------------------------------------------- /testing_data/L4/t1.TextGrid: -------------------------------------------------------------------------------- 1 | File type = "ooTextFile" 2 | Object class = "TextGrid" 3 | 4 | xmin = 0 5 | xmax = 4.371156462585034 6 | tiers? 7 | size = 1 8 | item []: 9 | item [1]: 10 | class = "IntervalTier" 11 | name = "tone" 12 | xmin = 0 13 | xmax = 4.371156462585034 14 | intervals: size = 7 15 | intervals [1]: 16 | xmin = 0 17 | xmax = 1.2551778628117913 18 | text = "" 19 | intervals [2]: 20 | xmin = 1.2551778628117913 21 | xmax = 1.687766439909297 22 | text = "t1" 23 | intervals [3]: 24 | xmin = 1.687766439909297 25 | xmax = 2.2981178164412452 26 | text = "" 27 | intervals [4]: 28 | xmin = 2.2981178164412452 29 | xmax = 2.6573218410750163 30 | text = "t1" 31 | intervals [5]: 32 | xmin = 2.6573218410750163 33 | xmax = 3.360485260770975 34 | text = "" 35 | intervals [6]: 36 | xmin = 3.360485260770975 37 | xmax = 3.7577636054421766 38 | text = "t1" 39 | intervals [7]: 40 | xmin = 3.7577636054421766 41 | xmax = 4.371156462585034 42 | text = "" 43 | -------------------------------------------------------------------------------- /testing_data/L4/t1.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZenMule/Praat_Scripting_Tutorial/27edc04067de0ea4b134ad5b65de9eb6213ba908/testing_data/L4/t1.wav -------------------------------------------------------------------------------- /testing_data/L4/t2.TextGrid: -------------------------------------------------------------------------------- 1 | File type = "ooTextFile" 2 | Object class = "TextGrid" 3 | 4 | xmin = 0 5 | xmax = 4.239092970521542 6 | tiers? 7 | size = 1 8 | item []: 9 | item [1]: 10 | class = "IntervalTier" 11 | name = "tone" 12 | xmin = 0 13 | xmax = 4.239092970521542 14 | intervals: size = 7 15 | intervals [1]: 16 | xmin = 0 17 | xmax = 1.094422015182885 18 | text = "" 19 | intervals [2]: 20 | xmin = 1.094422015182885 21 | xmax = 1.478167044595616 22 | text = "t2" 23 | intervals [3]: 24 | xmin = 1.478167044595616 25 | xmax = 2.141598639455782 26 | text = "" 27 | intervals [4]: 28 | xmin = 2.141598639455782 29 | xmax = 2.582437641723356 30 | text = "t2" 31 | intervals [5]: 32 | xmin = 2.582437641723356 33 | xmax = 3.1609743008314437 34 | text = "" 35 | intervals [6]: 36 | xmin = 3.1609743008314437 37 | xmax = 3.6115532879818595 38 | text = "t2" 39 | intervals [7]: 40 | xmin = 3.6115532879818595 41 | xmax = 4.239092970521542 42 | text = "" 43 | -------------------------------------------------------------------------------- /testing_data/L4/t2.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZenMule/Praat_Scripting_Tutorial/27edc04067de0ea4b134ad5b65de9eb6213ba908/testing_data/L4/t2.wav -------------------------------------------------------------------------------- /testing_data/L4/t3.TextGrid: -------------------------------------------------------------------------------- 1 | File type = "ooTextFile" 2 | Object class = "TextGrid" 3 | 4 | xmin = 0 5 | xmax = 4.343582766439909 6 | tiers? 7 | size = 1 8 | item []: 9 | item [1]: 10 | class = "IntervalTier" 11 | name = "tone" 12 | xmin = 0 13 | xmax = 4.343582766439909 14 | intervals: size = 7 15 | intervals [1]: 16 | xmin = 0 17 | xmax = 1.098641723356009 18 | text = "" 19 | intervals [2]: 20 | xmin = 1.098641723356009 21 | xmax = 1.602733560090703 22 | text = "t3" 23 | intervals [3]: 24 | xmin = 1.602733560090703 25 | xmax = 2.2280763416477702 26 | text = "" 27 | intervals [4]: 28 | xmin = 2.2280763416477702 29 | xmax = 2.722942176870748 30 | text = "t3" 31 | intervals [5]: 32 | xmin = 2.722942176870748 33 | xmax = 3.287750518647175 34 | text = "" 35 | intervals [6]: 36 | xmin = 3.287750518647175 37 | xmax = 3.761518734477918 38 | text = "t3" 39 | intervals [7]: 40 | xmin = 3.761518734477918 41 | xmax = 4.343582766439909 42 | text = "" 43 | -------------------------------------------------------------------------------- /testing_data/L4/t3.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZenMule/Praat_Scripting_Tutorial/27edc04067de0ea4b134ad5b65de9eb6213ba908/testing_data/L4/t3.wav -------------------------------------------------------------------------------- /testing_data/L4/t4.TextGrid: -------------------------------------------------------------------------------- 1 | File type = "ooTextFile" 2 | Object class = "TextGrid" 3 | 4 | xmin = 0 5 | xmax = 3.9517460317460316 6 | tiers? 7 | size = 1 8 | item []: 9 | item [1]: 10 | class = "IntervalTier" 11 | name = "tone" 12 | xmin = 0 13 | xmax = 3.9517460317460316 14 | intervals: size = 7 15 | intervals [1]: 16 | xmin = 0 17 | xmax = 0.8367501546072975 18 | text = "" 19 | intervals [2]: 20 | xmin = 0.8367501546072975 21 | xmax = 1.0364573391545673 22 | text = "t4" 23 | intervals [3]: 24 | xmin = 1.0364573391545673 25 | xmax = 1.9021441169060216 26 | text = "" 27 | intervals [4]: 28 | xmin = 1.9021441169060216 29 | xmax = 2.113040503557745 30 | text = "t4" 31 | intervals [5]: 32 | xmin = 2.113040503557745 33 | xmax = 2.946847728990586 34 | text = "" 35 | intervals [6]: 36 | xmin = 2.946847728990586 37 | xmax = 3.1405015117157973 38 | text = "t4" 39 | intervals [7]: 40 | xmin = 3.1405015117157973 41 | xmax = 3.9517460317460316 42 | text = "" 43 | -------------------------------------------------------------------------------- /testing_data/L4/t4.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZenMule/Praat_Scripting_Tutorial/27edc04067de0ea4b134ad5b65de9eb6213ba908/testing_data/L4/t4.wav -------------------------------------------------------------------------------- /testing_data/L5/a.TextGrid: -------------------------------------------------------------------------------- 1 | File type = "ooTextFile" 2 | Object class = "TextGrid" 3 | 4 | xmin = 0 5 | xmax = 4.033015873015873 6 | tiers? 7 | size = 1 8 | item []: 9 | item [1]: 10 | class = "IntervalTier" 11 | name = "vowel" 12 | xmin = 0 13 | xmax = 4.033015873015873 14 | intervals: size = 7 15 | intervals [1]: 16 | xmin = 0 17 | xmax = 0.9343715581470684 18 | text = "" 19 | intervals [2]: 20 | xmin = 0.9343715581470684 21 | xmax = 1.4106031746031746 22 | text = "a" 23 | intervals [3]: 24 | xmin = 1.4106031746031746 25 | xmax = 1.9697392290249434 26 | text = "" 27 | intervals [4]: 28 | xmin = 1.9697392290249434 29 | xmax = 2.475879818594104 30 | text = "a" 31 | intervals [5]: 32 | xmin = 2.475879818594104 33 | xmax = 3.0300340136054422 34 | text = "" 35 | intervals [6]: 36 | xmin = 3.0300340136054422 37 | xmax = 3.5503308596165737 38 | text = "a" 39 | intervals [7]: 40 | xmin = 3.5503308596165737 41 | xmax = 4.033015873015873 42 | text = "" 43 | -------------------------------------------------------------------------------- /testing_data/L5/a.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZenMule/Praat_Scripting_Tutorial/27edc04067de0ea4b134ad5b65de9eb6213ba908/testing_data/L5/a.wav -------------------------------------------------------------------------------- /testing_data/L5/e.TextGrid: -------------------------------------------------------------------------------- 1 | File type = "ooTextFile" 2 | Object class = "TextGrid" 3 | 4 | xmin = 0 5 | xmax = 4.009795918367347 6 | tiers? 7 | size = 1 8 | item []: 9 | item [1]: 10 | class = "IntervalTier" 11 | name = "vowel" 12 | xmin = 0 13 | xmax = 4.009795918367347 14 | intervals: size = 7 15 | intervals [1]: 16 | xmin = 0 17 | xmax = 1.029776334776335 18 | text = "" 19 | intervals [2]: 20 | xmin = 1.029776334776335 21 | xmax = 1.5047816410514823 22 | text = "e" 23 | intervals [3]: 24 | xmin = 1.5047816410514823 25 | xmax = 1.9931128747795415 26 | text = "" 27 | intervals [4]: 28 | xmin = 1.9931128747795415 29 | xmax = 2.5129300291545187 30 | text = "e" 31 | intervals [5]: 32 | xmin = 2.5129300291545187 33 | xmax = 2.97954702515927 34 | text = "" 35 | intervals [6]: 36 | xmin = 2.97954702515927 37 | xmax = 3.457186588921283 38 | text = "e" 39 | intervals [7]: 40 | xmin = 3.457186588921283 41 | xmax = 4.009795918367347 42 | text = "" 43 | -------------------------------------------------------------------------------- /testing_data/L5/e.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZenMule/Praat_Scripting_Tutorial/27edc04067de0ea4b134ad5b65de9eb6213ba908/testing_data/L5/e.wav -------------------------------------------------------------------------------- /testing_data/L5/i.TextGrid: -------------------------------------------------------------------------------- 1 | File type = "ooTextFile" 2 | Object class = "TextGrid" 3 | 4 | xmin = 0 5 | xmax = 3.5729705215419503 6 | tiers? 7 | size = 1 8 | item []: 9 | item [1]: 10 | class = "IntervalTier" 11 | name = "vowel" 12 | xmin = 0 13 | xmax = 3.5729705215419503 14 | intervals: size = 7 15 | intervals [1]: 16 | xmin = 0 17 | xmax = 0.8216346538615447 18 | text = "" 19 | intervals [2]: 20 | xmin = 0.8216346538615447 21 | xmax = 1.2383217047502761 22 | text = "i" 23 | intervals [3]: 24 | xmin = 1.2383217047502761 25 | xmax = 1.7504389374797538 26 | text = "" 27 | intervals [4]: 28 | xmin = 1.7504389374797538 29 | xmax = 2.1494066515495085 30 | text = "i" 31 | intervals [5]: 32 | xmin = 2.1494066515495085 33 | xmax = 2.668478626018308 34 | text = "" 35 | intervals [6]: 36 | xmin = 2.668478626018308 37 | xmax = 3.1461791383219953 38 | text = "i" 39 | intervals [7]: 40 | xmin = 3.1461791383219953 41 | xmax = 3.5729705215419503 42 | text = "" 43 | -------------------------------------------------------------------------------- /testing_data/L5/i.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZenMule/Praat_Scripting_Tutorial/27edc04067de0ea4b134ad5b65de9eb6213ba908/testing_data/L5/i.wav -------------------------------------------------------------------------------- /testing_data/L5/o.TextGrid: -------------------------------------------------------------------------------- 1 | File type = "ooTextFile" 2 | Object class = "TextGrid" 3 | 4 | xmin = 0 5 | xmax = 4.0620408163265305 6 | tiers? 7 | size = 1 8 | item []: 9 | item [1]: 10 | class = "IntervalTier" 11 | name = "vowel" 12 | xmin = 0 13 | xmax = 4.0620408163265305 14 | intervals: size = 7 15 | intervals [1]: 16 | xmin = 0 17 | xmax = 0.8387662337662338 18 | text = "" 19 | intervals [2]: 20 | xmin = 0.8387662337662338 21 | xmax = 1.3717381824524681 22 | text = "o" 23 | intervals [3]: 24 | xmin = 1.3717381824524681 25 | xmax = 1.902944066515495 26 | text = "" 27 | intervals [4]: 28 | xmin = 1.902944066515495 29 | xmax = 2.4356746031746033 30 | text = "o" 31 | intervals [5]: 32 | xmin = 2.4356746031746033 33 | xmax = 2.948078231292517 34 | text = "" 35 | intervals [6]: 36 | xmin = 2.948078231292517 37 | xmax = 3.485686570924666 38 | text = "o" 39 | intervals [7]: 40 | xmin = 3.485686570924666 41 | xmax = 4.0620408163265305 42 | text = "" 43 | -------------------------------------------------------------------------------- /testing_data/L5/o.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZenMule/Praat_Scripting_Tutorial/27edc04067de0ea4b134ad5b65de9eb6213ba908/testing_data/L5/o.wav -------------------------------------------------------------------------------- /testing_data/L5/u.TextGrid: -------------------------------------------------------------------------------- 1 | File type = "ooTextFile" 2 | Object class = "TextGrid" 3 | 4 | xmin = 0 5 | xmax = 4.13750566893424 6 | tiers? 7 | size = 1 8 | item []: 9 | item [1]: 10 | class = "IntervalTier" 11 | name = "vowel" 12 | xmin = 0 13 | xmax = 4.13750566893424 14 | intervals: size = 7 15 | intervals [1]: 16 | xmin = 0 17 | xmax = 1.1993575207860923 18 | text = "" 19 | intervals [2]: 20 | xmin = 1.1993575207860923 21 | xmax = 1.6938133030990175 22 | text = "u" 23 | intervals [3]: 24 | xmin = 1.6938133030990175 25 | xmax = 2.2461504952858333 26 | text = "" 27 | intervals [4]: 28 | xmin = 2.2461504952858333 29 | xmax = 2.7780895691609975 30 | text = "u" 31 | intervals [5]: 32 | xmin = 2.7780895691609975 33 | xmax = 3.2763353834684557 34 | text = "" 35 | intervals [6]: 36 | xmin = 3.2763353834684557 37 | xmax = 3.7607936507936506 38 | text = "u" 39 | intervals [7]: 40 | xmin = 3.7607936507936506 41 | xmax = 4.13750566893424 42 | text = "" 43 | -------------------------------------------------------------------------------- /testing_data/L5/u.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZenMule/Praat_Scripting_Tutorial/27edc04067de0ea4b134ad5b65de9eb6213ba908/testing_data/L5/u.wav -------------------------------------------------------------------------------- /testing_data/L6/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZenMule/Praat_Scripting_Tutorial/27edc04067de0ea4b134ad5b65de9eb6213ba908/testing_data/L6/.DS_Store -------------------------------------------------------------------------------- /testing_data/L6/Chn_1/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZenMule/Praat_Scripting_Tutorial/27edc04067de0ea4b134ad5b65de9eb6213ba908/testing_data/L6/Chn_1/.DS_Store -------------------------------------------------------------------------------- /testing_data/L6/Chn_1/chn_1_a.TextGrid: -------------------------------------------------------------------------------- 1 | File type = "ooTextFile" 2 | Object class = "TextGrid" 3 | 4 | xmin = 0 5 | xmax = 4.033015873015873 6 | tiers? 7 | size = 1 8 | item []: 9 | item [1]: 10 | class = "IntervalTier" 11 | name = "vowel" 12 | xmin = 0 13 | xmax = 4.033015873015873 14 | intervals: size = 7 15 | intervals [1]: 16 | xmin = 0 17 | xmax = 0.9343715581470684 18 | text = "" 19 | intervals [2]: 20 | xmin = 0.9343715581470684 21 | xmax = 1.4106031746031746 22 | text = "a" 23 | intervals [3]: 24 | xmin = 1.4106031746031746 25 | xmax = 1.9697392290249434 26 | text = "" 27 | intervals [4]: 28 | xmin = 1.9697392290249434 29 | xmax = 2.475879818594104 30 | text = "a" 31 | intervals [5]: 32 | xmin = 2.475879818594104 33 | xmax = 3.0300340136054422 34 | text = "" 35 | intervals [6]: 36 | xmin = 3.0300340136054422 37 | xmax = 3.5503308596165737 38 | text = "a" 39 | intervals [7]: 40 | xmin = 3.5503308596165737 41 | xmax = 4.033015873015873 42 | text = "" 43 | -------------------------------------------------------------------------------- /testing_data/L6/Chn_1/chn_1_a.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZenMule/Praat_Scripting_Tutorial/27edc04067de0ea4b134ad5b65de9eb6213ba908/testing_data/L6/Chn_1/chn_1_a.wav -------------------------------------------------------------------------------- /testing_data/L6/Chn_1/chn_1_diphthongs.TextGrid: -------------------------------------------------------------------------------- 1 | File type = "ooTextFile" 2 | Object class = "TextGrid" 3 | 4 | xmin = 0 5 | xmax = 50.850249433106576 6 | tiers? 7 | size = 2 8 | item []: 9 | item [1]: 10 | class = "IntervalTier" 11 | name = "syll" 12 | xmin = 0 13 | xmax = 50.850249433106576 14 | intervals: size = 109 15 | intervals [1]: 16 | xmin = 0 17 | xmax = 1.2258147347173811 18 | text = "" 19 | intervals [2]: 20 | xmin = 1.2258147347173811 21 | xmax = 1.3477437641723355 22 | text = "" 23 | intervals [3]: 24 | xmin = 1.3477437641723355 25 | xmax = 1.7372902494331066 26 | text = "ai" 27 | intervals [4]: 28 | xmin = 1.7372902494331066 29 | xmax = 2.630729443517882 30 | text = "" 31 | intervals [5]: 32 | xmin = 2.630729443517882 33 | xmax = 2.743263038548753 34 | text = "" 35 | intervals [6]: 36 | xmin = 2.743263038548753 37 | xmax = 3.1129190650619223 38 | text = "ai" 39 | intervals [7]: 40 | xmin = 3.1129190650619223 41 | xmax = 4.1706235827664395 42 | text = "" 43 | intervals [8]: 44 | xmin = 4.1706235827664395 45 | xmax = 4.242068891048483 46 | text = "" 47 | intervals [9]: 48 | xmin = 4.242068891048483 49 | xmax = 4.559496274700356 50 | text = "ai" 51 | intervals [10]: 52 | xmin = 4.559496274700356 53 | xmax = 5.663299319727891 54 | text = "" 55 | intervals [11]: 56 | xmin = 5.663299319727891 57 | xmax = 5.729112157683586 58 | text = "" 59 | intervals [12]: 60 | xmin = 5.729112157683586 61 | xmax = 6.109755937462704 62 | text = "ai" 63 | intervals [13]: 64 | xmin = 6.109755937462704 65 | xmax = 7.058537414965986 66 | text = "" 67 | intervals [14]: 68 | xmin = 7.058537414965986 69 | xmax = 7.131336734693877 70 | text = "" 71 | intervals [15]: 72 | xmin = 7.131336734693877 73 | xmax = 7.5292290249433105 74 | text = "ai" 75 | intervals [16]: 76 | xmin = 7.5292290249433105 77 | xmax = 8.330136054421768 78 | text = "" 79 | intervals [17]: 80 | xmin = 8.330136054421768 81 | xmax = 8.47525850340136 82 | text = "" 83 | intervals [18]: 84 | xmin = 8.47525850340136 85 | xmax = 8.811376291257243 86 | text = "ai" 87 | intervals [19]: 88 | xmin = 8.811376291257243 89 | xmax = 10.008764172335601 90 | text = "" 91 | intervals [20]: 92 | xmin = 10.008764172335601 93 | xmax = 10.07595742000504 94 | text = "" 95 | intervals [21]: 96 | xmin = 10.07595742000504 97 | xmax = 10.483702947845805 98 | text = "ai" 99 | intervals [22]: 100 | xmin = 10.483702947845805 101 | xmax = 11.244977324263038 102 | text = "" 103 | intervals [23]: 104 | xmin = 11.244977324263038 105 | xmax = 11.308696977261853 106 | text = "" 107 | intervals [24]: 108 | xmin = 11.308696977261853 109 | xmax = 11.730875632304203 110 | text = "ai" 111 | intervals [25]: 112 | xmin = 11.730875632304203 113 | xmax = 12.463155706727134 114 | text = "" 115 | intervals [26]: 116 | xmin = 12.463155706727134 117 | xmax = 12.535572637944066 118 | text = "" 119 | intervals [27]: 120 | xmin = 12.535572637944066 121 | xmax = 12.9606320861678 122 | text = "ai" 123 | intervals [28]: 124 | xmin = 12.9606320861678 125 | xmax = 13.75107709750567 126 | text = "" 127 | intervals [29]: 128 | xmin = 13.75107709750567 129 | xmax = 13.80687074829932 130 | text = "" 131 | intervals [30]: 132 | xmin = 13.80687074829932 133 | xmax = 14.028166307173276 134 | text = "ai" 135 | intervals [31]: 136 | xmin = 14.028166307173276 137 | xmax = 15.071380952380952 138 | text = "" 139 | intervals [32]: 140 | xmin = 15.071380952380952 141 | xmax = 15.149878826530614 142 | text = "" 143 | intervals [33]: 144 | xmin = 15.149878826530614 145 | xmax = 15.360385143956572 146 | text = "ai" 147 | intervals [34]: 148 | xmin = 15.360385143956572 149 | xmax = 16.2928231292517 150 | text = "" 151 | intervals [35]: 152 | xmin = 16.2928231292517 153 | xmax = 16.36893898165327 154 | text = "" 155 | intervals [36]: 156 | xmin = 16.36893898165327 157 | xmax = 16.616580822805314 158 | text = "ai" 159 | intervals [37]: 160 | xmin = 16.616580822805314 161 | xmax = 18.207970521541952 162 | text = "" 163 | intervals [38]: 164 | xmin = 18.207970521541952 165 | xmax = 18.293515335958947 166 | text = "" 167 | intervals [39]: 168 | xmin = 18.293515335958947 169 | xmax = 18.583635967207396 170 | text = "au" 171 | intervals [40]: 172 | xmin = 18.583635967207396 173 | xmax = 19.64699546485261 174 | text = "" 175 | intervals [41]: 176 | xmin = 19.64699546485261 177 | xmax = 19.72916067379333 178 | text = "" 179 | intervals [42]: 180 | xmin = 19.72916067379333 181 | xmax = 20.02151077097506 182 | text = "au" 183 | intervals [43]: 184 | xmin = 20.02151077097506 185 | xmax = 20.965975056689345 186 | text = "" 187 | intervals [44]: 188 | xmin = 20.965975056689345 189 | xmax = 21.036282352021267 190 | text = "" 191 | intervals [45]: 192 | xmin = 21.036282352021267 193 | xmax = 21.33538224813735 194 | text = "au" 195 | intervals [46]: 196 | xmin = 21.33538224813735 197 | xmax = 22.423480725623584 198 | text = "" 199 | intervals [47]: 200 | xmin = 22.423480725623584 201 | xmax = 22.504627184207017 202 | text = "" 203 | intervals [48]: 204 | xmin = 22.504627184207017 205 | xmax = 22.87029538131042 206 | text = "au" 207 | intervals [49]: 208 | xmin = 22.87029538131042 209 | xmax = 23.83810657596372 210 | text = "" 211 | intervals [50]: 212 | xmin = 23.83810657596372 213 | xmax = 23.93164455782313 214 | text = "" 215 | intervals [51]: 216 | xmin = 23.93164455782313 217 | xmax = 24.271124716553288 218 | text = "au" 219 | intervals [52]: 220 | xmin = 24.271124716553288 221 | xmax = 25.153503401360545 222 | text = "" 223 | intervals [53]: 224 | xmin = 25.153503401360545 225 | xmax = 25.27669411624299 226 | text = "" 227 | intervals [54]: 228 | xmin = 25.27669411624299 229 | xmax = 25.59409523809524 230 | text = "au" 231 | intervals [55]: 232 | xmin = 25.59409523809524 233 | xmax = 26.59699546485261 234 | text = "" 235 | intervals [56]: 236 | xmin = 26.59699546485261 237 | xmax = 26.677515813342882 238 | text = "" 239 | intervals [57]: 240 | xmin = 26.677515813342882 241 | xmax = 27.150215419501137 242 | text = "au" 243 | intervals [58]: 244 | xmin = 27.150215419501137 245 | xmax = 28.063374905517765 246 | text = "" 247 | intervals [59]: 248 | xmin = 28.063374905517765 249 | xmax = 28.11980555555556 250 | text = "" 251 | intervals [60]: 252 | xmin = 28.11980555555556 253 | xmax = 28.54859126984127 254 | text = "au" 255 | intervals [61]: 256 | xmin = 28.54859126984127 257 | xmax = 29.370774754346186 258 | text = "" 259 | intervals [62]: 260 | xmin = 29.370774754346186 261 | xmax = 29.443702476661663 262 | text = "" 263 | intervals [63]: 264 | xmin = 29.443702476661663 265 | xmax = 29.86232930209121 266 | text = "au" 267 | intervals [64]: 268 | xmin = 29.86232930209121 269 | xmax = 30.83942932728647 270 | text = "" 271 | intervals [65]: 272 | xmin = 30.83942932728647 273 | xmax = 30.93681997436656 274 | text = "" 275 | intervals [66]: 276 | xmin = 30.93681997436656 277 | xmax = 31.14012471655329 278 | text = "au" 279 | intervals [67]: 280 | xmin = 31.14012471655329 281 | xmax = 32.18300453514739 282 | text = "" 283 | intervals [68]: 284 | xmin = 32.18300453514739 285 | xmax = 32.26119727891157 286 | text = "" 287 | intervals [69]: 288 | xmin = 32.26119727891157 289 | xmax = 32.458838678328476 290 | text = "au" 291 | intervals [70]: 292 | xmin = 32.458838678328476 293 | xmax = 33.561462585034015 294 | text = "" 295 | intervals [71]: 296 | xmin = 33.561462585034015 297 | xmax = 33.66433018814595 298 | text = "" 299 | intervals [72]: 300 | xmin = 33.66433018814595 301 | xmax = 33.84202862252217 302 | text = "au" 303 | intervals [73]: 304 | xmin = 33.84202862252217 305 | xmax = 35.11048752834467 306 | text = "" 307 | intervals [74]: 308 | xmin = 35.11048752834467 309 | xmax = 35.1696423417852 310 | text = "" 311 | intervals [75]: 312 | xmin = 35.1696423417852 313 | xmax = 35.49047335600907 314 | text = "ou" 315 | intervals [76]: 316 | xmin = 35.49047335600907 317 | xmax = 36.478367346938775 318 | text = "" 319 | intervals [77]: 320 | xmin = 36.478367346938775 321 | xmax = 36.55161224489796 322 | text = "" 323 | intervals [78]: 324 | xmin = 36.55161224489796 325 | xmax = 36.89255102040816 326 | text = "ou" 327 | intervals [79]: 328 | xmin = 36.89255102040816 329 | xmax = 37.745215419501136 330 | text = "" 331 | intervals [80]: 332 | xmin = 37.745215419501136 333 | xmax = 37.83665910808768 334 | text = "" 335 | intervals [81]: 336 | xmin = 37.83665910808768 337 | xmax = 38.180978835978834 338 | text = "ou" 339 | intervals [82]: 340 | xmin = 38.180978835978834 341 | xmax = 39.081513605442176 342 | text = "" 343 | intervals [83]: 344 | xmin = 39.081513605442176 345 | xmax = 39.18399433106576 346 | text = "" 347 | intervals [84]: 348 | xmin = 39.18399433106576 349 | xmax = 39.55794784580499 350 | text = "ou" 351 | intervals [85]: 352 | xmin = 39.55794784580499 353 | xmax = 40.401955782312925 354 | text = "" 355 | intervals [86]: 356 | xmin = 40.401955782312925 357 | xmax = 40.47687715665976 358 | text = "" 359 | intervals [87]: 360 | xmin = 40.47687715665976 361 | xmax = 40.87884731670446 362 | text = "ou" 363 | intervals [88]: 364 | xmin = 40.87884731670446 365 | xmax = 41.71745059928733 366 | text = "" 367 | intervals [89]: 368 | xmin = 41.71745059928733 369 | xmax = 41.79543310657596 370 | text = "" 371 | intervals [90]: 372 | xmin = 41.79543310657596 373 | xmax = 42.16184807256236 374 | text = "ou" 375 | intervals [91]: 376 | xmin = 42.16184807256236 377 | xmax = 43.158582766439906 378 | text = "" 379 | intervals [92]: 380 | xmin = 43.158582766439906 381 | xmax = 43.229362244897956 382 | text = "" 383 | intervals [93]: 384 | xmin = 43.229362244897956 385 | xmax = 43.76225056689342 386 | text = "ou" 387 | intervals [94]: 388 | xmin = 43.76225056689342 389 | xmax = 44.39838624338624 390 | text = "" 391 | intervals [95]: 392 | xmin = 44.39838624338624 393 | xmax = 44.47776207919065 394 | text = "" 395 | intervals [96]: 396 | xmin = 44.47776207919065 397 | xmax = 44.925385487528345 398 | text = "ou" 399 | intervals [97]: 400 | xmin = 44.925385487528345 401 | xmax = 45.677690854119426 402 | text = "" 403 | intervals [98]: 404 | xmin = 45.677690854119426 405 | xmax = 45.75193445632221 406 | text = "" 407 | intervals [99]: 408 | xmin = 45.75193445632221 409 | xmax = 46.16259961127308 410 | text = "ou" 411 | intervals [100]: 412 | xmin = 46.16259961127308 413 | xmax = 47.104954648526075 414 | text = "" 415 | intervals [101]: 416 | xmin = 47.104954648526075 417 | xmax = 47.18413954771098 418 | text = "" 419 | intervals [102]: 420 | xmin = 47.18413954771098 421 | xmax = 47.38345804988662 422 | text = "ou" 423 | intervals [103]: 424 | xmin = 47.38345804988662 425 | xmax = 48.40107709750567 426 | text = "" 427 | intervals [104]: 428 | xmin = 48.40107709750567 429 | xmax = 48.47901186115472 430 | text = "" 431 | intervals [105]: 432 | xmin = 48.47901186115472 433 | xmax = 48.662779522065236 434 | text = "ou" 435 | intervals [106]: 436 | xmin = 48.662779522065236 437 | xmax = 49.58373620559335 438 | text = "" 439 | intervals [107]: 440 | xmin = 49.58373620559335 441 | xmax = 49.65269043419837 442 | text = "" 443 | intervals [108]: 444 | xmin = 49.65269043419837 445 | xmax = 49.85513321995465 446 | text = "ou" 447 | intervals [109]: 448 | xmin = 49.85513321995465 449 | xmax = 50.850249433106576 450 | text = "" 451 | item [2]: 452 | class = "IntervalTier" 453 | name = "r" 454 | xmin = 0 455 | xmax = 50.850249433106576 456 | intervals: size = 73 457 | intervals [1]: 458 | xmin = 0 459 | xmax = 1.2258147347173811 460 | text = "" 461 | intervals [2]: 462 | xmin = 1.2258147347173811 463 | xmax = 1.7372902494331066 464 | text = "t1" 465 | intervals [3]: 466 | xmin = 1.7372902494331066 467 | xmax = 2.630729443517882 468 | text = "" 469 | intervals [4]: 470 | xmin = 2.630729443517882 471 | xmax = 3.1129190650619223 472 | text = "t1" 473 | intervals [5]: 474 | xmin = 3.1129190650619223 475 | xmax = 4.1706235827664395 476 | text = "" 477 | intervals [6]: 478 | xmin = 4.1706235827664395 479 | xmax = 4.559496274700356 480 | text = "t1" 481 | intervals [7]: 482 | xmin = 4.559496274700356 483 | xmax = 5.663299319727891 484 | text = "" 485 | intervals [8]: 486 | xmin = 5.663299319727891 487 | xmax = 6.109755937462704 488 | text = "t2" 489 | intervals [9]: 490 | xmin = 6.109755937462704 491 | xmax = 7.058537414965986 492 | text = "" 493 | intervals [10]: 494 | xmin = 7.058537414965986 495 | xmax = 7.5292290249433105 496 | text = "t2" 497 | intervals [11]: 498 | xmin = 7.5292290249433105 499 | xmax = 8.330136054421768 500 | text = "" 501 | intervals [12]: 502 | xmin = 8.330136054421768 503 | xmax = 8.811376291257243 504 | text = "t2" 505 | intervals [13]: 506 | xmin = 8.811376291257243 507 | xmax = 10.008764172335601 508 | text = "" 509 | intervals [14]: 510 | xmin = 10.008764172335601 511 | xmax = 10.483702947845805 512 | text = "t3" 513 | intervals [15]: 514 | xmin = 10.483702947845805 515 | xmax = 11.244977324263038 516 | text = "" 517 | intervals [16]: 518 | xmin = 11.244977324263038 519 | xmax = 11.730875632304203 520 | text = "t3" 521 | intervals [17]: 522 | xmin = 11.730875632304203 523 | xmax = 12.463155706727134 524 | text = "" 525 | intervals [18]: 526 | xmin = 12.463155706727134 527 | xmax = 12.9606320861678 528 | text = "t3" 529 | intervals [19]: 530 | xmin = 12.9606320861678 531 | xmax = 13.75107709750567 532 | text = "" 533 | intervals [20]: 534 | xmin = 13.75107709750567 535 | xmax = 14.028166307173276 536 | text = "t4" 537 | intervals [21]: 538 | xmin = 14.028166307173276 539 | xmax = 15.071380952380952 540 | text = "" 541 | intervals [22]: 542 | xmin = 15.071380952380952 543 | xmax = 15.360385143956572 544 | text = "t4" 545 | intervals [23]: 546 | xmin = 15.360385143956572 547 | xmax = 16.2928231292517 548 | text = "" 549 | intervals [24]: 550 | xmin = 16.2928231292517 551 | xmax = 16.616580822805314 552 | text = "t4" 553 | intervals [25]: 554 | xmin = 16.616580822805314 555 | xmax = 18.207970521541952 556 | text = "" 557 | intervals [26]: 558 | xmin = 18.207970521541952 559 | xmax = 18.583635967207396 560 | text = "t1" 561 | intervals [27]: 562 | xmin = 18.583635967207396 563 | xmax = 19.64699546485261 564 | text = "" 565 | intervals [28]: 566 | xmin = 19.64699546485261 567 | xmax = 20.02151077097506 568 | text = "t1" 569 | intervals [29]: 570 | xmin = 20.02151077097506 571 | xmax = 20.965975056689345 572 | text = "" 573 | intervals [30]: 574 | xmin = 20.965975056689345 575 | xmax = 21.33538224813735 576 | text = "t1" 577 | intervals [31]: 578 | xmin = 21.33538224813735 579 | xmax = 22.423480725623584 580 | text = "" 581 | intervals [32]: 582 | xmin = 22.423480725623584 583 | xmax = 22.87029538131042 584 | text = "t2" 585 | intervals [33]: 586 | xmin = 22.87029538131042 587 | xmax = 23.83810657596372 588 | text = "" 589 | intervals [34]: 590 | xmin = 23.83810657596372 591 | xmax = 24.271124716553288 592 | text = "t2" 593 | intervals [35]: 594 | xmin = 24.271124716553288 595 | xmax = 25.153503401360545 596 | text = "" 597 | intervals [36]: 598 | xmin = 25.153503401360545 599 | xmax = 25.59409523809524 600 | text = "t2" 601 | intervals [37]: 602 | xmin = 25.59409523809524 603 | xmax = 26.59699546485261 604 | text = "" 605 | intervals [38]: 606 | xmin = 26.59699546485261 607 | xmax = 27.150215419501137 608 | text = "t3" 609 | intervals [39]: 610 | xmin = 27.150215419501137 611 | xmax = 28.063374905517765 612 | text = "" 613 | intervals [40]: 614 | xmin = 28.063374905517765 615 | xmax = 28.54859126984127 616 | text = "t3" 617 | intervals [41]: 618 | xmin = 28.54859126984127 619 | xmax = 29.370774754346186 620 | text = "" 621 | intervals [42]: 622 | xmin = 29.370774754346186 623 | xmax = 29.86232930209121 624 | text = "t3" 625 | intervals [43]: 626 | xmin = 29.86232930209121 627 | xmax = 30.83942932728647 628 | text = "" 629 | intervals [44]: 630 | xmin = 30.83942932728647 631 | xmax = 31.14012471655329 632 | text = "t4" 633 | intervals [45]: 634 | xmin = 31.14012471655329 635 | xmax = 32.18300453514739 636 | text = "" 637 | intervals [46]: 638 | xmin = 32.18300453514739 639 | xmax = 32.458838678328476 640 | text = "t4" 641 | intervals [47]: 642 | xmin = 32.458838678328476 643 | xmax = 33.561462585034015 644 | text = "" 645 | intervals [48]: 646 | xmin = 33.561462585034015 647 | xmax = 33.84202862252217 648 | text = "t4" 649 | intervals [49]: 650 | xmin = 33.84202862252217 651 | xmax = 35.11048752834467 652 | text = "" 653 | intervals [50]: 654 | xmin = 35.11048752834467 655 | xmax = 35.49047335600907 656 | text = "t1" 657 | intervals [51]: 658 | xmin = 35.49047335600907 659 | xmax = 36.478367346938775 660 | text = "" 661 | intervals [52]: 662 | xmin = 36.478367346938775 663 | xmax = 36.89255102040816 664 | text = "t1" 665 | intervals [53]: 666 | xmin = 36.89255102040816 667 | xmax = 37.745215419501136 668 | text = "" 669 | intervals [54]: 670 | xmin = 37.745215419501136 671 | xmax = 38.180978835978834 672 | text = "t1" 673 | intervals [55]: 674 | xmin = 38.180978835978834 675 | xmax = 39.081513605442176 676 | text = "" 677 | intervals [56]: 678 | xmin = 39.081513605442176 679 | xmax = 39.55794784580499 680 | text = "t2" 681 | intervals [57]: 682 | xmin = 39.55794784580499 683 | xmax = 40.401955782312925 684 | text = "" 685 | intervals [58]: 686 | xmin = 40.401955782312925 687 | xmax = 40.87884731670446 688 | text = "t2" 689 | intervals [59]: 690 | xmin = 40.87884731670446 691 | xmax = 41.71745059928733 692 | text = "" 693 | intervals [60]: 694 | xmin = 41.71745059928733 695 | xmax = 42.16184807256236 696 | text = "t2" 697 | intervals [61]: 698 | xmin = 42.16184807256236 699 | xmax = 43.158582766439906 700 | text = "" 701 | intervals [62]: 702 | xmin = 43.158582766439906 703 | xmax = 43.76225056689342 704 | text = "t3" 705 | intervals [63]: 706 | xmin = 43.76225056689342 707 | xmax = 44.39838624338624 708 | text = "" 709 | intervals [64]: 710 | xmin = 44.39838624338624 711 | xmax = 44.925385487528345 712 | text = "t3" 713 | intervals [65]: 714 | xmin = 44.925385487528345 715 | xmax = 45.677690854119426 716 | text = "" 717 | intervals [66]: 718 | xmin = 45.677690854119426 719 | xmax = 46.16259961127308 720 | text = "t3" 721 | intervals [67]: 722 | xmin = 46.16259961127308 723 | xmax = 47.104954648526075 724 | text = "" 725 | intervals [68]: 726 | xmin = 47.104954648526075 727 | xmax = 47.38345804988662 728 | text = "t4" 729 | intervals [69]: 730 | xmin = 47.38345804988662 731 | xmax = 48.40107709750567 732 | text = "" 733 | intervals [70]: 734 | xmin = 48.40107709750567 735 | xmax = 48.662779522065236 736 | text = "t4" 737 | intervals [71]: 738 | xmin = 48.662779522065236 739 | xmax = 49.58373620559335 740 | text = "" 741 | intervals [72]: 742 | xmin = 49.58373620559335 743 | xmax = 49.85513321995465 744 | text = "t4" 745 | intervals [73]: 746 | xmin = 49.85513321995465 747 | xmax = 50.850249433106576 748 | text = "" 749 | -------------------------------------------------------------------------------- /testing_data/L6/Chn_1/chn_1_diphthongs.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZenMule/Praat_Scripting_Tutorial/27edc04067de0ea4b134ad5b65de9eb6213ba908/testing_data/L6/Chn_1/chn_1_diphthongs.wav -------------------------------------------------------------------------------- /testing_data/L6/Chn_1/chn_1_e.TextGrid: -------------------------------------------------------------------------------- 1 | File type = "ooTextFile" 2 | Object class = "TextGrid" 3 | 4 | xmin = 0 5 | xmax = 4.009795918367347 6 | tiers? 7 | size = 1 8 | item []: 9 | item [1]: 10 | class = "IntervalTier" 11 | name = "vowel" 12 | xmin = 0 13 | xmax = 4.009795918367347 14 | intervals: size = 7 15 | intervals [1]: 16 | xmin = 0 17 | xmax = 1.029776334776335 18 | text = "" 19 | intervals [2]: 20 | xmin = 1.029776334776335 21 | xmax = 1.5047816410514823 22 | text = "e" 23 | intervals [3]: 24 | xmin = 1.5047816410514823 25 | xmax = 1.9931128747795415 26 | text = "" 27 | intervals [4]: 28 | xmin = 1.9931128747795415 29 | xmax = 2.5129300291545187 30 | text = "e" 31 | intervals [5]: 32 | xmin = 2.5129300291545187 33 | xmax = 2.97954702515927 34 | text = "" 35 | intervals [6]: 36 | xmin = 2.97954702515927 37 | xmax = 3.457186588921283 38 | text = "e" 39 | intervals [7]: 40 | xmin = 3.457186588921283 41 | xmax = 4.009795918367347 42 | text = "" 43 | -------------------------------------------------------------------------------- /testing_data/L6/Chn_1/chn_1_e.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZenMule/Praat_Scripting_Tutorial/27edc04067de0ea4b134ad5b65de9eb6213ba908/testing_data/L6/Chn_1/chn_1_e.wav -------------------------------------------------------------------------------- /testing_data/L6/Chn_1/chn_1_i.TextGrid: -------------------------------------------------------------------------------- 1 | File type = "ooTextFile" 2 | Object class = "TextGrid" 3 | 4 | xmin = 0 5 | xmax = 3.5729705215419503 6 | tiers? 7 | size = 1 8 | item []: 9 | item [1]: 10 | class = "IntervalTier" 11 | name = "vowel" 12 | xmin = 0 13 | xmax = 3.5729705215419503 14 | intervals: size = 7 15 | intervals [1]: 16 | xmin = 0 17 | xmax = 0.8216346538615447 18 | text = "" 19 | intervals [2]: 20 | xmin = 0.8216346538615447 21 | xmax = 1.2383217047502761 22 | text = "i" 23 | intervals [3]: 24 | xmin = 1.2383217047502761 25 | xmax = 1.7504389374797538 26 | text = "" 27 | intervals [4]: 28 | xmin = 1.7504389374797538 29 | xmax = 2.1494066515495085 30 | text = "i" 31 | intervals [5]: 32 | xmin = 2.1494066515495085 33 | xmax = 2.668478626018308 34 | text = "" 35 | intervals [6]: 36 | xmin = 2.668478626018308 37 | xmax = 3.1461791383219953 38 | text = "i" 39 | intervals [7]: 40 | xmin = 3.1461791383219953 41 | xmax = 3.5729705215419503 42 | text = "" 43 | -------------------------------------------------------------------------------- /testing_data/L6/Chn_1/chn_1_i.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZenMule/Praat_Scripting_Tutorial/27edc04067de0ea4b134ad5b65de9eb6213ba908/testing_data/L6/Chn_1/chn_1_i.wav -------------------------------------------------------------------------------- /testing_data/L6/Chn_1/chn_1_o.TextGrid: -------------------------------------------------------------------------------- 1 | File type = "ooTextFile" 2 | Object class = "TextGrid" 3 | 4 | xmin = 0 5 | xmax = 4.0620408163265305 6 | tiers? 7 | size = 1 8 | item []: 9 | item [1]: 10 | class = "IntervalTier" 11 | name = "vowel" 12 | xmin = 0 13 | xmax = 4.0620408163265305 14 | intervals: size = 7 15 | intervals [1]: 16 | xmin = 0 17 | xmax = 0.8387662337662338 18 | text = "" 19 | intervals [2]: 20 | xmin = 0.8387662337662338 21 | xmax = 1.3717381824524681 22 | text = "o" 23 | intervals [3]: 24 | xmin = 1.3717381824524681 25 | xmax = 1.902944066515495 26 | text = "" 27 | intervals [4]: 28 | xmin = 1.902944066515495 29 | xmax = 2.4356746031746033 30 | text = "o" 31 | intervals [5]: 32 | xmin = 2.4356746031746033 33 | xmax = 2.948078231292517 34 | text = "" 35 | intervals [6]: 36 | xmin = 2.948078231292517 37 | xmax = 3.485686570924666 38 | text = "o" 39 | intervals [7]: 40 | xmin = 3.485686570924666 41 | xmax = 4.0620408163265305 42 | text = "" 43 | -------------------------------------------------------------------------------- /testing_data/L6/Chn_1/chn_1_o.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZenMule/Praat_Scripting_Tutorial/27edc04067de0ea4b134ad5b65de9eb6213ba908/testing_data/L6/Chn_1/chn_1_o.wav -------------------------------------------------------------------------------- /testing_data/L6/Chn_1/chn_1_u.TextGrid: -------------------------------------------------------------------------------- 1 | File type = "ooTextFile" 2 | Object class = "TextGrid" 3 | 4 | xmin = 0 5 | xmax = 4.13750566893424 6 | tiers? 7 | size = 1 8 | item []: 9 | item [1]: 10 | class = "IntervalTier" 11 | name = "vowel" 12 | xmin = 0 13 | xmax = 4.13750566893424 14 | intervals: size = 7 15 | intervals [1]: 16 | xmin = 0 17 | xmax = 1.1993575207860923 18 | text = "" 19 | intervals [2]: 20 | xmin = 1.1993575207860923 21 | xmax = 1.6938133030990175 22 | text = "u" 23 | intervals [3]: 24 | xmin = 1.6938133030990175 25 | xmax = 2.2461504952858333 26 | text = "" 27 | intervals [4]: 28 | xmin = 2.2461504952858333 29 | xmax = 2.7780895691609975 30 | text = "u" 31 | intervals [5]: 32 | xmin = 2.7780895691609975 33 | xmax = 3.2763353834684557 34 | text = "" 35 | intervals [6]: 36 | xmin = 3.2763353834684557 37 | xmax = 3.7607936507936506 38 | text = "u" 39 | intervals [7]: 40 | xmin = 3.7607936507936506 41 | xmax = 4.13750566893424 42 | text = "" 43 | -------------------------------------------------------------------------------- /testing_data/L6/Chn_1/chn_1_u.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZenMule/Praat_Scripting_Tutorial/27edc04067de0ea4b134ad5b65de9eb6213ba908/testing_data/L6/Chn_1/chn_1_u.wav -------------------------------------------------------------------------------- /testing_data/L6/Chn_2/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZenMule/Praat_Scripting_Tutorial/27edc04067de0ea4b134ad5b65de9eb6213ba908/testing_data/L6/Chn_2/.DS_Store -------------------------------------------------------------------------------- /testing_data/L6/Chn_2/Chn_a.TextGrid: -------------------------------------------------------------------------------- 1 | File type = "ooTextFile" 2 | Object class = "TextGrid" 3 | 4 | xmin = 0 5 | xmax = 5.98639455782313 6 | tiers? 7 | size = 1 8 | item []: 9 | item [1]: 10 | class = "IntervalTier" 11 | name = "vowel" 12 | xmin = 0 13 | xmax = 5.98639455782313 14 | intervals: size = 7 15 | intervals [1]: 16 | xmin = 0 17 | xmax = 0.5888095238095238 18 | text = "" 19 | intervals [2]: 20 | xmin = 0.5888095238095238 21 | xmax = 1.2618944099378882 22 | text = "a" 23 | intervals [3]: 24 | xmin = 1.2618944099378882 25 | xmax = 2.0309217772321957 26 | text = "" 27 | intervals [4]: 28 | xmin = 2.0309217772321957 29 | xmax = 2.761938775510204 30 | text = "a" 31 | intervals [5]: 32 | xmin = 2.761938775510204 33 | xmax = 3.622959731584791 34 | text = "" 35 | intervals [6]: 36 | xmin = 3.622959731584791 37 | xmax = 4.448735827664399 38 | text = "a" 39 | intervals [7]: 40 | xmin = 4.448735827664399 41 | xmax = 5.98639455782313 42 | text = "" 43 | -------------------------------------------------------------------------------- /testing_data/L6/Chn_2/Chn_a.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZenMule/Praat_Scripting_Tutorial/27edc04067de0ea4b134ad5b65de9eb6213ba908/testing_data/L6/Chn_2/Chn_a.wav -------------------------------------------------------------------------------- /testing_data/L6/Chn_2/Chn_e.TextGrid: -------------------------------------------------------------------------------- 1 | File type = "ooTextFile" 2 | Object class = "TextGrid" 3 | 4 | xmin = 0 5 | xmax = 5.699047619047619 6 | tiers? 7 | size = 1 8 | item []: 9 | item [1]: 10 | class = "IntervalTier" 11 | name = "vowel" 12 | xmin = 0 13 | xmax = 5.699047619047619 14 | intervals: size = 7 15 | intervals [1]: 16 | xmin = 0 17 | xmax = 0.5414137007459989 18 | text = "" 19 | intervals [2]: 20 | xmin = 0.5414137007459989 21 | xmax = 1.2158843537414967 22 | text = "e" 23 | intervals [3]: 24 | xmin = 1.2158843537414967 25 | xmax = 1.9164225245653816 26 | text = "" 27 | intervals [4]: 28 | xmin = 1.9164225245653816 29 | xmax = 2.617282690854119 30 | text = "e" 31 | intervals [5]: 32 | xmin = 2.617282690854119 33 | xmax = 3.353641817838246 34 | text = "" 35 | intervals [6]: 36 | xmin = 3.353641817838246 37 | xmax = 4.114289493575208 38 | text = "e" 39 | intervals [7]: 40 | xmin = 4.114289493575208 41 | xmax = 5.699047619047619 42 | text = "" 43 | -------------------------------------------------------------------------------- /testing_data/L6/Chn_2/Chn_e.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZenMule/Praat_Scripting_Tutorial/27edc04067de0ea4b134ad5b65de9eb6213ba908/testing_data/L6/Chn_2/Chn_e.wav -------------------------------------------------------------------------------- /testing_data/L6/Chn_2/Chn_i.TextGrid: -------------------------------------------------------------------------------- 1 | File type = "ooTextFile" 2 | Object class = "TextGrid" 3 | 4 | xmin = 0 5 | xmax = 5.91092970521542 6 | tiers? 7 | size = 1 8 | item []: 9 | item [1]: 10 | class = "IntervalTier" 11 | name = "vowel" 12 | xmin = 0 13 | xmax = 5.91092970521542 14 | intervals: size = 7 15 | intervals [1]: 16 | xmin = 0 17 | xmax = 0.9421173469387756 18 | text = "" 19 | intervals [2]: 20 | xmin = 0.9421173469387756 21 | xmax = 1.4821655328798187 22 | text = "i" 23 | intervals [3]: 24 | xmin = 1.4821655328798187 25 | xmax = 2.398015873015873 26 | text = "" 27 | intervals [4]: 28 | xmin = 2.398015873015873 29 | xmax = 3.056571428571428 30 | text = "i" 31 | intervals [5]: 32 | xmin = 3.056571428571428 33 | xmax = 4.140449735449735 34 | text = "" 35 | intervals [6]: 36 | xmin = 4.140449735449735 37 | xmax = 4.763204081632653 38 | text = "i" 39 | intervals [7]: 40 | xmin = 4.763204081632653 41 | xmax = 5.91092970521542 42 | text = "" 43 | -------------------------------------------------------------------------------- /testing_data/L6/Chn_2/Chn_i.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZenMule/Praat_Scripting_Tutorial/27edc04067de0ea4b134ad5b65de9eb6213ba908/testing_data/L6/Chn_2/Chn_i.wav -------------------------------------------------------------------------------- /testing_data/L6/Chn_2/Chn_o.TextGrid: -------------------------------------------------------------------------------- 1 | File type = "ooTextFile" 2 | Object class = "TextGrid" 3 | 4 | xmin = 0 5 | xmax = 6.3172789115646255 6 | tiers? 7 | size = 1 8 | item []: 9 | item [1]: 10 | class = "IntervalTier" 11 | name = "vowel" 12 | xmin = 0 13 | xmax = 6.3172789115646255 14 | intervals: size = 7 15 | intervals [1]: 16 | xmin = 0 17 | xmax = 0.8679031071888216 18 | text = "" 19 | intervals [2]: 20 | xmin = 0.8679031071888216 21 | xmax = 1.4724149659863945 22 | text = "o" 23 | intervals [3]: 24 | xmin = 1.4724149659863945 25 | xmax = 2.3497304363922438 26 | text = "" 27 | intervals [4]: 28 | xmin = 2.3497304363922438 29 | xmax = 3.077106782106782 30 | text = "o" 31 | intervals [5]: 32 | xmin = 3.077106782106782 33 | xmax = 3.983711682203746 34 | text = "" 35 | intervals [6]: 36 | xmin = 3.983711682203746 37 | xmax = 4.811041666666666 38 | text = "o" 39 | intervals [7]: 40 | xmin = 4.811041666666666 41 | xmax = 6.3172789115646255 42 | text = "" 43 | -------------------------------------------------------------------------------- /testing_data/L6/Chn_2/Chn_o.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZenMule/Praat_Scripting_Tutorial/27edc04067de0ea4b134ad5b65de9eb6213ba908/testing_data/L6/Chn_2/Chn_o.wav -------------------------------------------------------------------------------- /testing_data/L6/Chn_2/Chn_u.TextGrid: -------------------------------------------------------------------------------- 1 | File type = "ooTextFile" 2 | Object class = "TextGrid" 3 | 4 | xmin = 0 5 | xmax = 6.38984126984127 6 | tiers? 7 | size = 1 8 | item []: 9 | item [1]: 10 | class = "IntervalTier" 11 | name = "vowel" 12 | xmin = 0 13 | xmax = 6.38984126984127 14 | intervals: size = 7 15 | intervals [1]: 16 | xmin = 0 17 | xmax = 1.001536717251003 18 | text = "" 19 | intervals [2]: 20 | xmin = 1.001536717251003 21 | xmax = 1.6590858843537415 22 | text = "u" 23 | intervals [3]: 24 | xmin = 1.6590858843537415 25 | xmax = 2.495929242445277 26 | text = "" 27 | intervals [4]: 28 | xmin = 2.495929242445277 29 | xmax = 3.1975226757369613 30 | text = "u" 31 | intervals [5]: 32 | xmin = 3.1975226757369613 33 | xmax = 4.1658009158355895 34 | text = "" 35 | intervals [6]: 36 | xmin = 4.1658009158355895 37 | xmax = 4.855066693344004 38 | text = "u" 39 | intervals [7]: 40 | xmin = 4.855066693344004 41 | xmax = 6.38984126984127 42 | text = "" 43 | -------------------------------------------------------------------------------- /testing_data/L6/Chn_2/Chn_u.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZenMule/Praat_Scripting_Tutorial/27edc04067de0ea4b134ad5b65de9eb6213ba908/testing_data/L6/Chn_2/Chn_u.wav -------------------------------------------------------------------------------- /testing_data/L6/chn_formant_refs.csv: -------------------------------------------------------------------------------- 1 | Vowel,Gender,F1_init,F2_init,F3_init,F1_med,F2_med,F3_med,F1_fin,F2_fin,F3_fin 2 | i,M,0,0,0,350,2200,3700,0,0,0 3 | e,M,0,0,0,540,2000,2500,0,0,0 4 | a,M,0,0,0,680,1430,2300,0,0,0 5 | o,M,0,0,0,380,800,2600,0,0,0 6 | u,M,0,0,0,350,700,2500,0,0,0 7 | i,F,0,0,0,320,3200,4300,0,0,0 8 | e,F,0,0,0,630,2800,3500,0,0,0 9 | a,F,0,0,0,800,1700,3000,0,0,0 10 | o,F,0,0,0,350,930,3600,0,0,0 11 | u,F,0,0,0,300,750,3300,0,0,0 12 | ai,M,670,1400,2500,520,1900,2600,550,2300,2700 13 | au,M,680,940,2500,520,880,2400,500,830,2400 14 | ou,M,500,990,2400,421,800,2400,334,690,2400 -------------------------------------------------------------------------------- /testing_data/L6/chn_speaker_log.csv: -------------------------------------------------------------------------------- 1 | Speaker,Gender 2 | Chn_1,M 3 | Chn_2,F -------------------------------------------------------------------------------- /testing_data/L6/formant_setting.csv: -------------------------------------------------------------------------------- 1 | Gender,Formant_ceiling,Number_formants 2 | M,4000,4 3 | F,5500,5 -------------------------------------------------------------------------------- /testing_data/L6_context.txt: -------------------------------------------------------------------------------- 1 | File_name Speaker Gender Seg_num Seg Dur Seg_prev Seg_subs Syll Syll_dur 2 | File_name Speaker Gender Seg_num Seg Dur Seg_prev Seg_subs Syll Syll_dur 3 | chn_1_a.wav Chn_1 M 2 a 0.476 NA NA NA 0 4 | chn_1_a.wav Chn_1 M 4 a 0.506 NA NA NA 0 5 | chn_1_a.wav Chn_1 M 6 a 0.520 NA NA NA 0 6 | chn_1_diphthongs.wav Chn_1 M 3 ai 0.390 NA NA NA 0 7 | chn_1_diphthongs.wav Chn_1 M 6 ai 0.370 NA NA NA 0 8 | chn_1_diphthongs.wav Chn_1 M 9 ai 0.317 NA NA NA 0 9 | chn_1_diphthongs.wav Chn_1 M 12 ai 0.381 NA NA NA 0 10 | chn_1_diphthongs.wav Chn_1 M 15 ai 0.398 NA NA NA 0 11 | chn_1_diphthongs.wav Chn_1 M 18 ai 0.336 NA NA NA 0 12 | chn_1_diphthongs.wav Chn_1 M 21 ai 0.408 NA NA NA 0 13 | chn_1_diphthongs.wav Chn_1 M 24 ai 0.422 NA NA NA 0 14 | chn_1_diphthongs.wav Chn_1 M 27 ai 0.425 NA NA NA 0 15 | chn_1_diphthongs.wav Chn_1 M 30 ai 0.221 NA NA NA 0 16 | chn_1_diphthongs.wav Chn_1 M 33 ai 0.211 NA NA NA 0 17 | chn_1_diphthongs.wav Chn_1 M 36 ai 0.248 NA NA NA 0 18 | chn_1_diphthongs.wav Chn_1 M 39 au 0.290 NA NA NA 0 19 | chn_1_diphthongs.wav Chn_1 M 42 au 0.292 NA NA NA 0 20 | chn_1_diphthongs.wav Chn_1 M 45 au 0.299 NA NA NA 0 21 | chn_1_diphthongs.wav Chn_1 M 48 au 0.366 NA NA NA 0 22 | chn_1_diphthongs.wav Chn_1 M 51 au 0.339 NA NA NA 0 23 | chn_1_diphthongs.wav Chn_1 M 54 au 0.317 NA NA NA 0 24 | chn_1_diphthongs.wav Chn_1 M 57 au 0.473 NA NA NA 0 25 | chn_1_diphthongs.wav Chn_1 M 60 au 0.429 NA NA NA 0 26 | chn_1_diphthongs.wav Chn_1 M 63 au 0.419 NA NA NA 0 27 | chn_1_diphthongs.wav Chn_1 M 66 au 0.203 NA NA NA 0 28 | chn_1_diphthongs.wav Chn_1 M 69 au 0.198 NA NA NA 0 29 | chn_1_diphthongs.wav Chn_1 M 72 au 0.178 NA NA NA 0 30 | chn_1_diphthongs.wav Chn_1 M 75 ou 0.321 NA NA NA 0 31 | chn_1_diphthongs.wav Chn_1 M 78 ou 0.341 NA NA NA 0 32 | chn_1_diphthongs.wav Chn_1 M 81 ou 0.344 NA NA NA 0 33 | chn_1_diphthongs.wav Chn_1 M 84 ou 0.374 NA NA NA 0 34 | chn_1_diphthongs.wav Chn_1 M 87 ou 0.402 NA NA NA 0 35 | chn_1_diphthongs.wav Chn_1 M 90 ou 0.366 NA NA NA 0 36 | chn_1_diphthongs.wav Chn_1 M 93 ou 0.533 NA NA NA 0 37 | chn_1_diphthongs.wav Chn_1 M 96 ou 0.448 NA NA NA 0 38 | chn_1_diphthongs.wav Chn_1 M 99 ou 0.411 NA NA NA 0 39 | chn_1_diphthongs.wav Chn_1 M 102 ou 0.199 NA NA NA 0 40 | chn_1_diphthongs.wav Chn_1 M 105 ou 0.184 NA NA NA 0 41 | chn_1_diphthongs.wav Chn_1 M 108 ou 0.202 NA NA NA 0 42 | chn_1_e.wav Chn_1 M 2 e 0.475 NA NA NA 0 43 | chn_1_e.wav Chn_1 M 4 e 0.520 NA NA NA 0 44 | chn_1_e.wav Chn_1 M 6 e 0.478 NA NA NA 0 45 | chn_1_i.wav Chn_1 M 2 i 0.417 NA NA NA 0 46 | chn_1_i.wav Chn_1 M 4 i 0.399 NA NA NA 0 47 | chn_1_i.wav Chn_1 M 6 i 0.478 NA NA NA 0 48 | chn_1_o.wav Chn_1 M 2 o 0.533 NA NA NA 0 49 | chn_1_o.wav Chn_1 M 4 o 0.533 NA NA NA 0 50 | chn_1_o.wav Chn_1 M 6 o 0.538 NA NA NA 0 51 | chn_1_u.wav Chn_1 M 2 u 0.494 NA NA NA 0 52 | chn_1_u.wav Chn_1 M 4 u 0.532 NA NA NA 0 53 | chn_1_u.wav Chn_1 M 6 u 0.484 NA NA NA 0 54 | Chn_a.wav Chn_2 F 2 a 0.673 NA NA NA 0 55 | Chn_a.wav Chn_2 F 4 a 0.731 NA NA NA 0 56 | Chn_a.wav Chn_2 F 6 a 0.826 NA NA NA 0 57 | Chn_e.wav Chn_2 F 2 e 0.674 NA NA NA 0 58 | Chn_e.wav Chn_2 F 4 e 0.701 NA NA NA 0 59 | Chn_e.wav Chn_2 F 6 e 0.761 NA NA NA 0 60 | Chn_i.wav Chn_2 F 2 i 0.540 NA NA NA 0 61 | Chn_i.wav Chn_2 F 4 i 0.659 NA NA NA 0 62 | Chn_i.wav Chn_2 F 6 i 0.623 NA NA NA 0 63 | Chn_o.wav Chn_2 F 2 o 0.605 NA NA NA 0 64 | Chn_o.wav Chn_2 F 4 o 0.727 NA NA NA 0 65 | Chn_o.wav Chn_2 F 6 o 0.827 NA NA NA 0 66 | Chn_u.wav Chn_2 F 2 u 0.658 NA NA NA 0 67 | Chn_u.wav Chn_2 F 4 u 0.702 NA NA NA 0 68 | Chn_u.wav Chn_2 F 6 u 0.689 NA NA NA 0 69 | --------------------------------------------------------------------------------