Class AbstractSoundRecorder

  • All Implemented Interfaces:
    adams.core.Destroyable, adams.core.GlobalInfoSupporter, adams.core.logging.LoggingLevelHandler, adams.core.logging.LoggingSupporter, adams.core.option.OptionHandler, adams.core.SizeOfHandler, Serializable
    Direct Known Subclasses:
    SampledSoundRecorder

    public abstract class AbstractSoundRecorder
    extends AbstractFileBaseRecorder
    Ancestor for sound recorders.
    Version:
    $Revision$
    Author:
    FracPete (fracpete at waikato dot ac dot nz)
    See Also:
    Serialized Form
    • Field Detail

      • m_Frequency

        protected float m_Frequency
        the frequency to use.
    • Constructor Detail

      • AbstractSoundRecorder

        public AbstractSoundRecorder()
    • Method Detail

      • defineOptions

        public void defineOptions()
        Adds options to the internal list of options.
        Specified by:
        defineOptions in interface adams.core.option.OptionHandler
        Overrides:
        defineOptions in class AbstractFileBaseRecorder
      • setFrequency

        public void setFrequency​(float value)
        Sets the frequency.
        Parameters:
        value - the frequency
      • getFrequency

        public float getFrequency()
        Returns the frequency.
        Returns:
        the frequency
      • frequencyTipText

        public String frequencyTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.