modulation with millis

but by changing the digital by analog don´t work..

Trust me, it does.
Yes, I'd use an array, or a trig function to set the level, depending on how much spare processing time I had.