A Human-Computer Duet System for Music Performance