added convertToComplexNumber in AudioMatching