| 1 |
# test/manually/movies.praat |
| 2 |
# Paul Boersma 2020-09-19 |
| 3 |
|
| 4 |
## Matrix movies. |
| 5 |
|
| 6 |
matrix = Create simple Matrix: "xy", 100, 100, ~ x*y |
| 7 |
pauseScript: "watch a line with a slope that rises in time." |
| 8 |
Play movie |
| 9 |
Remove |
| 10 |
|
| 11 |
## Articulatory synthesis. |
| 12 |
|
| 13 |
speaker = Create Speaker: "speaker", "female", "2" |
| 14 |
artword = Create Artword: "oko", 1.0 |
| 15 |
Set target: 0.0, 0.8, "Lungs" |
| 16 |
Set target: 0.3, 0.3, "Lungs" |
| 17 |
Set target: 1.0, 0.0, "Lungs" |
| 18 |
Set target: 0.0, 0.5, "Interarytenoid" |
| 19 |
Set target: 1.0, 0.5, "Interarytenoid" |
| 20 |
Set target: 0.5, 0.9, "Styloglossus" |
| 21 |
|
| 22 |
selectObject: speaker, artword |
| 23 |
pauseScript: "Watch a vocal tract saying [oko]." |
| 24 |
Play movie |
| 25 |
|
| 26 |
pauseScript: "Watch the vocal folds move while the sound is computed." |
| 27 |
sound = To Sound: 22050, 25, 0,0,0,0,0,0,0,0,0 |
| 28 |
|
| 29 |
selectObject: speaker, artword, sound |
| 30 |
pauseScript: "Watch and hear a vocal tract saying [oko]." |
| 31 |
Play movie |
| 32 |
Remove |
| 33 |
|
| 34 |
## OTGrammar. |
| 35 |
|
| 36 |
grammar = Create place assimilation grammar |
| 37 |
distribution = Create place assimilation distribution |
| 38 |
selectObject: grammar, distribution |
| 39 |
pauseScript: "Watch the constraint rankings evolve." |
| 40 |
Learn: 2.0, "symmetric all", 1.0, 1e6, 0.1, 4, 0.1, "yes", 1 |
| 41 |
Remove |
| 42 |
|
| 43 |
## Minimizers. |