In this paper, the comb filtering output (CFO) is used to carry out voiced/unvoiced classification along with pitch detection. The usefulness of the CFO consists not only in its measure of periodicity but also in its indication of the pitch period. Given that the voicing detection is achieved by the HMM-based methods using the selected acoustic features as input, the error rate can be brought down to 0.52% in a less rigorous sense. Following the voicing determination, the pitch contour along consecutive voiced frames can be attained using the Viterbi search with the pitch candidates obtained from CFO. The Viterbi search renders a smooth pitch contour that is very appropriate for speech synthesis.