A dynamical system model for generating F0 for synthesis