Smoothing periods?

What do the smoothing periods in the stochastic momentum index mean? How does it affect the oscillator?