Functions

ShiftedDeltaFeatMain.cpp File Reference

#include <iostream>
#include "ShiftedDeltaFeat.h"
#include <alize.h>
#include <liatools.h>
Include dependency graph for ShiftedDeltaFeatMain.cpp:

Go to the source code of this file.

Functions

int main (int argc, char *argv[])
 Reads a parametric file (or list of prm files) containing cepstral features and writes a file containing the shifted delta features.

Function Documentation

int main ( int  argc,
char *  argv[] 
)

Reads a parametric file (or list of prm files) containing cepstral features and writes a file containing the shifted delta features.

Parameters:
argcnumber or arguments
argvargument array - in usual Mistral format [see detailed description below for config params]
Date:
11 april 2008

Config-Params are: inputFeatureFilename could be a simple feature file or a list of filename featureServerMode should really be FEATURE_WRITABLE to write features to outpu file vectSize SDC param N (below) SDCdeltaDelay SDC param d (below) SDCtimeAdvance SDC param P (below) SDCdeltaBlocks SDC param k (below) [SDCkeepCepstra] bool, if we want to keep the cepstral features in the output

SDC parameters are: N number of cepstral coefficients d advance and delay for the delta computation (in each delta block) P time shift between consecutive delta blocks k number of delta blocks whose delta coefficients are concatenated to form the final feature vector

For each input vector at "time" t: ShDeltaO_h(t,i) = O_h( t + i*P + d) - O_h( t + i*P - d) ; i = 0, 1, 2 ... k-1 ; O_h is the input featureVector ShiftedDeltaCepstraVectorO_h(t) = concatenation of all ShDeltaO_h(t,i) ; i = 0, 1, 2 ... k-1

t t+P t+2P ... t+(k-1)P | | | | t-----------------------------------------------------> | | | | | | ... | | -d +d -d +d -d +d -d +d '-' '-' '-' '-' | | | | block0 block1 block2 .. block(k-1)

SDC-vector: [ block0' block1' block2' ... block(k-1)' ]' ; Thus, its dimension is k*N

There is the possibility to keep the cepstral features in the output vector: SDC-vector: [ cepstra' block0' block1' block2' ... block(k-1)' ]' ; with dimension N+(k*N)

Often used SDC parameters are: 7-1-3-7 or 7-1-3-4 or 10-1-3-3

Refs (param description and formula):

Definition at line 111 of file ShiftedDeltaFeatMain.cpp.

References debug, ShiftedDeltaFeat(), verbose, and verboseLevel.