diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/vocaltract/vtLatex_AnimationLauncher.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/vocaltract/vtLatex_AnimationLauncher.tex | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/vocaltract/vtLatex_AnimationLauncher.tex b/Master/texmf-dist/doc/latex/vocaltract/vtLatex_AnimationLauncher.tex new file mode 100644 index 00000000000..329e01243d8 --- /dev/null +++ b/Master/texmf-dist/doc/latex/vocaltract/vtLatex_AnimationLauncher.tex @@ -0,0 +1,35 @@ +%======================================= +% Vocal Tract Animation Launcher +%======================================= +\documentclass{article} +\usepackage{VocalTract} +\pagestyle{empty} + +\begin{document} +\input{vtLatex_TimeParams} % This is the file of Parameters generated by Matlab +\psset{yunit=2cm,xunit=2cm} +\begin{animateinline}[poster=first,loop,controls]{1}% +\multiframe{\Nframes}{IndexStepVocalTract=0+1}{ +\begin{pspicture*}(0cm,-2cm)(13cm,15.5cm) +\def\BreathType{0.5} % Normal Breathing [0.1 to 0.9] +%=========== BreathTypeIncreaseLinearly ==== +%\FPset\accelerBreath{0.00556} +%\FPmul\BreathType\IndexStepVocalTract\accelerBreath +%\FPadd\BreathType\BreathType{0.1} +\SetOscAmp{\IndexStepVocalTract}{\BreathType} % For Breath +\UpdateVocalTract{\IndexStepVocalTract} % Update Vocal Tract in the respective time +\VocalChords % Show VCords +\StomachCompartment % Show Stomach Compartment +\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(3.5cm,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*} +} % Multiframe +\end{animateinline} +\end{document}
\ No newline at end of file |