tinghui feature extraction code