Package qa.generator.window
Interface SoundWindow
- All Known Implementing Classes:
 EndsWindow,ExponentialWindow,HannWindow,RaisedSinWindow,RectWindow
public interface SoundWindow
Window function for sounds, always operate in place on a waveform
- Author:
 - dg50
 
- 
Method Summary
Modifier and TypeMethodDescriptionvoidrunWindow(double[] wave, double soundSamples, double sampleRate, double sampleOffset) Run the window on a sound 
- 
Method Details
- 
runWindow
void runWindow(double[] wave, double soundSamples, double sampleRate, double sampleOffset) Run the window on a sound- 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.
 
 -