Sautrela

edu.gtts.sautrela.sp
Class LiveEnergySegmentator

java.lang.Object
  extended by edu.gtts.sautrela.engine.AbstractDataProcessor
      extended by edu.gtts.sautrela.sp.LiveEnergySegmentator
All Implemented Interfaces:
DataProcessor, java.beans.BeanInfo, java.io.Serializable

public class LiveEnergySegmentator
extends AbstractDataProcessor

Author:
mpenagar
See Also:
Serialized Form

Field Summary
 
Fields inherited from interface java.beans.BeanInfo
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32
 
Constructor Summary
LiveEnergySegmentator()
          Creates a new instance of EnergySegmentator
 
Method Summary
 void editBeanInfo(java.beans.BeanInfo info)
           
 int getMaxValue()
          Getter for property maxValue.
 int getSilenceThreshold()
          Getter for property threshold.
 int getWindowSize()
          Getter for property windowSize.
 boolean isSegmentsStreamed()
          Getter for property segmentsStreamed.
static void main(java.lang.String[] args)
           
 void process(Buffer in, Buffer out)
          Processes the input Data.
 void setMaxValue(int maxValue)
          Setter for property maxValue.
 void setSegmentsStreamed(boolean segmentsStreamed)
          Setter for property segmentsStreamed.
 void setSilenceThreshold(int silenceThreshold)
          Setter for property threshold.
 void setWindowSize(int windowSize)
          Setter for property windowSize.
 
Methods inherited from class edu.gtts.sautrela.engine.AbstractDataProcessor
getAdditionalBeanInfo, getBeanDescriptor, getDefaultEventIndex, getDefaultPropertyIndex, getEventSetDescriptors, getIcon, getMethodDescriptors, getName, getPropertyDescriptors, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LiveEnergySegmentator

public LiveEnergySegmentator()
Creates a new instance of EnergySegmentator

Method Detail

getMaxValue

public int getMaxValue()
Getter for property maxValue.

Returns:
Value of property maxValue.

setMaxValue

public void setMaxValue(int maxValue)
Setter for property maxValue.

Parameters:
maxValue - New value of property maxValue.

getWindowSize

public int getWindowSize()
Getter for property windowSize.

Returns:
Value of property windowSize.

setWindowSize

public void setWindowSize(int windowSize)
Setter for property windowSize.

Parameters:
windowSize - New value of property windowSize.

getSilenceThreshold

public int getSilenceThreshold()
Getter for property threshold.

Returns:
Value of property threshold.

setSilenceThreshold

public void setSilenceThreshold(int silenceThreshold)
Setter for property threshold.

Parameters:
silenceThreshold - New value of property threshold.

process

public void process(Buffer in,
                    Buffer out)
             throws DataProcessorException
Processes the input Data.

Parameters:
in - Input Buffer
out - Output Buffer
Throws:
DataProcessorException

isSegmentsStreamed

public boolean isSegmentsStreamed()
Getter for property segmentsStreamed.

Returns:
Value of property segmentsStreamed.

setSegmentsStreamed

public void setSegmentsStreamed(boolean segmentsStreamed)
Setter for property segmentsStreamed.

Parameters:
segmentsStreamed - New value of property segmentsStreamed.

editBeanInfo

public void editBeanInfo(java.beans.BeanInfo info)
Overrides:
editBeanInfo in class AbstractDataProcessor

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Throws:
java.lang.Exception

Sautrela