Class SampledSoundRecorder

  • 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

    public class SampledSoundRecorder
    extends AbstractSoundRecorder
    Configures the com.github.fracpete.screencast4j.record.sound.SampledSoundRecorder sound recorder.

    -logging-level <OFF|SEVERE|WARNING|INFO|CONFIG|FINE|FINER|FINEST> (property: loggingLevel)
        The logging level for outputting errors and debugging output.
        default: WARNING
    -output <> (property: output)
        The file to store the recorded output in.
        default: ${TMP}/sound.wav
    -frequency <float> (property: frequency)
        The frequency to use.
        default: 44100.0
        minimum: 1.0
    FracPete (fracpete at waikato dot ac dot nz)
    See Also:
    Serialized Form
    • Constructor Detail

      • SampledSoundRecorder

        public SampledSoundRecorder()
    • Method Detail

      • globalInfo

        public String globalInfo()
        Returns a string describing the object.
        Specified by:
        globalInfo in interface adams.core.GlobalInfoSupporter
        Specified by:
        globalInfo in class adams.core.option.AbstractOptionHandler
        a description suitable for displaying in the gui
      • getDefaultOutput

        protected getDefaultOutput()
        Returns the default output file to use.
        Specified by:
        getDefaultOutput in class AbstractFileBaseRecorder
        the default
      • doConfigure

        protected com.github.fracpete.screencast4j.record.Recorder doConfigure()
        Returns a fully configured recorder instance.
        Specified by:
        doConfigure in class AbstractRecorder
        the new instance