Home > @d_opvt > private > AMgetdata.m

AMgetdata

PURPOSE ^

AMGETDATA This function computes the LAM transfer function

SYNOPSIS ^

function [af,tf,f,b,a,p1,p2] = AMgetdata(TC,PC,AMpar)

DESCRIPTION ^

    AMGETDATA This function computes the LAM transfer function
        (Implemented as a mex function)

        AMGETDATA calculates the area functions, the transfer
        function, the formants, bandwidths and amplitudes for
        the given set of LAM parameters. In addition it also 
        returns two varaibles p1 and p2 which can be used to 
        plot the outline of the vocal tract using the function
        plot_lam.

        Input Parameters:
        TC        : tract configuration from gettc
        PC        : physical constants from getpc
        AMpar    : LAM parameters vector size(1,8)
        Note    : data is defined in vtsimul

        Output Parameters:
        af    :    area functions
        tf    :    transfer function
        f    :    formants
        b    :    bandwidths
        a    :    amplitudes
        p1    :    plotting parameters for plot_lam
        p2 :    plotting parameters for plot_lam

        Usage:
        [Af,Tf,F,B,A,P1,P2] = AMgetdata(...
              gettc(data.TC),...
              getpc(data.PC),...
              [data.AMpar.ampar,data.AMpar.anc]);

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function [af,tf,f,b,a,p1,p2] = AMgetdata(TC,PC,AMpar)
0002 %    AMGETDATA This function computes the LAM transfer function
0003 %        (Implemented as a mex function)
0004 %
0005 %        AMGETDATA calculates the area functions, the transfer
0006 %        function, the formants, bandwidths and amplitudes for
0007 %        the given set of LAM parameters. In addition it also
0008 %        returns two varaibles p1 and p2 which can be used to
0009 %        plot the outline of the vocal tract using the function
0010 %        plot_lam.
0011 %
0012 %        Input Parameters:
0013 %        TC        : tract configuration from gettc
0014 %        PC        : physical constants from getpc
0015 %        AMpar    : LAM parameters vector size(1,8)
0016 %        Note    : data is defined in vtsimul
0017 %
0018 %        Output Parameters:
0019 %        af    :    area functions
0020 %        tf    :    transfer function
0021 %        f    :    formants
0022 %        b    :    bandwidths
0023 %        a    :    amplitudes
0024 %        p1    :    plotting parameters for plot_lam
0025 %        p2 :    plotting parameters for plot_lam
0026 %
0027 %        Usage:
0028 %        [Af,Tf,F,B,A,P1,P2] = AMgetdata(...
0029 %              gettc(data.TC),...
0030 %              getpc(data.PC),...
0031 %              [data.AMpar.ampar,data.AMpar.anc]);
0032 
0033 % Copyright (c) 1999 Satrajit S. Ghosh (satra@bu.edu)
0034 % Department of Cognitive and Neural Systems, Boston University
0035 
0036 % $Revision: 1.1.1.1 $ $Date: 2006/10/06 18:20:23 $
0037 
0038 % Bug fixes
0039 
0040 % Modifications

Generated on Tue 27-Mar-2007 12:06:24 by m2html © 2003