Home > @d_opvt > private > vtsynth.m

vtsynth

PURPOSE ^

VTSYNTH Mex function which synthesizes the sounds

SYNOPSIS ^

function [sig] = vtsynth(nss,Ag0,AgP,F0,TAF1,TAF2,dx);

DESCRIPTION ^

 VTSYNTH   Mex function which synthesizes the sounds
   The parameters for this function are as follows:
       - Number of cross sectional areas 
       - Ag0 and AgP are vocal tract controlparameters.
       - F0 is the formant contour
       - TAF1 is the time points for the data
       - TAF2 is the area function
       - dx is the thickness of each area function
   
   The typical form of the parameters Ag0, AgP and F0 are of the form:
   [timestamp1 value1 interpolation_scheme1;timestamp2 value2 interpolation_scheme2; ...]'
   NOTE: Please note the transpose at the end of the above line -------------------------^
       as opposed to diva_synth2 where the structure is without the transpose
   where interpolation_scheme takes values: 
           0 - set
           1 - linear interpolation
           2 - exponential interpolation
   
   See synth1 in the @d_opvt directory for an example of how to
   use this function. Otherwise see the vt2k folder for the source
   of the DLL and a demo routine

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function [sig] = vtsynth(nss,Ag0,AgP,F0,TAF1,TAF2,dx);
0002 % VTSYNTH   Mex function which synthesizes the sounds
0003 %   The parameters for this function are as follows:
0004 %       - Number of cross sectional areas
0005 %       - Ag0 and AgP are vocal tract controlparameters.
0006 %       - F0 is the formant contour
0007 %       - TAF1 is the time points for the data
0008 %       - TAF2 is the area function
0009 %       - dx is the thickness of each area function
0010 %
0011 %   The typical form of the parameters Ag0, AgP and F0 are of the form:
0012 %   [timestamp1 value1 interpolation_scheme1;timestamp2 value2 interpolation_scheme2; ...]'
0013 %   NOTE: Please note the transpose at the end of the above line -------------------------^
0014 %       as opposed to diva_synth2 where the structure is without the transpose
0015 %   where interpolation_scheme takes values:
0016 %           0 - set
0017 %           1 - linear interpolation
0018 %           2 - exponential interpolation
0019 %
0020 %   See synth1 in the @d_opvt directory for an example of how to
0021 %   use this function. Otherwise see the vt2k folder for the source
0022 %   of the DLL and a demo routine
0023 
0024 % Satrajit Ghosh, SpeechLab, Boston University. (c)2001
0025 % $Header: /mnt/localhd/cvsdir/MODELLING/NEWDIVA/@d_opvt/private/vtsynth.m,v 1.1.1.1 2006/10/06 18:20:23 brumberg Exp $
0026 
0027 % $NoKeywords: $
0028 
0029 % Setup globals
0030 global RELEASE

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