Synthesizing fundamental frequency using models automatically trained from data