inpro.synthesis.hts
Class FullPStream

java.lang.Object
  extended by inpro.synthesis.hts.FullPStream
Direct Known Subclasses:
HTSFullPStream, IUBasedFullPStream, ListBackedFullPStream

public abstract class FullPStream
extends java.lang.Object

A stream of all Parameter Features ordered by time necessary for the vocoder. i.e., the data that Mary/HTS stores in paramtypes->time ordering re-organized for time->paramtypes access, (with paramtypes conveniently wrapped in FullPFeatureFrames) which, surprise!, allows for incremental production of parameter features.

Author:
timo

Field Summary
(package private)  int currPosition
          the current position in the feature stream
static int FRAMES_PER_SECOND
           
 
Constructor Summary
FullPStream()
           
 
Method Summary
abstract  FullPFeatureFrame getFullFrame(int t)
           
 java.util.List<FullPFeatureFrame> getFullFrames(int start, int length)
          get a section of the FullPFeatureFrames in the list
abstract  int getMaxT()
           
 int getMcepParSize()
           
 int getMcepVSize()
           
 FullPFeatureFrame getNextFrame()
           
 int getStrParSize()
           
 boolean hasFrame(int t)
           
 boolean hasNextFrame()
           
 void setNextFrame(int newPosition)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FRAMES_PER_SECOND

public static int FRAMES_PER_SECOND

currPosition

int currPosition
the current position in the feature stream

Constructor Detail

FullPStream

public FullPStream()
Method Detail

getFullFrame

public abstract FullPFeatureFrame getFullFrame(int t)

getNextFrame

public FullPFeatureFrame getNextFrame()

hasNextFrame

public boolean hasNextFrame()

setNextFrame

public void setNextFrame(int newPosition)

getFullFrames

public java.util.List<FullPFeatureFrame> getFullFrames(int start,
                                                       int length)
get a section of the FullPFeatureFrames in the list


getMcepParSize

public int getMcepParSize()

getMcepVSize

public int getMcepVSize()

getStrParSize

public int getStrParSize()

hasFrame

public boolean hasFrame(int t)

getMaxT

public abstract int getMaxT()