Class SpermWhaleGenerator


public class SpermWhaleGenerator extends StandardSoundGenerator
  • Constructor Details

    • SpermWhaleGenerator

      public SpermWhaleGenerator(String name)
  • Method Details

    • generateSound

      public QASound generateSound(long sourceSample, double sampleRate, double[] delays, double[] amplitudes)
      Description copied from class: QASoundGenerator
      Generate a sound
      Overrides:
      generateSound in class StandardSoundGenerator
      Parameters:
      sourceSample - the sample number at which the source was generated
      sampleRate - sample rate of data to receive the sound
      delays - delays in samples from generation of the sound to it's reception on each hydrophone
      amplitudes - amplitudes on a linear scale (notDB) which incorporates the system full scale and the spreading loss but doesn't yet contain frequency dependent attenuation.
      Returns:
      a generated sound.