Effect of signal duration on detection for gated and for continuous noise.