inpro.pitch.notifier
Interface SignalFeatureListener

All Superinterfaces:
edu.cmu.sphinx.util.props.Configurable, java.util.EventListener, edu.cmu.sphinx.instrumentation.Resetable
All Known Implementing Classes:
BaseData, EOTFeatureAggregator, EOTPredictor, EOTTrainer, PitchAndPowerDumper, ProsodyMonitor, TEDviewNotifier

public interface SignalFeatureListener
extends edu.cmu.sphinx.util.props.Configurable, java.util.EventListener, edu.cmu.sphinx.instrumentation.Resetable

The listener interface for being informed when new signal features are available


Method Summary
 void newSignalFeatures(int frame, double power, boolean voicing, double pitch)
          Method called when a new set of signal features is available
 
Methods inherited from interface edu.cmu.sphinx.util.props.Configurable
newProperties
 
Methods inherited from interface edu.cmu.sphinx.instrumentation.Resetable
reset
 

Method Detail

newSignalFeatures

void newSignalFeatures(int frame,
                       double power,
                       boolean voicing,
                       double pitch)
Method called when a new set of signal features is available

Parameters:
frame - the frame number for this result
power - average power per sample in the frame param rbcpower average power per sample after filtering the frame with a revised B-curve filter
voicing - whether this frame is voiced
pitch - pitch for this frame in cent relative to 100 Hz