Package ca.phon.media

Interface Sound


public interface Sound
  • Method Summary

    Modifier and Type
    Method
    Description
    float
     
    double[][]
    getWindowExtrema(float startTime, float endTime)
    Get min/max values for specified time range
    float
    Length of audio in seconds
    int
    Number of channels in audio file.
    float
     
  • Method Details

    • numberOfChannels

      int numberOfChannels()
      Number of channels in audio file.
      Returns:
      number of channels
    • startTime

      float startTime()
    • endTime

      float endTime()
    • length

      float length()
      Length of audio in seconds
      Returns:
    • getWindowExtrema

      double[][] getWindowExtrema(float startTime, float endTime)
      Get min/max values for specified time range
      Parameters:
      startTime -
      endTime -
      channel -
      Returns:
      min/max values for specified range