Make F0 vary with time to simulate muscle fatigue

This is a duplicate question and is answered over here.