| 1 | /* Art_Speaker.h |
| 2 | * |
| 3 | * Copyright (C) 1992-2005,2011,2016-2018 Paul Boersma |
| 4 | * |
| 5 | * This code is free software; you can redistribute it and/or modify |
| 6 | * it under the terms of the GNU General Public License as published by |
| 7 | * the Free Software Foundation; either version 2 of the License, or (at |
| 8 | * your option) any later version. |
| 9 | * |
| 10 | * This code is distributed in the hope that it will be useful, but |
| 11 | * WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
| 13 | * See the GNU General Public License for more details. |
| 14 | * |
| 15 | * You should have received a copy of the GNU General Public License |
| 16 | * along with this work. If not, see <http://www.gnu.org/licenses/>. |
| 17 | */ |
| 18 | |
| 19 | #include "Articulation.h" |
| 20 | #include "Speaker.h" |
| 21 | #include "Graphics.h" |
| 22 | |
| 23 | void Art_Speaker_toVocalTract (Art art, Speaker speaker, |
| 24 | double intX [], double intY [], double extX [], double extY [], |
| 25 | double *out_bodyX, double *out_bodyY); |
| 26 | /* |
| 27 | Function: |
| 28 | compute key places of the supralaryngeal vocal tract. |
| 29 | Preconditions: |
| 30 | index intX [1..13]; |
| 31 | index intY [1..13]; |
| 32 | index extX [1..9]; |
| 33 | index extY [1..9]; |
| 34 | Postconditions: |
| 35 | int [1..6] is anterior larynx, hyoid, and tongue root. |
| 36 | int [6..7] is the arc of the tongue body. |
| 37 | int [7..13] is tongue blade, lower teeth, and lower lip. |
| 38 | ext [1..5] is posterior larynx, back pharynx wall, and velic. |
| 39 | ext [5..6] is the arc of the velum and palate. |
| 40 | ext [6..9] is the gums, upper teeth and upper lip. |
| 41 | */ |
| 42 | |
| 43 | void Art_Speaker_draw (Art art, Speaker speaker, Graphics g); |
| 44 | void Art_Speaker_fillInnerContour (Art art, Speaker speaker, Graphics g); |
| 45 | |
| 46 | void Art_Speaker_meshVocalTract (Art art, Speaker speaker, |
| 47 | double xi [], double yi [], double xe [], double ye [], |
| 48 | double xmm [], double ymm [], bool closed []); |
| 49 | |
| 50 | void Art_Speaker_drawMesh (Art art, Speaker speaker, Graphics g); |
| 51 | |
| 52 | /* End of file Art_Speaker.h */ |