Package qa.generator.window
Class RectWindow
java.lang.Object
qa.generator.window.RectWindow
- All Implemented Interfaces:
SoundWindow
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
runWindow
(double[] wave, double soundSamples, double sampleRate, double sampleOffset) Run the window on a sound
-
Constructor Details
-
RectWindow
public RectWindow()
-
-
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 interfaceSoundWindow
- Parameters:
wave
- sound to windowsoundSamples
- 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.
-