protected WindowBase(double duration, int sampleRate) : this((int)duration * sampleRate, sampleRate) { }