de.dfki.lt.mary.unitselection
Class LPCOverlapUnitConcatenator.UnitLPCData

java.lang.Object
  extended by de.dfki.lt.mary.unitselection.LPCOverlapUnitConcatenator.UnitLPCData
Enclosing class:
LPCOverlapUnitConcatenator

protected static class LPCOverlapUnitConcatenator.UnitLPCData
extends java.lang.Object


Constructor Summary
LPCOverlapUnitConcatenator.UnitLPCData()
           
 
Method Summary
 LPCDatagram getFrame(int frameIndex)
           
 int getNumberOfPitchmarks()
           
 int getPeriodLength(int periodIndex)
          Get the length of the pitch period ending with pitchmark with the index number periodIndex.
 int getPitchmark(int periodIndex)
          Get the pitchmark marking the end of the period with the index number periodIndex.
 int[] getPitchmarks()
           
 void setFrame(int frameIndex, LPCDatagram frame)
           
 void setFrames(LPCDatagram[] frames)
           
 void setPitchmarks(int[] pitchmarks)
          Set the array of to-be-realised pitchmarks for the realisation of the selected unit.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LPCOverlapUnitConcatenator.UnitLPCData

public LPCOverlapUnitConcatenator.UnitLPCData()
Method Detail

setPitchmarks

public void setPitchmarks(int[] pitchmarks)
Set the array of to-be-realised pitchmarks for the realisation of the selected unit.

Parameters:
pitchmarks -

getPitchmarks

public int[] getPitchmarks()

getPitchmark

public int getPitchmark(int periodIndex)
Get the pitchmark marking the end of the period with the index number periodIndex.

Parameters:
periodIndex -
Returns:
the pitchmark position, in samples

getPeriodLength

public int getPeriodLength(int periodIndex)
Get the length of the pitch period ending with pitchmark with the index number periodIndex.

Parameters:
periodIndex -
Returns:
the period length, in samples

getNumberOfPitchmarks

public int getNumberOfPitchmarks()

setFrames

public void setFrames(LPCDatagram[] frames)

setFrame

public void setFrame(int frameIndex,
                     LPCDatagram frame)

getFrame

public LPCDatagram getFrame(int frameIndex)