marytts.signalproc.sinusoidal.hntm.analysis
Class HntmSpeechSignal

java.lang.Object
  extended by marytts.signalproc.sinusoidal.hntm.analysis.HntmSpeechSignal
Direct Known Subclasses:
HntmPlusTransientsSpeechSignal

public class HntmSpeechSignal
extends java.lang.Object

Author:
oytun.turk

Field Summary
 HntmSpeechFrame[] frames
           
 float originalDurationInSeconds
           
 int samplingRateInHz
           
 
Constructor Summary
HntmSpeechSignal(HntmSpeechSignal existing)
           
HntmSpeechSignal(int totalFrm, int samplingRateInHz, float originalDurationInSeconds)
           
HntmSpeechSignal(java.lang.String binaryFile, int noiseModel)
           
 
Method Summary
 float[] getAnalysisTimes()
           
 float[] getLpcGainsAll()
           
 float[][] getLpcsAll()
           
 double[] getMaximumFrequencyOfVoicings()
           
 float[] getOrigNoiseStds()
           
 double[][] getPhasesInRadians()
           
 int getTotalFrames()
           
 void read(java.io.DataInputStream d, int noiseModel)
           
 void read(java.lang.String binaryFile, int noiseModel)
           
 void write(java.io.DataOutputStream d)
           
 void write(java.lang.String binaryFile)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

frames

public HntmSpeechFrame[] frames

samplingRateInHz

public int samplingRateInHz

originalDurationInSeconds

public float originalDurationInSeconds
Constructor Detail

HntmSpeechSignal

public HntmSpeechSignal(HntmSpeechSignal existing)

HntmSpeechSignal

public HntmSpeechSignal(int totalFrm,
                        int samplingRateInHz,
                        float originalDurationInSeconds)

HntmSpeechSignal

public HntmSpeechSignal(java.lang.String binaryFile,
                        int noiseModel)
Method Detail

write

public void write(java.lang.String binaryFile)
           throws java.io.IOException
Throws:
java.io.IOException

write

public void write(java.io.DataOutputStream d)
           throws java.io.IOException
Throws:
java.io.IOException

read

public void read(java.lang.String binaryFile,
                 int noiseModel)
          throws java.io.IOException
Throws:
java.io.IOException

read

public void read(java.io.DataInputStream d,
                 int noiseModel)
          throws java.io.IOException
Throws:
java.io.IOException

getAnalysisTimes

public float[] getAnalysisTimes()

getPhasesInRadians

public double[][] getPhasesInRadians()

getLpcsAll

public float[][] getLpcsAll()

getLpcGainsAll

public float[] getLpcGainsAll()

getOrigNoiseStds

public float[] getOrigNoiseStds()

getMaximumFrequencyOfVoicings

public double[] getMaximumFrequencyOfVoicings()

getTotalFrames

public int getTotalFrames()