Art_Speaker.h 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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. #include "Articulation.h"
  19. #include "Speaker.h"
  20. #include "Graphics.h"
  21. void Art_Speaker_toVocalTract (Art art, Speaker speaker,
  22. double intX [], double intY [], double extX [], double extY [],
  23. double *bodyX, double *bodyY);
  24. /*
  25. Function:
  26. compute key places of the supralaryngeal vocal tract.
  27. Preconditions:
  28. index intX [1..13];
  29. index intY [1..13];
  30. index extX [1..9];
  31. index extY [1..9];
  32. Postconditions:
  33. int [1..6] is anterior larynx, hyoid, and tongue root.
  34. int [6..7] is the arc of the tongue body.
  35. int [7..13] is tongue blade, lower teeth, and lower lip.
  36. ext [1..5] is posterior larynx, back pharynx wall, and velic.
  37. ext [5..6] is the arc of the velum and palate.
  38. ext [6..9] is the gums, upper teeth and upper lip.
  39. */
  40. void Art_Speaker_draw (Art art, Speaker speaker, Graphics g);
  41. void Art_Speaker_fillInnerContour (Art art, Speaker speaker, Graphics g);
  42. void Art_Speaker_meshVocalTract (Art art, Speaker speaker,
  43. double xi [], double yi [], double xe [], double ye [],
  44. double xmm [], double ymm [], bool closed []);
  45. void Art_Speaker_drawMesh (Art art, Speaker speaker, Graphics g);
  46. /* End of file Art_Speaker.h */