marytts.signalproc.analysis
Class VoiceQuality

java.lang.Object
  extended by marytts.signalproc.analysis.VoiceQuality

public class VoiceQuality
extends java.lang.Object

A wrapper class for frame based voice quality parameters

Author:
Marcela Charfuelan

Field Summary
 VoiceQualityFileHeader params
           
 double[][] vq
           
 
Constructor Summary
VoiceQuality()
           
VoiceQuality(int numVqParams, int Fs, float skipSize, float winSize)
          VoiceQuality object containing various vq mesures
VoiceQuality(java.lang.String vqFile)
           
 
Method Summary
 void allocate(int numFramesVq, double[][] par)
           
 void applyZscoreNormalization()
           
 double[] getGOG()
           
 double[] getIC()
           
 double[] getOQG()
           
 double[] getRCG()
           
 double[] getSKG()
           
 void printMeanStd()
           
 void printPar()
           
 void readVqFile(java.lang.String vqFile)
           
static double[][] readVqs(java.io.DataInputStream stream, VoiceQualityFileHeader params)
           
 void writeVqFile(java.lang.String vqFile)
           
static void writeVqs(java.io.DataOutputStream stream, double[][] vqs)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

vq

public double[][] vq

params

public VoiceQualityFileHeader params
Constructor Detail

VoiceQuality

public VoiceQuality()

VoiceQuality

public VoiceQuality(java.lang.String vqFile)

VoiceQuality

public VoiceQuality(int numVqParams,
                    int Fs,
                    float skipSize,
                    float winSize)
VoiceQuality object containing various vq mesures

Parameters:
numVqParams - number of vq parameters per frame
Fs - sampling rate
skipSize - skip size in seconds
winSize - window size in seconds
Method Detail

allocate

public void allocate(int numFramesVq,
                     double[][] par)

getOQG

public double[] getOQG()

getGOG

public double[] getGOG()

getSKG

public double[] getSKG()

getRCG

public double[] getRCG()

getIC

public double[] getIC()

printPar

public void printPar()

printMeanStd

public void printMeanStd()

applyZscoreNormalization

public void applyZscoreNormalization()

readVqFile

public void readVqFile(java.lang.String vqFile)

writeVqFile

public void writeVqFile(java.lang.String vqFile)

writeVqs

public static void writeVqs(java.io.DataOutputStream stream,
                            double[][] vqs)
                     throws java.io.IOException
Throws:
java.io.IOException

readVqs

public static double[][] readVqs(java.io.DataInputStream stream,
                                 VoiceQualityFileHeader params)
                          throws java.io.IOException
Throws:
java.io.IOException