Class ExponentialWindow

java.lang.Object
qa.generator.window.ExponentialWindow
All Implemented Interfaces:
SoundWindow

public class ExponentialWindow extends Object implements SoundWindow
  • Constructor Details

    • ExponentialWindow

      public ExponentialWindow(double decaySeconds)
  • Method Details

    • runWindow

      public void runWindow(double[] wave, double soundSamples, double sampleRate, double sampleOffset)
      Description copied from interface: SoundWindow
      Run the window on a sound
      Specified by:
      runWindow in interface SoundWindow
      Parameters:
      wave - sound to window
      soundSamples - true number of samples in the sound - may be non integer.
      sampleOffset - Offset of first sample - the time the wave actually stated so the window can be put at exactly the right start time relative to the true waveform.