Class HannWindow

java.lang.Object
qa.generator.window.HannWindow
All Implemented Interfaces:
SoundWindow
Direct Known Subclasses:
EndsWindow

public class HannWindow extends Object implements SoundWindow
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    runWindow(double[] wave, double soundSamples, double sampleRate, double sampleOffset)
    Run the window on a sound

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • HannWindow

      public HannWindow()
  • 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.