| 1 |
Vocal Tract Latex package |
| 2 |
--------------------------- |
| 3 |
by Dr. Dimitrios Ververidis |
| 4 |
|
| 5 |
The manuscript related to this package can be found on PRACTex journal 2012/1 |
| 6 |
URL: http://dw.tug.org/pracjourn/2012-1/ververidis/ververidis.pdf |
| 7 |
|
| 8 |
Please cite as: |
| 9 |
|
| 10 |
"Dimitrios Ververidis, Daniel Schneider, and Joachim Koehler, "The vocal tract LATEX package," PracTeX journal, no 1, 2012." |
| 11 |
|
| 12 |
Package tested for Miktex 2.8 and 2.9 and Matlab 7.5 under Windows |
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
The software is licensed as FREE under APACHE 2.0 licence: |
| 17 |
http://www.apache.org/licenses/LICENSE-2.0.html |
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
Using the package: |
| 22 |
-------------------- |
| 23 |
|
| 24 |
Examples |
| 25 |
|
| 26 |
1st Example - Simple Figure from Latex compiling |
| 27 |
------------------------------------------------- |
| 28 |
|
| 29 |
Create a figure in PS or PDF by compiling with latex the file: |
| 30 |
|
| 31 |
vtLatex_FigureDemo.tex |
| 32 |
|
| 33 |
|
| 34 |
2nd Example - Animation from Latex compiling |
| 35 |
--------------------------------------------- |
| 36 |
|
| 37 |
Create an animation in PDF by compiling with latex the file: |
| 38 |
|
| 39 |
vtLatex_AnimationDemo.tex |
| 40 |
|
| 41 |
|
| 42 |
3rd Example - Simple Figure or Animation compiling from Matlab |
| 43 |
-------------------------------------------------------------- |
| 44 |
|
| 45 |
Create a simple Figure or Animation by compiling from Matlab the function |
| 46 |
|
| 47 |
vtMainVisual.m |
| 48 |
|
| 49 |
as |
| 50 |
>> vtMainVisual(VocalTractVecToTime, SWPDForBMP) |
| 51 |
|
| 52 |
where |
| 53 |
|
| 54 |
1. "VocalTractVecToTime" is the CELL of vocal set up through time. See the codebook of german phonemes in the VocalTract.sty. |
| 55 |
|
| 56 |
For Example |
| 57 |
|
| 58 |
VocalTractVecToTime = ... |
| 59 |
{[ 0.5, -2, 1 , -2 , 1, -1 , 0, 0, 0, 0], 'i' ; |
| 60 |
[ 0.5, -2, 1 , -2 , 0, 2 , 0, 0, 0, 0], 'y(\"u)' ; |
| 61 |
[-1 , -1, 1 , -2 , 1, -0.5, 0, 0, 0, 0], 'e' }; |
| 62 |
|
| 63 |
2. "SWPDForBMP" is the string either 'bmp' or 'pdf' to define the output format. |
| 64 |
|
| 65 |
In case of 'bmp' the irfan view programm should be in current path. |
| 66 |
From IrfanView two files are needed to be in current directory |
| 67 |
1. "i_view32.exe" and |
| 68 |
2. "/plugins/Postscript.dll" |
| 69 |
Free download IrfanView from Irfan Skiljan, E-Mail: [email protected], http://www.irfanview.com |
| 70 |
|
| 71 |
|
| 72 |
4th Example - Animation compiling from Matlab with phonemes as an input |
| 73 |
------------------------------------------------------------------------ |
| 74 |
|
| 75 |
Create a PDF by compiling from Matlab |
| 76 |
e.g. |
| 77 |
|
| 78 |
>> vtQueryVisual('zats') |
| 79 |
|
| 80 |
|
| 81 |
|
| 82 |
|
| 83 |
|