A novel system for F0 analysis and prediction