Stochastic numerical models of oscillatory phenomena