Interface SUDNotificationHandler

All Superinterfaces:
org.pamguard.x3.sud.SudFileListener, org.pamguard.x3.sud.SudProgressListener
All Known Implementing Classes:
SudFileDWVHandler, SUDNotificationManager

public interface SUDNotificationHandler extends org.pamguard.x3.sud.SudFileListener, org.pamguard.x3.sud.SudProgressListener
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    chunkProcessed(int chunkId, org.pamguard.x3.sud.Chunk sudChunk)
     
    void
    interpretNewFile(String newFile, org.pamguard.x3.sud.SudAudioInputStream sudAudioStream)
    Notification that a new file or folder is selected.
    void
    newSudInputStream(org.pamguard.x3.sud.SudAudioInputStream sudAudioInputStream)
    A new SUD file input stream has been opened.
    void
    progress(double arg0, int arg1, int arg2)
     
    void
    SUD stream has closed.
  • Method Details

    • newSudInputStream

      void newSudInputStream(org.pamguard.x3.sud.SudAudioInputStream sudAudioInputStream)
      A new SUD file input stream has been opened.
      Parameters:
      sudAudioInputStream -
    • sudStreamClosed

      void sudStreamClosed()
      SUD stream has closed.
    • progress

      void progress(double arg0, int arg1, int arg2)
      Specified by:
      progress in interface org.pamguard.x3.sud.SudProgressListener
    • chunkProcessed

      void chunkProcessed(int chunkId, org.pamguard.x3.sud.Chunk sudChunk)
      Specified by:
      chunkProcessed in interface org.pamguard.x3.sud.SudFileListener
    • interpretNewFile

      void interpretNewFile(String newFile, org.pamguard.x3.sud.SudAudioInputStream sudAudioStream)
      Notification that a new file or folder is selected. This is called when a file or folder is selected in the dialog, NOT when acquisition starts, so is a good opportunity for the SUD Click Detector to work out channel maps and sample rates.
      Parameters:
      newFile -
      sudAudioStream -