This is the pitch labeling program. Please follow the steps to label the pitch.

1. Modify "go.m" to assign the directory of your recordings to the variable "waveDir". 
2. Execute "go" within MATLAB to generate a figure containing the waveform of the first file for pitch labeling.
3. Please maximize the waveform window for easy viewing.
4. You can click on the wrongly identified pitch to show a new figure of ACF and AMDF.
5. You can click on the right pitch point of ACF to correct the pitch in the waveform figure.
6. If there is no pitch at all, you can click outside the axis to make the pitch equal to 0 in the waveform figure.
7. If the volume is small, the pitch will be unstable. Moreover, there is no pitch for unvoiced sounds.
8. If it's hard to identify the pitch point, please make sure your pitch point should generate a continuous curve in the original figure.
9. Computer detected pitch is pitch1, human labeled pitch is pitch2. Before your labeling, pitch2 is equal to pitch1.
10. You can click "Play wave" to play the original recording.
11. You can click "Play pitch" to play the pitch detected by computer.
12. You can click "Play pitch2" to play the pitch labeled by human. The human-labeled pitch contour should be smooth.
13. When you finish labeling a file, press "enter" to save human-labeled pitch and move to the next file.

If you want to label a single file, try "pitchLabel.m".

Pitch labeling requires practice and experiences. If the pitch is not labeled correctly, it will cause problems in performance evaluation for pitch tracking and melody recognition. So make sure you understand what you are doing for every single detail. If you have any questions, please contact with TA as soon as you can.

The following is Chinese translation:

HuХܭ{AΪkpUC

1. ק go.mAN waveDir AeɮשҦbؿC 
2.  goAYiͤ@ӵAĤ@ wave ɮ׶iХ pitch u@C
3. бN̤jAHK[BIC
4. AiHIjϿ~IAɷ|ͤpϡA AMDF M ACFC
5. YbpϪ ACF I̤jȪm]򥻶g^AjϪI|ۭץC
6. YsbAЪbpϪ϶b~I@UAjϪȴN|Q]wsC
7. qӤpɡAq`N|íwAάOڥsbCJ𭵮ɡA]OsbC
8. YeݥXIAаѦҥkءAⴤ@ӭhGuOs򥭷ƪuC
9. pitch1 OqѪGApitch2 OHuХܪGA|iHuХܫeApitch2 = pitch1C
10. AiHI Play wave HlɮסC
11. AiHI Play pitch Hq۰ʧ쪺uC
12. AiHI Play pitch2 Hץ᪺uAӦɭC
13. CХܧ@qAU EnterAY۰xs̫HuХܪ pitch ɮסAåiU@C

Ynճ@qХܡAiH pitchLabel.mC

Хܭݭn@ǸgMmߡAYХܤTA|y\hդήեDAҥH·ЦUPǰȥnp߶iC
]YðݡAкɧ֪MUЩάOѮvpôC