edu.cmu.sphinx.frontend.util
Class VUMeterMonitor
java.lang.Object
edu.cmu.sphinx.frontend.BaseDataProcessor
edu.cmu.sphinx.frontend.util.VUMeterMonitor
- All Implemented Interfaces:
- DataProcessor, Configurable
public class VUMeterMonitor
- extends BaseDataProcessor
A VU meter to be plugged into a front-end. Preferably this component should be plugged directly behind the
DataBlocker
in order to ensure that only equally sized blockes of meaningful length are used for RMS
computation.
Because vu-monitoring makes sense only for online speech processing the vu-meter will be visible only if data source
which preceeds it is a Microphone
.
- Author:
- Holger Brandl
Method Summary |
Data |
getData()
Returns the processed Data output. |
javax.swing.JDialog |
getVuMeterDialog()
|
static void |
main(java.lang.String[] args)
A little test-function which plugs a microphone directly into the vu-meter. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
VUMeterMonitor
public VUMeterMonitor()
getData
public Data getData()
throws DataProcessingException
- Description copied from class:
BaseDataProcessor
- Returns the processed Data output.
- Specified by:
getData
in interface DataProcessor
- Specified by:
getData
in class BaseDataProcessor
- Returns:
- an Data object that has been processed by this DataProcessor
- Throws:
DataProcessingException
- if a data processor error occurs
getVuMeterDialog
public javax.swing.JDialog getVuMeterDialog()
main
public static void main(java.lang.String[] args)
throws DataProcessingException
- A little test-function which plugs a microphone directly into the vu-meter.
- Throws:
DataProcessingException