segOpMat.c File Reference

Function to write out aligned sets of articulatory trajectory values and acoustic vectors. More...

#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include "segCommon.h"
#include "segDecoder.h"

Functions

int segWriteAlignedVectors (FILE *aMatFptr, FILE *iMatFptr, SEG_STATE **stateId, int *stateSeq, SEG_SYNTAX *syn, double **spData, int sT, int eT)
 Write out aligned sets of articulatory trajectory values and acoustic vectors.


Detailed Description

Function to write out aligned sets of articulatory trajectory values and acoustic vectors.

Date:
22 March 2002 (Originally written by M Russell)
30 June 2007 (Comments added by Y Shiga for doxygen)
Revision

Function Documentation

int segWriteAlignedVectors ( FILE *  aMatFptr,
FILE *  iMatFptr,
SEG_STATE **  stateId,
int *  stateSeq,
SEG_SYNTAX syn,
double **  spData,
int  sT,
int  eT 
)

Write out aligned sets of articulatory trajectory values and acoustic vectors.

This function writes the intermediate (articulatory) and acoustic vectors corresponding to an aligned utterance to different files, which can be compared with the original data for system analysis.

Parameters:
[in] aMatFptr File pointer to the acoustic feature file
[in] iMatFptr File pointer to the articulatory feature file
[in] stateId Array of state identities of the best state sequence
[in] stateSeq Best state-number sequence
[in] syn Syntax
[in] spData Feature vectors of actual speech
[in] sT Start time (frame) of the utterance
[in] eT End time (frame) of the utterance
Return values:
RTN_ERROR Memory allocation error
NO_ERROR Successfully executed
Author:
Yoshinori Shiga @ CVSSP, University of Surrey


Generated on Sun Aug 5 02:40:40 2007 for SEGRec Version 1.0 by  doxygen 1.5.1