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 |
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 resultpower
- average power per sample in the frame
param rbcpower average power per sample after filtering the frame with a revised B-curve filtervoicing
- whether this frame is voicedpitch
- pitch for this frame in cent relative to 100 Hz