marytts.signalproc.process
Interface InlineFrameMerger

All Superinterfaces:
InlineDataProcessor
All Known Implementing Classes:
LPCCInterpolator, LSFInterpolator

public interface InlineFrameMerger
extends InlineDataProcessor

Author:
marc

Method Summary
 void setFrameToMerge(double[] frameToMerge)
          Set the frame of data to merge into the next call of applyInline().
 void setFrameToMerge(double[] frame1, double[] frame2, double relativeWeightFrame1)
          Set the frame of data to merge into the next call of applyInline().
 
Methods inherited from interface marytts.signalproc.process.InlineDataProcessor
applyInline
 

Method Detail

setFrameToMerge

void setFrameToMerge(double[] frameToMerge)
Set the frame of data to merge into the next call of applyInline().

Parameters:
frameToMerge -

setFrameToMerge

void setFrameToMerge(double[] frame1,
                     double[] frame2,
                     double relativeWeightFrame1)
Set the frame of data to merge into the next call of applyInline(). This method allows for an interpolation of two frames to be merged into the data set; for example, in order to correct for time misalignment between signal and other frames.

Parameters:
frame1 -
frame2 -
relativeWeightFrame1, - a number between 0 and 1 indicating the relative weight of frame1^ with respect to frame2. Consequently, the relative weight of frame 2 will be (1 - relativeWeightFrame1).