summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/vocaltract/vtLatex_FigureLauncher.tex
blob: eb0ed2c8b0317582d73f7c0100d047ad6fb7cd38 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
%=======================================
%  Vocal Tract Figure Generator
%=======================================
\documentclass{article}
\usepackage{VocalTract}
\pagestyle{empty}

\begin{document}
\input{vtLatex_TimeParams} % Parameters stored in a file
\def\IndexStepVocalTract{1}
\psset{yunit=2cm,xunit=2cm}
\begin{pspicture*}(0cm,0cm)(13cm,18cm) 
\def\BreathType{0.5}      % Normal Breathing [0.1 to 0.9]
\SetOscAmp{\IndexStepVocalTract}{\BreathType}                % For Breath
\UpdateVocalTract{\IndexStepVocalTract}         % Update Vocal Tract in the respective time   
\VocalChords              % Show VCords
\StomachCompartment       % Show Stomach Compartment   
%\PlotDotsVocal           % Show movable vocal tract points 
\rput(3cm,14cm){\ShowPhonemesGerman{\IndexStepVocalTract}}  % Show the phonemes transcriptions
\ShowPressure{\IndexStepVocalTract}  % Show Pressure as Red Space
\rput(3cm,0cm){\ShowLinearTubes{\IndexStepVocalTract}\VocalChords}  % The linear model next to the human 
\rput(3cm,0cm){\ShowParameters}  % Explain the parameters
%------------ Grid and Axes Labels --------------
%\uput[45](0,8){$\times$ 10 cm}
%\uput[45](3,0){$\times$ 10 cm}
%\psgrid[gridcolor=blue,subgridcolor=gray,gridlabels=7pt,subgriddiv=10](0,0)(5,12) % subgriddiv=4,griddots=10,
%------------------------------------------------
\end{pspicture*}
\end{document}