marytts.unitselection.select
Class SelectedUnit

java.lang.Object
  extended by marytts.unitselection.select.SelectedUnit

public class SelectedUnit
extends java.lang.Object

A unit selected from Viterbi

Author:
Marc Schröder

Field Summary
protected  double[] audio
           
protected  java.lang.Object concatenationData
           
protected  Target target
           
protected  Unit unit
           
 
Constructor Summary
SelectedUnit(Unit unit, Target target)
           
 
Method Summary
 double[] getAudio()
           
 java.lang.Object getConcatenationData()
           
 Target getTarget()
           
 Unit getUnit()
           
 void setAudio(double[] audio)
           
 void setConcatenationData(java.lang.Object concatenationData)
          Remember data about this selected unit which is relevant for unit concatenation.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

unit

protected Unit unit

target

protected Target target

concatenationData

protected java.lang.Object concatenationData

audio

protected double[] audio
Constructor Detail

SelectedUnit

public SelectedUnit(Unit unit,
                    Target target)
Method Detail

getUnit

public Unit getUnit()

getTarget

public Target getTarget()

setConcatenationData

public void setConcatenationData(java.lang.Object concatenationData)
Remember data about this selected unit which is relevant for unit concatenation. What type of data is saved here depends on the UnitConcatenator used.

Parameters:
concatenationData -

getConcatenationData

public java.lang.Object getConcatenationData()

setAudio

public void setAudio(double[] audio)

getAudio

public double[] getAudio()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object