Class WavFileType

java.lang.Object
java.io.File
PamUtils.worker.filelist.WavFileType
All Implemented Interfaces:
Serializable, Comparable<File>

public class WavFileType extends File
See Also:
  • Property Details

    • useWavFile

      public javafx.beans.property.BooleanProperty useWavFileProperty
      The property for using wav files.
      See Also:
  • Constructor Details

    • WavFileType

      public WavFileType(File baseFile, AudioFormat audioInfo)
    • WavFileType

      public WavFileType(File baseFile)
      Create a wave file type and automatically generate the audio format information.
      Parameters:
      baseFile - - the sound file.
  • Method Details

    • getAudioInfo

      public AudioFormat getAudioInfo()
      Returns:
      the audioInfo
    • getDurationInSeconds

      public float getDurationInSeconds()
      Get the duration of the sound file in seconds
      Returns:
      the duration of the sound file in seconds.
    • setAudioInfo

      public void setAudioInfo(AudioFormat audioInfo)
      Parameters:
      audioInfo - the audioInfo to set
    • useWavFile

      public Boolean useWavFile()
      True to use the file in analysis
      Returns:
      true to use the file in analysis
    • useWavFileProperty

      public javafx.beans.property.BooleanProperty useWavFileProperty()
      The property for using wav files.
      Returns:
      the boolean property for using the wav file.